You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all, I am trying to start minikube with the examples, but when I check pods status
bryanleekw@nb1:~/Projects/kubernetes-101/Kubernetes$ kubectl get pods
NAME READY STATUS RESTARTS AGE
my-web-5f796bf89-c495j 0/1 ImagePullBackOff 0 1d
redis 1/1 Running 0 15m
web 1/1 Running 0 15m
web-hr4jv 1/1 Running 0 15m
================================================
I check the pods status by describe, and unable to pull that images
bryanleekw@nb1:~/Projects/kubernetes-101/Kubernetes$ kubectl describe pods my-web-5f796bf89-c495j
Name: my-web-5f796bf89-c495j
Namespace: default
Node: minikube/192.168.99.100
Start Time: Wed, 03 Jan 2018 22:52:14 +0800
Labels: pod-template-hash=193526945
run=my-web
Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"default","name":"my-web-5f796bf89","uid":"afb6f69c-f095-11e7-9de0-080027302ed5","...
Status: Running
IP: 172.17.0.2
Controlled By: ReplicaSet/my-web-5f796bf89
Containers:
my-web:
Container ID: docker://4a69f9aea721506c3f1fe60f1b7e7d171217182cf60f2955fdc7a41f81a1d90f
Image: 192.168.99.100:80/myweb
Image ID: docker-pullable://192.168.99.100:80/myweb@sha256:8e79b39e50dba9fc733260bede99f43655faab6ddfd6e0123b78f31757c9ded7
Port: 80/TCP
State: Waiting
Reason: ImagePullBackOff
Last State: Terminated
Reason: Error
Exit Code: 255
Started: Wed, 03 Jan 2018 22:52:15 +0800
Finished: Fri, 05 Jan 2018 08:30:53 +0800
Ready: False
Restart Count: 0
Environment:
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-4f4ds (ro)
Conditions:
Type Status
Initialized True
Ready False
PodScheduled True
Volumes:
default-token-4f4ds:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-4f4ds
Optional: false
QoS Class: BestEffort
Node-Selectors:
Tolerations:
Events:
Type Reason Age From Message
Normal Scheduled 1d default-scheduler Successfully assigned my-web-5f796bf89-c495j to minikube
Normal SuccessfulMountVolume 1d kubelet, minikube MountVolume.SetUp succeeded for volume "default-token-4f4ds"
Normal Pulling 1d kubelet, minikube pulling image "192.168.99.100:80/myweb"
Normal Pulled 1d kubelet, minikube Successfully pulled image "192.168.99.100:80/myweb"
Normal Created 1d kubelet, minikube Created container
Normal Started 1d kubelet, minikube Started container
Normal SandboxChanged 17m kubelet, minikube Pod sandbox changed, it will be killed and re-created.
Normal SuccessfulMountVolume 17m kubelet, minikube MountVolume.SetUp succeeded for volume "default-token-4f4ds"
Normal Pulling 16m (x3 over 17m) kubelet, minikube pulling image "192.168.99.100:80/myweb"
Warning Failed 16m (x3 over 17m) kubelet, minikube Failed to pull image "192.168.99.100:80/myweb": rpc error: code = Unknown desc = Error response from daemon: Get http://192.168.99.100:80/v2/: dial tcp 192.168.99.100:80: getsockopt: connection refused
Warning BackOff 15m (x5 over 16m) kubelet, minikube Back-off restarting failed container
Normal BackOff 7m (x25 over 17m) kubelet, minikube Back-off pulling image "192.168.99.100:80/myweb"
Warning FailedSync 2m (x71 over 17m) kubelet, minikube Error syncing pod
bryanleekw@nb1:~/Projects/kubernetes-101/Kubernetes$
=================================================================
However, when I issued docker images command, that image exists there.
bryanleekw@nb1:~/Projects/kubernetes-101/Kubernetes$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
bryanmunich/webnew latest 72a89934aba4 15 hours ago 95.8MB
192.168.99.100:80/myweb latest 3f55de602b18 36 hours ago 177MB
redis latest 1e70071f4af4 3 weeks ago 107MB
gcr.io/google_containers/kubernetes-dashboard-amd64 v1.8.0 55dbc28356f2 5 weeks ago 119MB
gcr.io/k8s-minikube/storage-provisioner v1.8.0 4689081edb10 8 weeks ago 80.8MB
gcr.io/k8s-minikube/storage-provisioner v1.8.1 4689081edb10 8 weeks ago 80.8MB
gcr.io/google_containers/k8s-dns-sidecar-amd64 1.14.5 fed89e8b4248 3 months ago 41.8MB
gcr.io/google_containers/k8s-dns-kube-dns-amd64 1.14.5 512cd7425a73 3 months ago 49.4MB
gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64 1.14.5 459944ce8cc4 3 months ago 41.4MB
gcr.io/google_containers/kubernetes-dashboard-amd64 v1.6.3 691a82db1ecd 5 months ago 139MB
gcr.io/google-containers/kube-addon-manager v6.4-beta.2 0a951668696f 6 months ago 79.2MB
gcr.io/google_containers/pause-amd64 3.0 99e59f495ffa 20 months ago 747kB
The text was updated successfully, but these errors were encountered:
Hi all, I am trying to start minikube with the examples, but when I check pods status
bryanleekw@nb1:~/Projects/kubernetes-101/Kubernetes$ kubectl get pods
NAME READY STATUS RESTARTS AGE
my-web-5f796bf89-c495j 0/1 ImagePullBackOff 0 1d
redis 1/1 Running 0 15m
web 1/1 Running 0 15m
web-hr4jv 1/1 Running 0 15m
================================================
I check the pods status by describe, and unable to pull that images
bryanleekw@nb1:~/Projects/kubernetes-101/Kubernetes$ kubectl describe pods my-web-5f796bf89-c495j
Name: my-web-5f796bf89-c495j
Namespace: default
Node: minikube/192.168.99.100
Start Time: Wed, 03 Jan 2018 22:52:14 +0800
Labels: pod-template-hash=193526945
run=my-web
Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"default","name":"my-web-5f796bf89","uid":"afb6f69c-f095-11e7-9de0-080027302ed5","...
Status: Running
IP: 172.17.0.2
Controlled By: ReplicaSet/my-web-5f796bf89
Containers:
my-web:
Container ID: docker://4a69f9aea721506c3f1fe60f1b7e7d171217182cf60f2955fdc7a41f81a1d90f
Image: 192.168.99.100:80/myweb
Image ID: docker-pullable://192.168.99.100:80/myweb@sha256:8e79b39e50dba9fc733260bede99f43655faab6ddfd6e0123b78f31757c9ded7
Port: 80/TCP
State: Waiting
Reason: ImagePullBackOff
Last State: Terminated
Reason: Error
Exit Code: 255
Started: Wed, 03 Jan 2018 22:52:15 +0800
Finished: Fri, 05 Jan 2018 08:30:53 +0800
Ready: False
Restart Count: 0
Environment:
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-4f4ds (ro)
Conditions:
Type Status
Initialized True
Ready False
PodScheduled True
Volumes:
default-token-4f4ds:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-4f4ds
Optional: false
QoS Class: BestEffort
Node-Selectors:
Tolerations:
Events:
Type Reason Age From Message
Normal Scheduled 1d default-scheduler Successfully assigned my-web-5f796bf89-c495j to minikube
Normal SuccessfulMountVolume 1d kubelet, minikube MountVolume.SetUp succeeded for volume "default-token-4f4ds"
Normal Pulling 1d kubelet, minikube pulling image "192.168.99.100:80/myweb"
Normal Pulled 1d kubelet, minikube Successfully pulled image "192.168.99.100:80/myweb"
Normal Created 1d kubelet, minikube Created container
Normal Started 1d kubelet, minikube Started container
Normal SandboxChanged 17m kubelet, minikube Pod sandbox changed, it will be killed and re-created.
Normal SuccessfulMountVolume 17m kubelet, minikube MountVolume.SetUp succeeded for volume "default-token-4f4ds"
Normal Pulling 16m (x3 over 17m) kubelet, minikube pulling image "192.168.99.100:80/myweb"
Warning Failed 16m (x3 over 17m) kubelet, minikube Failed to pull image "192.168.99.100:80/myweb": rpc error: code = Unknown desc = Error response from daemon: Get http://192.168.99.100:80/v2/: dial tcp 192.168.99.100:80: getsockopt: connection refused
Warning BackOff 15m (x5 over 16m) kubelet, minikube Back-off restarting failed container
Normal BackOff 7m (x25 over 17m) kubelet, minikube Back-off pulling image "192.168.99.100:80/myweb"
Warning FailedSync 2m (x71 over 17m) kubelet, minikube Error syncing pod
bryanleekw@nb1:~/Projects/kubernetes-101/Kubernetes$
=================================================================
However, when I issued docker images command, that image exists there.
bryanleekw@nb1:~/Projects/kubernetes-101/Kubernetes$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
bryanmunich/webnew latest 72a89934aba4 15 hours ago 95.8MB
192.168.99.100:80/myweb latest 3f55de602b18 36 hours ago 177MB
redis latest 1e70071f4af4 3 weeks ago 107MB
gcr.io/google_containers/kubernetes-dashboard-amd64 v1.8.0 55dbc28356f2 5 weeks ago 119MB
gcr.io/k8s-minikube/storage-provisioner v1.8.0 4689081edb10 8 weeks ago 80.8MB
gcr.io/k8s-minikube/storage-provisioner v1.8.1 4689081edb10 8 weeks ago 80.8MB
gcr.io/google_containers/k8s-dns-sidecar-amd64 1.14.5 fed89e8b4248 3 months ago 41.8MB
gcr.io/google_containers/k8s-dns-kube-dns-amd64 1.14.5 512cd7425a73 3 months ago 49.4MB
gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64 1.14.5 459944ce8cc4 3 months ago 41.4MB
gcr.io/google_containers/kubernetes-dashboard-amd64 v1.6.3 691a82db1ecd 5 months ago 139MB
gcr.io/google-containers/kube-addon-manager v6.4-beta.2 0a951668696f 6 months ago 79.2MB
gcr.io/google_containers/pause-amd64 3.0 99e59f495ffa 20 months ago 747kB
The text was updated successfully, but these errors were encountered: