aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/nbi
diff options
context:
space:
mode:
authorMatthieuGeerebaert <matthieu.geerebaert@orange.com>2018-10-08 14:02:08 +0200
committerMatthieuGeerebaert <matthieu.geerebaert@orange.com>2018-10-08 14:02:08 +0200
commit89e3dc8a79f009998d843e07678ed3d0be3463f8 (patch)
tree1f2f674660551faeb2a7ab048a0c9d2adec54f6d /kubernetes/nbi
parentb1cc7ae3d635d0d54bb57928dbf85398fa414196 (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/nbi')
-rw-r--r--kubernetes/nbi/values.yaml8
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