NamespaceMultipleInjectionLabels
This message occurs when a namespace specifies Istio sidecar auto-injection using both the new and legacy style labels.
Example
You will receive this message:
Warning [IST0123] (Namespace busted) The namespace has both new and legacy injection labels. Run 'kubectl label namespace busted istio.io/rev-' or 'kubectl label namespace busted istio-injection-'
when your cluster has following namespace:
apiVersion: v1
kind: Namespace
metadata:
name: busted
labels:
istio-injection: enabled
istio.io/rev: canary
In this example, the namespace busted
uses both old-style and new-style injection labels.
How to resolve
- Remove the
istio-injection
label - Remove the
istio.io/rev
label