-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Description
env:
centos: 7.2
istio version: 0.7.1
kubenetes version: v1.9.1
install command:
Before install, we need to add templates _helpers.tpl
to workaround issue: #3895
And then:
helm install --name istio --namespace istio-system istio-0.7.1/install/kubernetes/helm/istio
problem:
We can see the problem from pod creating events:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 1m default-scheduler Successfully assigned istio-ca-6dfffc69bd-fmnjt to 9.111.255.188
Normal SuccessfulMountVolume 1m kubelet, 9.111.255.188 MountVolume.SetUp succeeded for volume "istio-ca-service-account-token-8w2hv"
Normal Pulling 29s (x3 over 1m) kubelet, 9.111.255.188 pulling image "docker.io/istionightly/istio-ca:0.7.1"
Warning Failed 22s (x3 over 1m) kubelet, 9.111.255.188 Failed to pull image "docker.io/istionightly/istio-ca:0.7.1": rpc error: code = Unknown desc = Error response from daemon: manifest for istionightly/istio-ca:0.7.1 not found
Warning Failed 22s (x3 over 1m) kubelet, 9.111.255.188 Error: ErrImagePull
Normal BackOff 7s (x3 over 1m) kubelet, 9.111.255.188 Back-off pulling image "docker.io/istionightly/istio-ca:0.7.1"
Warning Failed 7s (x3 over 1m) kubelet, 9.111.255.188 Error: ImagePullBackOff
Analysis:
Try to pull image directly by:
[root@mstnode ~]# docker pull docker.io/istionightly/istio-ca:0.7.1
Error response from daemon: manifest for istionightly/istio-ca:0.7.1 not found
The reason is that default image repository defined in value.yaml
isn't updated.
Confirm it by running:
[root@mstnode ~]# docker pull docker.io/istio/istio-ca:0.7.1
0.7.1: Pulling from istio/istio-ca
9541024e96f1: Pull complete
d53a23416d7c: Pull complete
f21c2237ca76: Pull complete
Digest: sha256:744e7a4426474d10f7984c601590ee6dab304f5cf6677a80b37c3025993dbd4e
Status: Downloaded newer image for istio/istio-ca:0.7.1
Workaround:
helm install --name istio --namespace istio-system --set global.hub=docker.io/istio istio-0.7.1/install/kubernetes/helm/istio
/cc @gyliu513