aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2023-07-11 09:49:01 +0100
committerAdheli Tavares <adheli.tavares@est.tech>2023-08-09 15:24:20 +0000
commit374e98021ce614c2703eb30d5e8a1cdcb30245af (patch)
tree367925bdb7d3cbbc34ef497b9d8fc4d0bb440a87
parent45fb56e7cf9711a3687f61a6e28e7c6d3dcdaf12 (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> (cherry picked from commit b860fd6d80ae11ff6dbf17f077b78303a6f4f969)
-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: