centos安装k8s-1.21.1版本、初始化无法拉取coredns:v1.8.0
[ERROR ImagePull]: failed to pull image k8s.gcr.io/coredns/coredns:v1.8.0: output: Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Clie
·
初始化
kubeadm init --apiserver-advertise-address 192.168.100.220 --kubernetes-version=v1.21.1 --pod-network-cidr=10.244.0.0/16
提示
[ERROR ImagePull]: failed to pull image k8s.gcr.io/coredns/coredns:v1.8.0: output: Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
解决方法
1、tag前面需要加v
2、REPOSITORY改名为coredns/coredns
更多推荐
已为社区贡献1条内容
所有评论(0)