Automatic Proxy Injection
See Adding Your Service for a walkthrough ofhow to use this feature in practice. There is a full list of the configurationoptions available in .
For each pod, two containers are injected:
linkerd-proxy
, the Linkerd data plane proxy itself.Note that simply adding the annotation to a resource with pre-existing podswill not automatically inject those pods. You will need to update the pods(e.g. withkubectl rollout restart
etc.) for them to be injected. This isbecause Kubernetes does not call the webhook until it needs to update theunderlying resources.
The linkerd inject
CLI command is a texttransform that, by default, simply adds the inject annotation to a givenKubernetes manifest.
See the for moreinformation.