4 ms·
KEP: https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/753-sidecar-containers https://github.com/kubernetes/enhancements/tree/master/keps/...
by xdasf 3y ago
KEP: https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/753-sidecar-containers https://github.com/kubernetes/enhancements/tree/master/keps/...
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.
- hunta2097 3y agoHopefully these changes should make Envoy sidecars (and sidecar co-existence in general) more reliable.
- tommiegannert 3y agoWhat's the use-case for Envoy as a sidecar? (As someone using Envoy Gateway.)
- pluies 3y agoService mesh. Istio for example injects an envoy sidecar to each pod, and manages everything "meshy" (routing, retries, mTLS, etc) via this sidecar. This is also how linkerd works, though they're using their own purpose-built sidecar rather than envoy.
- rad_gruchalski 3y agoIsn’t the new ambient mesh available in istio 1.18 sidecar-less?
- phrotoma 3y agoYep, it’s also alpha, under intense development, and by every account (including those vendors who are chomping at the bit to start selling it to customers) absolutely not production ready.
- rad_gruchalski 3y agoOh, good to know. I was about to pack a spike into an upcoming sprint.
- plagiarist 3y agoIt seems like there could be a better marker for this. Maybe my skill with Kubernetes is too low for it to make sense.