k8s 集群搭建:https://www.shuzhiduo.com/A/QV5ZDG04zy/
kubeadm init 报超时错误:
failed to pull image “k8s.gcr.io/kube-apiserver:v1.20.4”: 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)
解决:加上镜像源
kubeadm init --image-repository=registry.aliyuncs.com/google_containers