diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index 259989cfb737c87adb499f3180bfeee3811eaf11..465201b68dc712061454463e6e2112a58a5b930d 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -24,12 +24,19 @@ spec: imagePullPolicy: "Always" ports: - containerPort: {PORT} + livenessProbe: + httpGet: + scheme: HTTP + path: /actuator/health + port: 1024 + initialDelaySeconds: 20 + periodSeconds: 10 readinessProbe: httpGet: scheme: HTTP path: /actuator/health port: 1024 - initialDelaySeconds: 10 - periodSeconds: 5 + initialDelaySeconds: 20 + periodSeconds: 10 imagePullSecrets: - name: kp-schbrain