[OOM] Fixing k8s resources and limits
[oom.git] / kubernetes / msb / components / msb-consul / values.yaml
index 1c7fa38..bc200ea 100644 (file)
@@ -57,7 +57,7 @@ service:
 ingress:
   enabled: false
   service:
-    - baseaddr: "msbconsul"
+    - baseaddr: "msb-consul-api"
       name: "msb-consul"
       port: 8500
   config:
@@ -69,21 +69,27 @@ flavor: small
 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:
   fsGroup: 1000
   runAsUser: 100
   runAsGroup: 1000
+
+#Pods Service Account
+serviceAccount:
+  nameOverride: msb-consul
+  roles:
+    - read