Created
November 4, 2019 23:12
-
-
Save get2arun/743e89355eee570e1a7ce2bc9bf78724 to your computer and use it in GitHub Desktop.
kubectl-docker-public-image-pull-failed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
consul-helm# kubectl version --short | |
Client Version: v1.15.0 | |
Server Version: v1.12.4 | |
consul-helm# kubectl describe pod consul-1572904924-ui-test-jf7fb | |
Name: consul-1572904924-ui-test-jf7fb | |
Namespace: dev-poc-namespace | |
Priority: 0 | |
Node: 6b8db184-1f0c-4660-906f-e6d99e123890/172.15.0.5 | |
Start Time: Mon, 04 Nov 2019 19:02:18 -0300 | |
Labels: <none> | |
Annotations: helm.sh/hook: test-success | |
Status: Pending | |
IP: 172.16.24.3 | |
Init Containers: | |
test-framework: | |
Container ID: | |
Image: dduportal/bats:0.4.0 | |
Image ID: | |
Port: <none> | |
Host Port: <none> | |
Command: | |
bash | |
-c | |
set -ex | |
# copy bats to tools dir | |
cp -R /usr/local/libexec/ /tools/bats/ | |
State: Waiting | |
Reason: ImagePullBackOff | |
Ready: False | |
Restart Count: 0 | |
Environment: <none> | |
Mounts: | |
/tools from tools (rw) | |
/var/run/secrets/kubernetes.io/serviceaccount from default-token-d7ktp (ro) | |
Containers: | |
consul-1572904924-ui-test: | |
Container ID: | |
Image: lachlanevenson/k8s-kubectl:v1.4.8-bash | |
Image ID: | |
Port: <none> | |
Host Port: <none> | |
Command: | |
/tools/bats/bats | |
-t | |
/tests/run.sh | |
State: Waiting | |
Reason: PodInitializing | |
Ready: False | |
Restart Count: 0 | |
Environment: <none> | |
Mounts: | |
/tests from tests (ro) | |
/tools from tools (rw) | |
/var/run/secrets/kubernetes.io/serviceaccount from default-token-d7ktp (ro) | |
Conditions: | |
Type Status | |
Initialized False | |
Ready False | |
ContainersReady False | |
PodScheduled True | |
Volumes: | |
tests: | |
Type: ConfigMap (a volume populated by a ConfigMap) | |
Name: consul-1572904924-tests | |
Optional: false | |
tools: | |
Type: EmptyDir (a temporary directory that shares a pod's lifetime) | |
Medium: | |
SizeLimit: <unset> | |
default-token-d7ktp: | |
Type: Secret (a volume populated by a Secret) | |
SecretName: default-token-d7ktp | |
Optional: false | |
QoS Class: BestEffort | |
Node-Selectors: <none> | |
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s | |
node.kubernetes.io/unreachable:NoExecute for 300s | |
Events: | |
Type Reason Age From Message | |
---- ------ ---- ---- ------- | |
Normal Scheduled 48s default-scheduler Successfully assigned dev-poc-namespace/consul-1572904924-ui-test-jf7fb to 6b8db184-1f0c-4660-906f-e6d99e123890 | |
Normal BackOff 31s kubelet, 6b8db184-1f0c-4660-906f-e6d99e123890 Back-off pulling image "dduportal/bats:0.4.0" | |
Warning Failed 31s kubelet, 6b8db184-1f0c-4660-906f-e6d99e123890 Error: ImagePullBackOff | |
Normal Pulling 18s (x2 over 46s) kubelet, 6b8db184-1f0c-4660-906f-e6d99e123890 pulling image "dduportal/bats:0.4.0" | |
Warning Failed 3s (x2 over 31s) kubelet, 6b8db184-1f0c-4660-906f-e6d99e123890 Failed to pull image "dduportal/bats:0.4.0": rpc error: code = Unknown desc = Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) | |
Warning Failed 3s (x2 over 31s) kubelet, 6b8db184-1f0c-4660-906f-e6d99e123890 Error: ErrImagePull | |
desktop-e470:~/k8s# docker pull dduportal/bats:0.4.0 | |
0.4.0: Pulling from dduportal/bats | |
Image docker.io/dduportal/bats:0.4.0 uses outdated schema1 manifest format. Please upgrade to a schema2 image for better future compatibility. More information at https://docs.docker.com/registry/spec/deprecated-schema-v1/ | |
81cc5f26a6a0: Already exists | |
a3ed95caeb02: Already exists | |
55478180287f: Already exists | |
Digest: sha256:b2d533b27109f7c9ea1e270e23f212c47906346f9cffaa4da6da48ed9d8031da | |
Status: Image is up to date for dduportal/bats:0.4.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment