Merge pull request #64 from suzerain-io/probes

Implement basic liveness and readiness probes
This commit is contained in:
Ryan Richard
2020-08-18 09:19:24 -07:00
committed by GitHub

View File

@@ -88,6 +88,24 @@ spec:
mountPath: /etc/podinfo
- name: k8s-certs
mountPath: /etc/kubernetes/pki
livenessProbe:
httpGet:
path: /healthz
port: 443
scheme: HTTPS
initialDelaySeconds: 2
timeoutSeconds: 15
periodSeconds: 10
failureThreshold: 5
readinessProbe:
httpGet:
path: /healthz
port: 443
scheme: HTTPS
initialDelaySeconds: 2
timeoutSeconds: 3
periodSeconds: 10
failureThreshold: 3
volumes:
- name: config-volume
configMap: