- 执行“kubeadm config images pull”报错
failed to pull image "k8s.gcr.io/kube-apiserver:v1.22.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), error: exit status 1 To see the stack trace of this error execute with --v=5 or higher
解决方法:查看需要安装的镜像 kubeadm config images list
通过docker来拉取需要的镜像 docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.22.0
v1.22.0: Pulling from google_containers/kube-apiserver