diff --git a/templates/deployment-api.yaml b/templates/deployment-api.yaml index 7d5528a..963ba44 100644 --- a/templates/deployment-api.yaml +++ b/templates/deployment-api.yaml @@ -26,4 +26,22 @@ spec: envFrom: - secretRef: name: terrakube-api-secrets + startupProbe: + httpGet: + path: /actuator/health + port: 8080 + failureThreshold: 30 + periodSeconds: 10 + livenessProbe: + httpGet: + path: /actuator/health/liveness + port: 8080 + initialDelaySeconds: 10 + periodSeconds: 10 + readinessProbe: + httpGet: + path: /actuator/health/readiness + port: 8080 + initialDelaySeconds: 120 + periodSeconds: 10 {{ end }} \ No newline at end of file diff --git a/templates/deployment-executor.yaml b/templates/deployment-executor.yaml index 44b967d..92e6968 100644 --- a/templates/deployment-executor.yaml +++ b/templates/deployment-executor.yaml @@ -26,4 +26,22 @@ spec: envFrom: - secretRef: name: terrakube-executor-secrets + startupProbe: + httpGet: + path: /actuator/health + port: 8090 + failureThreshold: 30 + periodSeconds: 10 + livenessProbe: + httpGet: + path: /actuator/health/liveness + port: 8090 + initialDelaySeconds: 10 + periodSeconds: 10 + readinessProbe: + httpGet: + path: /actuator/health/readiness + port: 8090 + initialDelaySeconds: 120 + periodSeconds: 10 {{ end }} \ No newline at end of file diff --git a/templates/deployment-registry.yaml b/templates/deployment-registry.yaml index 0f02bd8..27a34c5 100644 --- a/templates/deployment-registry.yaml +++ b/templates/deployment-registry.yaml @@ -26,4 +26,22 @@ spec: envFrom: - secretRef: name: terrakube-registry-secrets + startupProbe: + httpGet: + path: /actuator/health + port: 8075 + failureThreshold: 30 + periodSeconds: 10 + livenessProbe: + httpGet: + path: /actuator/health/liveness + port: 8075 + initialDelaySeconds: 10 + periodSeconds: 10 + readinessProbe: + httpGet: + path: /actuator/health/readiness + port: 8075 + initialDelaySeconds: 120 + periodSeconds: 10 {{ end }} \ No newline at end of file