[OOM] Fixing k8s cpu limits
[oom.git] / kubernetes / aai / components / aai-sparky-be / values.yaml
index 8ec4553..8cfd2c6 100644 (file)
@@ -95,6 +95,12 @@ ingress:
   config:
     ssl: "redirect"
 
+serviceMesh:
+  authorizationPolicy:
+    authorizedPrincipals:
+      - serviceAccount: istio-ingress
+        namespace: istio-ingress
+
 podAnnotations:
   sidecar.istio.io/rewriteAppHTTPProbers: "false"
 
@@ -103,14 +109,14 @@ podAnnotations:
 resources:
   small:
     limits:
-      cpu: 2
+      cpu: 0.5
       memory: 4Gi
     requests:
       cpu: 0.25
       memory: 1Gi
   large:
     limits:
-      cpu: 4
+      cpu: 1
       memory: 8Gi
     requests:
       cpu: 0.5