InvalidAnnotation
This message occurs when an annotation
mentions istio.io
but the annotation
- isn’t an annotation known to this version of Istio
- is known, but has a disallowed value, such as a string where a number is needed
- is applied to the wrong kind of resource, such as a pod-specific resource applied to a service
Consult Istio’s list of resource annotations5.
Example
You will receive this message:
when your cluster has following namespace:
In this example, the service httpbin
is using networking.istio.io/exportTwo
instead of networking.istio.io/exportTo
.
How to resolve
- Delete or rename unknown annotations
- Change annotations with disallowed values