[OOM] Fixing k8s resources and limits
This fix is adjusting OOM helm charts components resources limits and requests
Issue-ID: OOM-3199
Signed-off-by: Vladimir Turok <vladimir.turok@t-systems.com>
Change-Id: I56aeba925cda4984277ac7bbf23cfd158263d30f
diff --git a/kubernetes/cds/components/cds-py-executor/values.yaml b/kubernetes/cds/components/cds-py-executor/values.yaml
index 9e556ee..7d2f1bd 100755
--- a/kubernetes/cds/components/cds-py-executor/values.yaml
+++ b/kubernetes/cds/components/cds-py-executor/values.yaml
@@ -97,18 +97,18 @@
resources:
small:
limits:
- cpu: 2
- memory: 4Gi
+ cpu: 999
+ memory: 0.2Gi
requests:
- cpu: 1
- memory: 1Gi
+ cpu: 0.5
+ memory: 0.2Gi
large:
limits:
- cpu: 4
- memory: 8Gi
+ cpu: 999
+ memory: 0.4Gi
requests:
- cpu: 2
- memory: 4Gi
+ cpu: 1
+ memory: 0.4Gi
unlimited: {}
#Pods Service Account