stargz-snapshotter
stargz-snapshotter copied to clipboard
Support injecting liveness / readiness probe scripts
It would be great if we can inject scripts for Kubernetess livenessProbes and readinessProbes: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
The script path would be like /.stargz-snapshotter/.probes/liveness
.
If depending on sh
inside container is problematic, we can also consider bind-mounting a statically built ELF binary.
SGTM about the statically built livenessProbes.