diff --git a/devops/gc/deploy/README.md b/devops/gc/deploy/README.md index ad23470a10ad3cc009365b64d670cdbdeb44a6b0..95bbd43e4112c6da2bed114873827149f1a3b6db 100644 --- a/devops/gc/deploy/README.md +++ b/devops/gc/deploy/README.md @@ -43,8 +43,8 @@ First you need to set variables in **values.yaml** file using any code editor. S | Name | Description | Type | Default |Required | |------|-------------|------|---------|---------| -**data.requestsCpu** | amount of requested CPU | string | `0.1` | yes -**data.requestsMemory** | amount of requested memory| string | `256M` | yes +**data.requestsCpu** | amount of requested CPU | string | `580m` | yes +**data.requestsMemory** | amount of requested memory| string | `1.05G` | yes **data.limitsCpu** | CPU limit | string | `1` | yes **data.limitsMemory** | memory limit | string | `1.5G` | yes **data.serviceAccountName** | name of your service account | string | `notification` | yes @@ -69,9 +69,9 @@ First you need to set variables in **values.yaml** file using any code editor. S | Name | Description | Type | Default |Required | |------|-------------|------|---------|---------| -**istio.proxyCPU** | CPU request for Envoy sidecars | string | `50m` | yes +**istio.proxyCPU** | CPU request for Envoy sidecars | string | `310m` | yes **istio.proxyCPULimit** | CPU limit for Envoy sidecars | string | `500m` | yes -**istio.proxyMemory** | memory request for Envoy sidecars | string | `64Mi` | yes +**istio.proxyMemory** | memory request for Envoy sidecars | string | `100Mi` | yes **istio.proxyMemoryLimit** | memory limit for Envoy sidecars | string | `512Mi` | yes ### Install the helm chart diff --git a/devops/gc/deploy/templates/deploy-redis.yaml b/devops/gc/deploy/templates/deploy-redis.yaml index 47d2d2ca839c4c56d3cae7c314bc0758c907e60e..de4905ae235875e755efcd008c83d0361accf817 100644 --- a/devops/gc/deploy/templates/deploy-redis.yaml +++ b/devops/gc/deploy/templates/deploy-redis.yaml @@ -14,7 +14,8 @@ spec: labels: app: {{ printf "redis-%s" .Values.conf.appName | quote }} annotations: - sidecar.istio.io/proxyCPU: 30m + sidecar.istio.io/proxyCPU: 10m + sidecar.istio.io/proxyMemory: 100Mi spec: containers: - args: @@ -31,5 +32,6 @@ spec: protocol: TCP resources: requests: - memory: 100Mi + cpu: 10m + memory: 50Mi {{ end }} diff --git a/devops/gc/deploy/values.yaml b/devops/gc/deploy/values.yaml index 7a870efb66be9fa815e0f0c988980abe55e31dd3..f4bd467c1e13c8c1c238ff9116475f1061908b77 100644 --- a/devops/gc/deploy/values.yaml +++ b/devops/gc/deploy/values.yaml @@ -10,8 +10,8 @@ data: redisNotificationPort: 6379 redisImage: "docker.io/library/redis:7" #Deployments - requestsCpu: "0.1" - requestsMemory: "256M" + requestsCpu: "580m" + requestsMemory: "1.05G" limitsCpu: "1" limitsMemory: "1.5G" serviceAccountName: "notification" @@ -29,7 +29,7 @@ conf: redisSSL: false istio: - proxyCPU: "50m" + proxyCPU: "310m" proxyCPULimit: "500m" - proxyMemory: "64Mi" + proxyMemory: "100Mi" proxyMemoryLimit: "512Mi"