Skip to content

Fix warnings generated from istioctl analyze #43589

@linsun

Description

@linsun

Bug Description

istioctl analyze
Warning [IST0108] (Deployment default/bookinfo-productpage-istio-waypoint) Unknown annotation: istio.io/for-service-account
Warning [IST0108] (Pod default/bookinfo-productpage-istio-waypoint-66f9db6966-ghzhz) Unknown annotation: ambient.istio.io/redirection
Warning [IST0108] (Pod default/bookinfo-productpage-istio-waypoint-66f9db6966-ghzhz) Unknown annotation: istio.io/for-service-account
Warning [IST0108] (Pod default/details-v1-7d4d9d5fcb-s2ljz) Unknown annotation: ambient.istio.io/redirection
Warning [IST0108] (Pod default/notsleep-bb6696574-jsb9g) Unknown annotation: ambient.istio.io/redirection
Warning [IST0108] (Pod default/productpage-v1-7b4dbf9c75-9tv67) Unknown annotation: ambient.istio.io/redirection
Warning [IST0108] (Pod default/ratings-v1-85cc46b6d4-ws8hv) Unknown annotation: ambient.istio.io/redirection
Warning [IST0108] (Pod default/reviews-v1-777df99c6d-wxw2s) Unknown annotation: ambient.istio.io/redirection
Warning [IST0108] (Pod default/reviews-v2-cdd8fb88b-x5gq8) Unknown annotation: ambient.istio.io/redirection
Warning [IST0108] (Pod default/reviews-v3-58b6479b-h76r4) Unknown annotation: ambient.istio.io/redirection
Warning [IST0108] (Pod default/sleep-5644bdc767-zv4l9) Unknown annotation: ambient.istio.io/redirection

Might be good to update this message too that we ask user either label for sidecar or ambient.

Info [IST0102] (Namespace default) The namespace is not enabled for Istio injection. Run 'kubectl label namespace default istio-injection=enabled' to enable it, or 'kubectl label namespace default istio-injection=disabled' to explicitly mark it as not needing injection.

Version

1.18-dev

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ambientIssues related to ambient mesh

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions