From a5622b9439ef0673039eae5bbd9b83a591c49faf Mon Sep 17 00:00:00 2001 From: naison <895703375@qq.com> Date: Sun, 23 Mar 2025 12:40:14 +0800 Subject: [PATCH] chore: update sample bookinfo resource (#486) --- samples/bookinfo.yaml | 48 +++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/samples/bookinfo.yaml b/samples/bookinfo.yaml index 4c84ad84..8e43047c 100644 --- a/samples/bookinfo.yaml +++ b/samples/bookinfo.yaml @@ -47,11 +47,11 @@ spec: runAsUser: 1000 resources: requests: - cpu: "25m" - memory: "32Mi" - limits: - cpu: "50m" + cpu: "200m" memory: "128Mi" + limits: + cpu: "500m" + memory: "256Mi" --- # Ratings service @@ -103,11 +103,11 @@ spec: runAsUser: 1000 resources: requests: - cpu: "25m" - memory: "32Mi" - limits: - cpu: "50m" + cpu: "200m" memory: "128Mi" + limits: + cpu: "500m" + memory: "256Mi" --- # Reviews service apiVersion: v1 @@ -166,11 +166,11 @@ spec: runAsUser: 1000 resources: requests: - cpu: "25m" - memory: "32Mi" - limits: - cpu: "50m" + cpu: "200m" memory: "128Mi" + limits: + cpu: "500m" + memory: "256Mi" volumes: - name: wlp-output emptyDir: { } @@ -229,11 +229,11 @@ spec: runAsUser: 1000 resources: requests: - cpu: "25m" - memory: "32Mi" - limits: - cpu: "50m" + cpu: "200m" memory: "128Mi" + limits: + cpu: "500m" + memory: "256Mi" volumes: - name: tmp emptyDir: { } @@ -282,11 +282,11 @@ spec: periodSeconds: 10 resources: requests: - cpu: "25m" - memory: "32Mi" - limits: - cpu: "50m" + cpu: "200m" memory: "128Mi" + limits: + cpu: "500m" + memory: "256Mi" - name: nginx image: ghcr.io/kubenetworks/nginx:latest imagePullPolicy: IfNotPresent @@ -294,8 +294,8 @@ spec: - containerPort: 80 resources: requests: - cpu: "25m" - memory: "32Mi" + cpu: "200m" + memory: "128Mi" limits: - cpu: "50m" - memory: "128Mi" \ No newline at end of file + cpu: "500m" + memory: "256Mi" \ No newline at end of file