Last active
June 29, 2020 17:34
-
-
Save albertogalan/d4b1878afd30ce9bc4ba44352718e111 to your computer and use it in GitHub Desktop.
readinessprobe livenessProbe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
containers: | |
- resources: | |
limits: | |
memory: 1Gi | |
readinessProbe: | |
exec: | |
command: | |
- /usr/libexec/check-container | |
initialDelaySeconds: 5 | |
timeoutSeconds: 1 | |
periodSeconds: 10 | |
successThreshold: 1 | |
failureThreshold: 3 | |
terminationMessagePath: /dev/termination-log | |
name: postgresql | |
livenessProbe: | |
exec: | |
command: | |
- /usr/libexec/check-container | |
- '--live' | |
initialDelaySeconds: 120 | |
timeoutSeconds: 10 | |
periodSeconds: 10 | |
successThreshold: 1 | |
failureThreshold: 3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment