[OOM] Fixing k8s resources and limits
[oom.git] / kubernetes / sdc / components / sdc-wfd-be / values.yaml
index b6735a4..f3c8839 100644 (file)
@@ -116,23 +116,31 @@ ingress:
   config:
     ssl: "redirect"
 
+serviceMesh:
+  authorizationPolicy:
+    authorizedPrincipals:
+      - serviceAccount: sdc-wfd-fe-read
+      - serviceAccount: so-sdc-controller-read
+      - serviceAccount: istio-ingress
+        namespace: istio-ingress
+
 # Resource Limit flavor -By Default using small
 # Segregation for Different environment (Small and Large)
 flavor: small
 resources:
   small:
     limits:
-      cpu: 500m
-      memory: 2Gi
+      cpu: 999
+      memory: 1Gi
     requests:
-      cpu: 40m
+      cpu: 0.5
       memory: 1Gi
   large:
     limits:
-      cpu: 1
-      memory: 4Gi
+      cpu: 999
+      memory: 2Gi
     requests:
-      cpu: 80m
+      cpu: 1
       memory: 2Gi
   unlimited: {}