diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index 1b929030a665b7f2d465fafa3352a7760dcc9033..97210bff90e1211161139192ba415c5233124c95 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -43,17 +43,22 @@ spec: preStop: exec: command: [ "curl","-X","POST","http://127.0.0.1:1024/actuator/offline" ] + startupProbe: + httpGet: + scheme: HTTP + path: /actuator/health + port: 1024 + failureThreshold: 6 + periodSeconds: 10 livenessProbe: httpGet: scheme: HTTP path: /actuator/health/liveness port: 1024 - initialDelaySeconds: 50 periodSeconds: 10 readinessProbe: httpGet: scheme: HTTP path: /actuator/health/readiness port: 1024 - initialDelaySeconds: 50 periodSeconds: 10 \ No newline at end of file