Container restart loop 83/69983/1
authorMatthieuGeerebaert <matthieu.geerebaert@orange.com>
Mon, 8 Oct 2018 12:02:08 +0000 (14:02 +0200)
committerMatthieuGeerebaert <matthieu.geerebaert@orange.com>
Mon, 8 Oct 2018 12:02:08 +0000 (14:02 +0200)
The container restarts in a loop before being considered as living on slow labs.
Modified liveness and readiness probe, initial delay to 180

Change-Id: I499cb2ef85aa26dc054ad1b2e5b7ac8034ada7db
Issue-ID: EXTAPI-122
Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
kubernetes/nbi/values.yaml

index f904b4c..3590d8c 100644 (file)
@@ -87,8 +87,8 @@ liveness:
   httpGet:
     path: /nbi/api/v3/status
     port: 8080
-  initialDelaySeconds: 120
-  periodSeconds: 20
+  initialDelaySeconds: 180
+  periodSeconds: 30
   # necessary to disable liveness probe when setting breakpoints
   # in debugger so K8s doesn't restart unresponsive container
   enabled: true
@@ -97,8 +97,8 @@ readiness:
   httpGet:
     path: /nbi/api/v3/status
     port: 8080
-  initialDelaySeconds: 125
-  periodSeconds: 20
+  initialDelaySeconds: 185
+  periodSeconds: 30
 
 service:
   type: NodePort