fixing vid startup issue after resource limit 35/68335/1
authorMandeep Khinda <mandeep.khinda@amdocs.com>
Fri, 21 Sep 2018 03:59:17 +0000 (03:59 +0000)
committerMandeep Khinda <mandeep.khinda@amdocs.com>
Fri, 21 Sep 2018 04:01:16 +0000 (04:01 +0000)
The resource allocation is sufficient, however the pod
takes longer to start and was being killed by the liveness probe.

Increased probe delay to 2min and cpu core resources

Issue-ID: OOM-1167

Change-Id: Ic2cdf2bd4a275d6f23ccaa7b8938ad6e1c1b5a4a
Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
kubernetes/vid/values.yaml

index 1c85af8..4b0f38c 100644 (file)
@@ -66,7 +66,7 @@ affinity: {}
 
 # probe configuration parameters
 liveness:
-  initialDelaySeconds: 10
+  initialDelaySeconds: 120
   periodSeconds: 10
   # necessary to disable liveness probe when setting breakpoints
   # in debugger so K8s doesn't restart unresponsive container
@@ -97,15 +97,15 @@ flavor: small
 resources:
   small:
     limits:
-      cpu: 20m
+      cpu: 200m
       memory: 2Gi
     requests:
-      cpu: 10m
+      cpu: 100m
       memory: 1Gi
   large:
     limits:
-      cpu: 40m
+      cpu: 400m
       memory: 4Gi
     requests:
-      cpu: 20
+      cpu: 200m
       memory: 2Gi
\ No newline at end of file