[OOM] Fixing k8s resources and limits
[oom.git] / kubernetes / holmes / components / holmes-rule-mgmt / values.yaml
index bc6639f..a6a0bd0 100644 (file)
@@ -94,7 +94,7 @@ ingress:
       path: "/api/holmes-rule-mgmt/v1"
       plain_port: 9101
     - baseaddr: "holmes-rule-mgmt-ui"
-      name: "holmes-rule-mgmt-ui"
+      name: "holmes-rule-mgmt"
       path: "/iui/holmes"
       plain_port: 9104
   config:
@@ -120,24 +120,26 @@ readiness:
 resources:
   small:
     limits:
-      cpu: 250m
-      memory: 1024Mi
+      cpu: 999
+      memory: 1Gi
     requests:
-      cpu: 250m
-      memory: 256Mi
+      cpu: 0.5
+      memory: 1Gi
   large:
     limits:
-      cpu: 500m
+      cpu: 999
       memory: 2Gi
     requests:
-      cpu: 500m
-      memory: 512Mi
+      cpu: 1
+      memory: 1Gi
   unlimited: {}
 
 readinessCheck:
-  wait_for:
+  wait_for_global:
     jobs:
       - '{{ include "common.release" . }}-holmes-postgres-init-config-job'
+  wait_for_local:
+    - '{{ .Values.global.postgres.container.name }}'
 
 #Pods Service Account
 serviceAccount: