Created
April 28, 2023 07:24
-
-
Save cmendible/e4bdf7cba7ba32cbf0e5838e66827f9e to your computer and use it in GitHub Desktop.
Kubernetes Failing Readiness Probe
This file contains 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: failing-readinessprobe-pod | |
spec: | |
containers: | |
- name: busybox | |
image: busybox | |
command: | |
- sh | |
- -c | |
- sleep 3600 | |
readinessProbe: | |
exec: | |
command: | |
- cat | |
- /tmp/healthy | |
initialDelaySeconds: 0 # Fail Fast | |
periodSeconds: 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment