Istio-ingressgateway pods tries to come up before Istiod pod and fails with image pull error.
Error Output:
$ k get pods -n istio-system
NAME READY STATUS RESTARTS AGE
istio-ingressgateway-58f67444d8-8ntm8 1/1 ImagePullError 0 4h13m
istiod-7b76584b5b-7mcr4 1/1 Running 0 12h
kubectl describe pod output:
Normal Scheduled 54m default-scheduler Successfully assigned istio-system/istio-ingressgateway-58f67444d8-kdpvw to aks-workersxxxxxxxxxxxxxx
Normal Pulling 53m (x4 over 54m) kubelet Pulling image “auto”
Warning Failed 53m (x4 over 54m) kubelet Failed to pull image “auto”: rpc error: code = Unknown desc = failed to pull and unpack image “Docker”: failed to resolve reference “Docker”: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
Warning Failed 53m (x4 over 54m) kubelet Error: ErrImagePull
Warning Failed 53m (x6 over 54m) kubelet Error: ImagePullBackOff
Normal BackOff 4m47s (x222 over 54m) kubelet Back-off pulling image “auto”
istio-ingressgateway pod logs:
Error from server (BadRequest): container “istio-proxy” in pod “istio-ingressgateway-58f67444d8-kdpvw” is waiting to start: trying and failing to pull image
Expectations:
istio-ingressgateway pod should wait until istiod pod is up.