[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/msb/components/kube2msb/values.yaml b/kubernetes/msb/components/kube2msb/values.yaml
index d2a0a15..50a09b1 100644
--- a/kubernetes/msb/components/kube2msb/values.yaml
+++ b/kubernetes/msb/components/kube2msb/values.yaml
@@ -55,15 +55,15 @@
resources:
small:
limits:
- cpu: 1
- memory: 1Gi
+ cpu: 999
+ memory: 0.5Gi
requests:
- cpu: 500m
- memory: 500Mi
+ cpu: 0.5
+ memory: 0.5Gi
large:
limits:
- cpu: 2
- memory: 2Gi
+ cpu: 999
+ memory: 1Gi
requests:
cpu: 1
memory: 1Gi
diff --git a/kubernetes/msb/components/msb-consul/values.yaml b/kubernetes/msb/components/msb-consul/values.yaml
index 01f2466..bc200ea 100644
--- a/kubernetes/msb/components/msb-consul/values.yaml
+++ b/kubernetes/msb/components/msb-consul/values.yaml
@@ -69,18 +69,18 @@
resources:
small:
limits:
- cpu: 20m
- memory: 100Mi
+ cpu: 999
+ memory: 0.5Gi
requests:
- cpu: 10m
- memory: 50Mi
+ cpu: 0.5
+ memory: 0.5Gi
large:
limits:
- cpu: 40m
- memory: 200Mi
+ cpu: 999
+ memory: 1Gi
requests:
- cpu: 20m
- memory: 100Mi
+ cpu: 1
+ memory: 1Gi
unlimited: {}
securityContext:
diff --git a/kubernetes/msb/components/msb-discovery/values.yaml b/kubernetes/msb/components/msb-discovery/values.yaml
index 678dde7..a6a32bb 100644
--- a/kubernetes/msb/components/msb-discovery/values.yaml
+++ b/kubernetes/msb/components/msb-discovery/values.yaml
@@ -69,18 +69,18 @@
resources:
small:
limits:
- cpu: 400m
- memory: 400Mi
+ cpu: 999
+ memory: 0.5Gi
requests:
- cpu: 200m
- memory: 200Mi
+ cpu: 0.5
+ memory: 0.5Gi
large:
limits:
- cpu: 800m
- memory: 800Mi
+ cpu: 999
+ memory: 1Gi
requests:
- cpu: 400m
- memory: 400Mi
+ cpu: 1
+ memory: 1Gi
unlimited: {}
#Pods Service Account
diff --git a/kubernetes/msb/components/msb-eag/values.yaml b/kubernetes/msb/components/msb-eag/values.yaml
index 0a91363..836673f 100644
--- a/kubernetes/msb/components/msb-eag/values.yaml
+++ b/kubernetes/msb/components/msb-eag/values.yaml
@@ -110,18 +110,18 @@
resources:
small:
limits:
- cpu: 200m
- memory: 500Mi
+ cpu: 999
+ memory: 0.5Gi
requests:
- cpu: 100m
- memory: 200Mi
+ cpu: 0.5
+ memory: 0.5Gi
large:
limits:
- cpu: 400m
- memory: 800Mi
+ cpu: 999
+ memory: 1Gi
requests:
- cpu: 200m
- memory: 400Mi
+ cpu: 1
+ memory: 1Gi
unlimited: {}
#Pods Service Account
diff --git a/kubernetes/msb/components/msb-iag/values.yaml b/kubernetes/msb/components/msb-iag/values.yaml
index c53dcca..004a1a7 100644
--- a/kubernetes/msb/components/msb-iag/values.yaml
+++ b/kubernetes/msb/components/msb-iag/values.yaml
@@ -110,18 +110,18 @@
resources:
small:
limits:
- cpu: 100m
- memory: 400Mi
+ cpu: 999
+ memory: 0.5Gi
requests:
- cpu: 50m
- memory: 200Mi
+ cpu: 0.5
+ memory: 0.5Gi
large:
limits:
- cpu: 200m
- memory: 800Mi
+ cpu: 999
+ memory: 1Gi
requests:
- cpu: 100m
- memory: 400Mi
+ cpu: 1
+ memory: 1Gi
unlimited: {}
#Pods Service Account