Skip to content

Instantly share code, notes, and snippets.

@cmendible
Created April 28, 2023 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmendible/e4bdf7cba7ba32cbf0e5838e66827f9e to your computer and use it in GitHub Desktop.
Save cmendible/e4bdf7cba7ba32cbf0e5838e66827f9e to your computer and use it in GitHub Desktop.
Kubernetes Failing Readiness Probe
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