Merge "Container restart loop"
authorAlexis de Talhouët <alexis.de_talhouet@bell.ca>
Fri, 5 Oct 2018 14:36:57 +0000 (14:36 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 5 Oct 2018 14:36:57 +0000 (14:36 +0000)
kubernetes/nbi/values.yaml

index 703398d..f904b4c 100644 (file)
@@ -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: {}