summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-10-05 14:36:57 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-05 14:36:57 +0000
commit797f684ef7088d7e445c6555c26af4e5340b305b (patch)
treea8668fb7c09428cf5f4e297373b9466d35e305a0
parentf4c3cfe8598883002e9998766446e23b21ae16a5 (diff)
parenta3adffdb510995712004f1dc89598dd2f506db14 (diff)
Merge "Container restart loop"
-rw-r--r--kubernetes/nbi/values.yaml14
1 files changed, 10 insertions, 4 deletions
diff --git a/kubernetes/nbi/values.yaml b/kubernetes/nbi/values.yaml
index 703398d71e..f904b4cece 100644
--- a/kubernetes/nbi/values.yaml
+++ b/kubernetes/nbi/values.yaml
@@ -84,15 +84,21 @@ affinity: {}
# probe configuration parameters
liveness:
+ httpGet:
+ path: /nbi/api/v3/status
+ port: 8080
initialDelaySeconds: 120
- periodSeconds: 10
+ periodSeconds: 20
# necessary to disable liveness probe when setting breakpoints
# in debugger so K8s doesn't restart unresponsive container
enabled: true
readiness:
- initialDelaySeconds: 10
- periodSeconds: 10
+ httpGet:
+ path: /nbi/api/v3/status
+ port: 8080
+ initialDelaySeconds: 125
+ periodSeconds: 20
service:
type: NodePort
@@ -121,4 +127,4 @@ resources:
requests:
cpu: 200m
memory: 2Gi
- unlimited: {} \ No newline at end of file
+ unlimited: {}