ImageAutoWithoutInjectionError
This message occurs when a Pod has an istio-proxy container with image: auto.
The auto image is a placeholder. The sidecar injector replaces it with the correct image when it
creates the pod. If a pod still has image: auto, injection did not occur. The pod cannot pull the
image auto and cannot start.
An example
You will receive a message like this:
Error [IST0147] (Pod default/istio-ingressgateway-5bdb6f9c8b-xk2vz) Pod istio-ingressgateway-5bdb6f9c8b-xk2vz contains `image: auto` but does not match any Istio injection webhook selectors.How to resolve
Enable injection for the pod. For example, add the
istio-injection=enabledlabel to the namespace, or add thesidecar.istio.io/inject: "true"label to the pod. If you use revisions, use theistio.io/revlabel with the correct revision.Make sure that the injector webhook is installed and is running.
Recreate the pod. For a
Deployment, usekubectl rollout restart.