Skip to content
Snippets Groups Projects
Commit 829f93fb authored by Oleksandr Kosse (EPAM)'s avatar Oleksandr Kosse (EPAM)
Browse files

Merge branch 'GONRG-9793-fix-liveness' into 'master'

Fix liveness

See merge request !474
parents ed1ce493 4c40b886
No related branches found
No related tags found
1 merge request!474Fix liveness
Pipeline #269511 failed
......@@ -48,10 +48,16 @@ spec:
livenessProbe:
failureThreshold: 3
httpGet:
path: /api/register/v1/ah/liveness_check
port: 8080
path: /health/liveness
port: 8081
initialDelaySeconds: 120
periodSeconds: 10
readinessProbe:
failureThreshold: 3
httpGet:
path: /health/readiness
port: 8081
periodSeconds: 15
resources:
requests:
cpu: {{ .Values.data.requestsCpu | quote }}
......
......@@ -43,12 +43,18 @@ spec:
runAsNonRoot: true
ports:
- containerPort: 8080
livenessProbe:
failureThreshold: 3
httpGet:
path: /health/liveness
port: 8081
initialDelaySeconds: 120
periodSeconds: 10
readinessProbe:
failureThreshold: 3
httpGet:
path: /health
path: /health/readiness
port: 8081
initialDelaySeconds: 90
periodSeconds: 15
resources:
requests:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment