Skip to content
Snippets Groups Projects
Commit eff42297 authored by Yurii Pelykh [EPAM / GCP]'s avatar Yurii Pelykh [EPAM / GCP]
Browse files

GONRG-6470: Update requests according to vpa

parent e8a23c6b
No related branches found
No related tags found
1 merge request!485GONRG-6470: Update requests according to vpa
Pipeline #166694 failed
...@@ -46,8 +46,8 @@ First you need to set variables in **values.yaml** file using any code editor. S ...@@ -46,8 +46,8 @@ First you need to set variables in **values.yaml** file using any code editor. S
| Name | Description | Type | Default |Required | | Name | Description | Type | Default |Required |
|------|-------------|------|---------|---------| |------|-------------|------|---------|---------|
**data.requestsCpu** | amount of requested CPU | string | 0.1 | yes **data.requestsCpu** | amount of requested CPU | string | 480m | yes
**data.requestsMemory** | amount of requested memory| string | 640M | yes **data.requestsMemory** | amount of requested memory| string | 700Mi | yes
**data.limitsCpu** | CPU limit | string | 1 | yes **data.limitsCpu** | CPU limit | string | 1 | yes
**data.limitsMemory** | memory limit | string | 1G | yes **data.limitsMemory** | memory limit | string | 1G | yes
**data.image** | service image | string | - | yes **data.image** | service image | string | - | yes
...@@ -72,9 +72,9 @@ First you need to set variables in **values.yaml** file using any code editor. S ...@@ -72,9 +72,9 @@ First you need to set variables in **values.yaml** file using any code editor. S
| Name | Description | Type | Default |Required | | Name | Description | Type | Default |Required |
|------|-------------|------|---------|---------| |------|-------------|------|---------|---------|
**istio.proxyCPU** | CPU request for Envoy sidecars | string | 50m | yes **istio.proxyCPU** | CPU request for Envoy sidecars | string | 130m | yes
**istio.proxyCPULimit** | CPU limit for Envoy sidecars | string | 500m | 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 **istio.proxyMemoryLimit** | memory limit for Envoy sidecars | string | 512Mi | yes
### Install the helm chart ### Install the helm chart
......
...@@ -14,7 +14,8 @@ spec: ...@@ -14,7 +14,8 @@ spec:
labels: labels:
app: {{ printf "redis-%s" .Values.conf.appName | quote }} app: {{ printf "redis-%s" .Values.conf.appName | quote }}
annotations: annotations:
sidecar.istio.io/proxyCPU: 30m sidecar.istio.io/proxyCPU: 50m
sidecar.istio.io/proxyMemory: 100Mi
spec: spec:
containers: containers:
- args: - args:
...@@ -31,5 +32,6 @@ spec: ...@@ -31,5 +32,6 @@ spec:
protocol: TCP protocol: TCP
resources: resources:
requests: requests:
memory: 100Mi cpu: 30m
memory: 50Mi
{{ end }} {{ end }}
...@@ -13,8 +13,8 @@ data: ...@@ -13,8 +13,8 @@ data:
springProfilesActive: "gcp" springProfilesActive: "gcp"
storageHost: "http://storage" storageHost: "http://storage"
# Deployment # Deployment
requestsCpu: "75m" requestsCpu: "480m"
requestsMemory: "640M" requestsMemory: "700Mi"
limitsCpu: "1" limitsCpu: "1"
limitsMemory: "1G" limitsMemory: "1G"
image: "" image: ""
...@@ -36,7 +36,7 @@ conf: ...@@ -36,7 +36,7 @@ conf:
indexerRedisSecretName: "indexer-redis-secret" indexerRedisSecretName: "indexer-redis-secret"
istio: istio:
proxyCPU: "25m" proxyCPU: "130m"
proxyCPULimit: "200m" proxyCPULimit: "200m"
proxyMemory: "64Mi" proxyMemory: "100Mi"
proxyMemoryLimit: "256Mi" proxyMemoryLimit: "256Mi"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment