feat: added livenessProbe and readinessProbe

main
Sven Ketelsen 4 years ago
parent 07bcf2b6e8
commit 11a63c54ed

@ -156,20 +156,32 @@ spec:
httpGet:
path: /management/health/liveness
port: 8081
# httpHeaders:
# - name: Smardigo-User-Token
# value: ""
initialDelaySeconds: 5
periodSeconds: 5
httpHeaders:
- name: Smardigo-User-Token
valueFrom:
secretKeyRef:
name: "connect-secrets"
key: HEALTH_CHECK_API_TOKEN
initialDelaySeconds: 3
timeoutSeconds: 1
periodSeconds: 3
successThreshold: 1
failureThreshold: 3
readinessProbe:
httpGet:
path: /management/health/readiness
port: 8081
# httpHeaders:
# - name: Smardigo-User-Token
# value: ""
initialDelaySeconds: 5
periodSeconds: 5
httpHeaders:
- name: Smardigo-User-Token
valueFrom:
secretKeyRef:
name: "connect-secrets"
key: HEALTH_CHECK_API_TOKEN
initialDelaySeconds: 3
timeoutSeconds: 1
periodSeconds: 3
successThreshold: 1
failureThreshold: 3
initContainers:
- name: init-iam
image: busybox:1.28

Loading…
Cancel
Save