From: MatthieuGeerebaert Date: Mon, 8 Oct 2018 12:02:08 +0000 (+0200) Subject: Container restart loop X-Git-Tag: 3.0.0-ONAP~178^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=89e3dc8a79f009998d843e07678ed3d0be3463f8;p=oom.git Container restart loop 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 --- diff --git a/kubernetes/nbi/values.yaml b/kubernetes/nbi/values.yaml index f904b4cece..3590d8cbd0 100644 --- a/kubernetes/nbi/values.yaml +++ b/kubernetes/nbi/values.yaml @@ -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