@timelab/pod-ready
v1.0.0
Published
Mark a pod as ready for Kubernetes Readiness Probe
Downloads
4
Readme
pod-ready
Mark or check if a pod is ready. Useful for Kubernetes Readiness Probe.
Kubernetes Usage
readinessProbe:
exec:
command:
- cat
- /tmp/pod-ready
initialDelaySeconds: 5
periodSeconds: 5
or if a more complex handling logic needs to be implemented :
readinessProbe:
exec:
command: # Take care of container WORKDIR when using npx
- npx
- -p
- @timelab/pod-ready
- is-pod-ready
initialDelaySeconds: 5
periodSeconds: 5