Skip to content

Implement KEP753 initContainer restartPolicy=Always sidecar #11461

@teejaded

Description

@teejaded

What problem are you trying to solve?

Now that we have kubernetes/enhancements#753 (aka native sidecar containers https://kubernetes.io/blog/2023/08/25/native-sidecar-containers/) can the proxy injector be updated to support it when it is available or via flag?

I would comment in #1869, but it is locked.

This would greatly simplify adopting linkerd with jobs.

How should the problem be solved?

Implement support for the new sidecar pattern into the proxy-injector process and linkerd cli.

Any alternatives you've considered?

Adding the shutdown hook call to all jobs is not easy. This is especially true when you're consuming public helm charts.

How would users interact with this feature?

Either opt-in or opt-out of the new sidecar behavior with a flag gated on a k8s api version check.

Would you like to work on this feature?

maybe

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions