diff options
author | MatthieuGeerebaert <matthieu.geerebaert@orange.com> | 2018-10-08 14:02:08 +0200 |
---|---|---|
committer | MatthieuGeerebaert <matthieu.geerebaert@orange.com> | 2018-10-08 14:02:08 +0200 |
commit | 89e3dc8a79f009998d843e07678ed3d0be3463f8 (patch) | |
tree | 1f2f674660551faeb2a7ab048a0c9d2adec54f6d /kubernetes | |
parent | b1cc7ae3d635d0d54bb57928dbf85398fa414196 (diff) |
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 <matthieu.geerebaert@orange.com>
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/nbi/values.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
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 |