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
Here I setup a high-availability k8s environment for POC. k8sma and k8smb are both master nodes. k8sma also plays a role as insecure-registries hub in local. k8s HA-clutster is based on keepalived and haproxy. I unzip tar-ball of calico-3.29.1 from gitlab and replace all images location with my local insecure-registries hub's address for yaml files under: /calico-3.29.1/manifests. And deploy tigera-operator.yaml and custom-resources.yaml on the first node with no problems[all are in running status]. When deploy k8s second master node, calico pods such as calico-node-w4tfl and csi-node-driver-2xmqm are in pending status. Related events show they are still trying to pull image "docker.io/calico/pod2daemon-flexvol:v3.29.1". But these calico pods are created automatically by k8s and populate from first master node, how to adjust their image path settings from k8s? Both master nodes' /etc/docker/daemon.json have registered insecure-registries: k8sma:5000[my local docker hub is baesd on it. It's the first k8s master node]. No firewalld acl set within all k8s nodes. Attached zip file is /calico-3.29.1/manifests, which is adjusted for my POC environment including configure calico related images download from local.
Warning Failed 33m kubelet Failed to pull image "docker.io/calico/pod2daemon-flexvol:v3.29.1": rpc error: code = DeadlineExceeded desc = failed to pull and unpack image "docker.io/calico/pod2daemon-flexvol:v3.29.1": failed to resolve reference "docker.io/calico/pod2daemon-flexvol:v3.29.1": failed to do request: Head "https://registry-1.docker.io/v2/calico/pod2daemon-flexvol/manifests/v3.29.1": dial tcp 69.63.186.31:443: i/o timeout
Warning Failed 33m kubelet Failed to pull image "docker.io/calico/pod2daemon-flexvol:v3.29.1": rpc error: code = DeadlineExceeded desc = failed to pull and unpack image "docker.io/calico/pod2daemon-flexvol:v3.29.1": failed to resolve reference "docker.io/calico/pod2daemon-flexvol:v3.29.1": failed to do request: Head "https://registry-1.docker.io/v2/calico/pod2daemon-flexvol/manifests/v3.29.1": dial tcp 69.63.186.31:443: i/o timeout
It sounds like your container runtime is attempting to pull the images from DockerHub, and isn't able to. Shouldn't it be trying to pull from your local registry?
Here I setup a high-availability k8s environment for POC. k8sma and k8smb are both master nodes. k8sma also plays a role as insecure-registries hub in local. k8s HA-clutster is based on keepalived and haproxy. I unzip tar-ball of calico-3.29.1 from gitlab and replace all images location with my local insecure-registries hub's address for yaml files under: /calico-3.29.1/manifests. And deploy tigera-operator.yaml and custom-resources.yaml on the first node with no problems[all are in running status]. When deploy k8s second master node, calico pods such as calico-node-w4tfl and csi-node-driver-2xmqm are in pending status. Related events show they are still trying to pull image "docker.io/calico/pod2daemon-flexvol:v3.29.1". But these calico pods are created automatically by k8s and populate from first master node, how to adjust their image path settings from k8s? Both master nodes' /etc/docker/daemon.json have registered insecure-registries: k8sma:5000[my local docker hub is baesd on it. It's the first k8s master node]. No firewalld acl set within all k8s nodes. Attached zip file is /calico-3.29.1/manifests, which is adjusted for my POC environment including configure calico related images download from local.
Warning Failed 33m kubelet Failed to pull image "docker.io/calico/pod2daemon-flexvol:v3.29.1": rpc error: code = DeadlineExceeded desc = failed to pull and unpack image "docker.io/calico/pod2daemon-flexvol:v3.29.1": failed to resolve reference "docker.io/calico/pod2daemon-flexvol:v3.29.1": failed to do request: Head "https://registry-1.docker.io/v2/calico/pod2daemon-flexvol/manifests/v3.29.1": dial tcp 69.63.186.31:443: i/o timeout
The text was updated successfully, but these errors were encountered: