diff --git a/templates/api/api-deployment.yaml b/templates/api/api-deployment.yaml index 6c0f4d486b4869ecd58d85ea9ba8ef1bc7f515fa..35d9ae2bc88bb34006a045c3c98c624ea80fcd61 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: