From 48c389e8c18a729f9d42df7d5081ac957f40698d Mon Sep 17 00:00:00 2001 From: Vincent DU <vdu@takima.fr> Date: Fri, 24 Nov 2023 15:38:27 +0100 Subject: [PATCH] probe --- templates/api/api-deployment.yaml | 36 +++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/templates/api/api-deployment.yaml b/templates/api/api-deployment.yaml index 6c0f4d4..35d9ae2 100644 --- a/templates/api/api-deployment.yaml +++ b/templates/api/api-deployment.yaml @@ -23,24 +23,24 @@ spec: image: {{ .Values.api.image.repository }}:{{ .Values.api.image.tag }} ports: - containerPort: 8080 -# readinessProbe: -# httpGet: -# port: 8080 -# path: /actuator/health/readiness -# initialDelaySeconds: 5 -# periodSeconds: 5 -# livenessProbe: -# httpGet: -# port: 8080 -# path: /actuator/health/liveness -# initialDelaySeconds: 300 -# periodSeconds: 300 -# startupProbe: -# httpGet: -# path: /actuator/health/startup -# port: 8080 -# failureThreshold: 30 -# periodSeconds: 10 + readinessProbe: + httpGet: + port: 8080 + path: /actuator/health/readiness + initialDelaySeconds: 5 + periodSeconds: 5 + livenessProbe: + httpGet: + port: 8080 + path: /actuator/health/liveness + initialDelaySeconds: 300 + periodSeconds: 300 + startupProbe: + httpGet: + path: /actuator/health/startup + port: 8080 + failureThreshold: 30 + periodSeconds: 10 env: - name: DB_ENDPOINT valueFrom: -- GitLab