InvalidAnnotation
| Message Name | InvalidAnnotation |
| Message Code | IST0125 |
| Description | An Istio annotation that is not valid |
| Level | Warning |
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 annotations.
Example
You will receive this message:
Warning [IST0108] (Service httpbin.default) Unknown annotation: networking.istio.io/exportTwo
when your cluster has following namespace:
apiVersion: v1kind: Servicemetadata:name: httpbinlabels:app: httpbinannotations:# no such Istio annotationnetworking.istio.io/exportTwo: barspec:ports:- name: httpport: 8000targetPort: 80selector:app: httpbin
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