feat: added livenessProbe and readinessProbe

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

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

Loading…
Cancel
Save