Merge pull request #64 from suzerain-io/probes
Implement basic liveness and readiness probes
This commit is contained in:
commit
57578f16d4
@ -88,6 +88,24 @@ spec:
|
|||||||
mountPath: /etc/podinfo
|
mountPath: /etc/podinfo
|
||||||
- name: k8s-certs
|
- name: k8s-certs
|
||||||
mountPath: /etc/kubernetes/pki
|
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:
|
volumes:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
configMap:
|
configMap:
|
||||||
|
Loading…
Reference in New Issue
Block a user