How to add Kinkerd proxy into Helm Charts

Hi,

I could not find this in the documentation - what’s the easiest way to add Linkerd proxy container into the Helm chart of a service?

Hi @Napas!

The simplest way to inject the proxy in to any deployment is to add the linkerd.io/inject: enabled annotation to the pod spec of the deployment. You can also use the same annotation on the namespace for your service to ensure that all deployments are injected with the proxy. Both scenarios assume that you have the Linkerd control plane installed in your cluster.

You can install Linkerd with helm: https://linkerd.io/2/tasks/install-helm/

I haven’t tried this myself, but you could add Linkerd as a dependency to your helm Chart.yaml: https://helm.sh/docs/topics/charts/

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.