by xdasf · 3y ago · 0 comments
TLDR: Introduce a restartPolicy field to init containers and use it to indicate that an init container is a sidecar container. Kubelet will start init containers with restartPolicy=Always in the order with other init containers, but instead of waiting for its completion, it will wait for the container startup completion.
This is also how linkerd works, though they're using their own purpose-built sidecar rather than envoy.