[Request] Add sleep to proxyv2
Feature description
Add the sleep binary to the distroless proxyv2 container to support preStop hooks.
Use cases
See https://github.com/istio/istio/issues/47265#issuecomment-1793535504
Without sleep or access to the shell/other packages, we can't achieve a zero down time deployment.
Benefits
In my understanding, a preStop hook is a requirement for zero downtime deployments, and with this distroless image we don't have access to the shell to force a sleep.
Requirements
Sleep or equivalent CLI tool that can run a process for X amount of time (example: I could probably come up with a way for curl or watch to achieve the same goal)
Links / references
https://github.com/istio/istio/issues/47265#issuecomment-1793535504
Tasks
-
Feature has been implemented
Please read the Iron Bank Documentation for more info