On this page
Istio injects the sidecar when a pod is created, and the label on its namespace decides which control plane does it. After you point a namespace at a new revision, running pods keep their old proxy until you restart them. If the namespace still carries istio-injection, that label wins over istio.io/rev and the move never happens.
This is a configuration fault, not a mesh outage, but it leaves a mixed data plane quietly running on a release you meant to retire, and Istio's support window does not wait for it.
Which labels decide injection?
The injection page and canary upgrade guide give the rules. For a namespace on a revision, the revision label replaces the default one:
| Resource | Enable | Disable |
|---|---|---|
| Namespace, default control plane | istio-injection=enabled | istio-injection=disabled |
| Namespace, revision or tag | istio.io/rev=<revision-or-tag> | istio-injection=disabled |
| Pod template metadata | sidecar.istio.io/inject: "true" | sidecar.istio.io/inject: "false" |
Three precedence rules follow. A disable label on the namespace or the pod stops injection. An enable label starts it. If neither is set, the pod is injected only when .values.sidecarInjectorWebhook.enableNamespacesByDefault is on, which it is not by default.
How do you move a namespace to a new revision?
- Install the new revision beside the old one. Name it for the version with dashes, for example
1-32-1. - Remove the old label and add the new one in one command:
kubectl label namespace test-ns istio-injection- istio.io/rev=1-32-1. - Restart the workloads:
kubectl rollout restart deployment -n test-ns. - Verify with
istioctl proxy-status. The ISTIOD and VERSION columns show which control plane each proxy follows.
If you use revision tags, you change the tag's target once and every namespace labeled with that tag follows at the next restart. The production how-to explains tags and gateways.
The same label is how you hold a risky namespace back. Leave a payments namespace on the old revision while the rest move, and it keeps its proxy on purpose rather than by accident. Write the exception down with an owner and a date, because the old revision has to stay installed for as long as that namespace needs it.
What if the label is right and injection still does not happen?
Istio's injection troubleshooting page lists the usual causes. Check in this order:
- The namespace is
kube-systemorkube-public, or the pod useshostNetwork: true. Automatic injection ignores both. - The webhook's
namespaceSelectorscopes it to opt-in or opt-out: comparekubectl get mutatingwebhookconfiguration istio-sidecar-injector -o yamlwith the namespace labels. - The per-pod override sits on the pod template, not on the Deployment's own metadata, which is ignored.
- Check the policy in the
istio-sidecar-injectorconfigmap holds the injection policy; an unrecognized value disables injection completely.
Run istioctl analyze --all-namespaces too. It reports a namespace that is not enabled for injection.
What does a mixed data plane cost you?
A namespace left on the old revision keeps its old proxy, and the old proxy keeps its old support window. The supported-releases post explains why that date matters. Istio also allows the control plane to be one version ahead of the data plane, never behind, so removing the old control plane before the last namespace moves strands those proxies.
| Command | What healthy looks like |
|---|---|
| istioctl proxy-status | The ISTIOD and VERSION columns show the new revision for each restarted pod |
| kubectl get pod -n test-ns | READY shows 2/2 (app plus istio-proxy) |
| kubectl get namespace -L istio-injection | No istio-injection value left on a namespace you moved to a revision |
| istioctl tag list | Each tag points at the revision you expect |
When should you bring in help?
When the webhook itself fails and new pods cannot be created, or when hundreds of workloads across many namespaces need staged restarts without breaking a Friday release. AceMQ's Istio support plans the restart order and checks skew: Istio allows the control plane to be one version ahead of the data plane, never behind. Send your Istio version, revision and cluster count; AceMQ replies to quote requests within 1 hour.
Sources
- Installing the Sidecar, Istio, read 4 December 2026.
- Canary Upgrades, Istio, read 4 December 2026.
- Sidecar Injection Problems, Istio, read 4 December 2026.
- Diagnose your Configuration with Istioctl Analyze, Istio, read 4 December 2026.
- Supported Releases, Istio, read 4 December 2026.
Frequently Asked Questions
Why is my pod still on the old Istio version after relabeling?
Injection happens at pod creation. Relabeling a namespace does not touch running pods, so they keep the old proxy until they are restarted.
Which label wins, istio-injection or istio.io/rev?
If both are on the same namespace, istio-injection takes precedence. Remove it when you move a namespace to a revision.
Can a revision name contain a dot?
No. The dot is not a valid revision name character, so Istio 1.32.1 becomes 1-32-1.
Talk to an engineer
Need a hand with Istio?
Senior engineers who run it in production. Get a quote or a free consultation, no sales pitch.

