summaryrefslogtreecommitdiffstats
path: root/helm
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2023-07-11 09:49:01 +0100
committerFrancesco Fiora <francesco.fiora@est.tech>2023-07-14 08:52:29 +0000
commitb860fd6d80ae11ff6dbf17f077b78303a6f4f969 (patch)
tree86282924504db03aaf3b4fdd20e6d190c6353e2d /helm
parenta9e3d48571d7d3c958ac981c6eda60ed3b951279 (diff)
Update the liveness/readiness timeout in Docker helm charts
Issue-ID: POLICY-4763 Change-Id: Idefc3f4f282d98fd17de4d2def739f5115b90802 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'helm')
-rw-r--r--helm/policy/components/policy-api/values.yaml9
-rw-r--r--helm/policy/components/policy-clamp-ac-http-ppnt/values.yaml6
-rw-r--r--helm/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml6
-rw-r--r--helm/policy/components/policy-clamp-ac-pf-ppnt/values.yaml6
-rw-r--r--helm/policy/components/policy-clamp-runtime-acm/values.yaml10
-rwxr-xr-xhelm/policy/components/policy-pap/values.yaml9
6 files changed, 28 insertions, 18 deletions
diff --git a/helm/policy/components/policy-api/values.yaml b/helm/policy/components/policy-api/values.yaml
index 15a33e10..a05a09e6 100644
--- a/helm/policy/components/policy-api/values.yaml
+++ b/helm/policy/components/policy-api/values.yaml
@@ -54,19 +54,20 @@ affinity: {}
# probe configuration parameters
liveness:
- initialDelaySeconds: 60
+ initialDelaySeconds: 120
periodSeconds: 10
+ failureThreshold: 10
# necessary to disable liveness probe when setting breakpoints
# in debugger so K8s doesn't restart unresponsive container
enabled: true
port: http
readiness:
- initialDelaySeconds: 10
- periodSeconds: 120
+ initialDelaySeconds: 120
+ periodSeconds: 10
api: /policy/api/v1/healthcheck
successThreshold: 1
- failureThreshold: 3
+ failureThreshold: 10
timeout: 60
port: http
diff --git a/helm/policy/components/policy-clamp-ac-http-ppnt/values.yaml b/helm/policy/components/policy-clamp-ac-http-ppnt/values.yaml
index 7ad75d01..87ca885d 100644
--- a/helm/policy/components/policy-clamp-ac-http-ppnt/values.yaml
+++ b/helm/policy/components/policy-clamp-ac-http-ppnt/values.yaml
@@ -49,16 +49,18 @@ ingress:
# probe configuration parameters
liveness:
- initialDelaySeconds: 20
+ initialDelaySeconds: 50
periodSeconds: 10
+ failureThreshold: 10
# necessary to disable liveness probe when setting breakpoints
# in debugger so K8s doesn't restart unresponsive container
enabled: true
port: http-api
readiness:
- initialDelaySeconds: 20
+ initialDelaySeconds: 50
periodSeconds: 10
+ failureThreshold: 10
port: http-api
service:
diff --git a/helm/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml b/helm/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml
index 84ac7b33..d6d4a034 100644
--- a/helm/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml
+++ b/helm/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml
@@ -38,16 +38,18 @@ nodeSelector: {}
affinity: {}
# probe configuration parameters
liveness:
- initialDelaySeconds: 20
+ initialDelaySeconds: 50
periodSeconds: 10
+ failureThreshold: 10
# necessary to disable liveness probe when setting breakpoints
# in debugger so K8s doesn't restart unresponsive container
enabled: true
port: http-api
readiness:
- initialDelaySeconds: 20
+ initialDelaySeconds: 50
periodSeconds: 10
+ failureThreshold: 10
port: http-api
service:
diff --git a/helm/policy/components/policy-clamp-ac-pf-ppnt/values.yaml b/helm/policy/components/policy-clamp-ac-pf-ppnt/values.yaml
index 59c1388f..37f5244c 100644
--- a/helm/policy/components/policy-clamp-ac-pf-ppnt/values.yaml
+++ b/helm/policy/components/policy-clamp-ac-pf-ppnt/values.yaml
@@ -55,16 +55,18 @@ ingress:
# probe configuration parameters
liveness:
- initialDelaySeconds: 20
+ initialDelaySeconds: 50
periodSeconds: 10
+ failureThreshold: 10
# necessary to disable liveness probe when setting breakpoints
# in debugger so K8s doesn't restart unresponsive container
enabled: true
port: http-api
readiness:
- initialDelaySeconds: 20
+ initialDelaySeconds: 50
periodSeconds: 10
+ failureThreshold: 10
port: http-api
service:
diff --git a/helm/policy/components/policy-clamp-runtime-acm/values.yaml b/helm/policy/components/policy-clamp-runtime-acm/values.yaml
index e3128492..e1669bfb 100644
--- a/helm/policy/components/policy-clamp-runtime-acm/values.yaml
+++ b/helm/policy/components/policy-clamp-runtime-acm/values.yaml
@@ -72,16 +72,18 @@ affinity: {}
# probe configuration parameters
liveness:
- initialDelaySeconds: 50
- periodSeconds: 30
+ initialDelaySeconds: 120
+ periodSeconds: 10
+ failureThreshold: 10
# necessary to disable liveness probe when setting breakpoints
# in debugger so K8s doesn't restart unresponsive container
enabled: true
port: http-api
readiness:
- initialDelaySeconds: 50
- periodSeconds: 30
+ initialDelaySeconds: 120
+ periodSeconds: 10
+ failureThreshold: 10
port: http-api
service:
diff --git a/helm/policy/components/policy-pap/values.yaml b/helm/policy/components/policy-pap/values.yaml
index be4a4a19..df8f1088 100755
--- a/helm/policy/components/policy-pap/values.yaml
+++ b/helm/policy/components/policy-pap/values.yaml
@@ -63,20 +63,21 @@ affinity: {}
# probe configuration parameters
liveness:
- initialDelaySeconds: 60
+ initialDelaySeconds: 120
periodSeconds: 10
+ failureThreshold: 10
# necessary to disable liveness probe when setting breakpoints
# in debugger so K8s doesn't restart unresponsive container
enabled: true
port: http-api
readiness:
- initialDelaySeconds: 10
- periodSeconds: 120
+ initialDelaySeconds: 120
+ periodSeconds: 10
port: http-api
api: /policy/pap/v1/healthcheck
successThreshold: 1
- failureThreshold: 3
+ failureThreshold: 10
timeout: 60
service: