kubeadm init 报错 aliyuncs.com/google_containers/kube-apiserver:v1.18.8 not found
来源:9-5 使用kubeadm搭建多节点K8S集群
Ganjr
2020-08-20
[vagrant@k8s-master ~]$ sudo kubeadm init --pod-network-cidr 172.100.0.0/16 --apiserver-advertise-address 192.168.205.120 --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers
W0820 05:51:19.673829 3974 configset.go:202] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
[init] Using Kubernetes version: v1.18.8
[preflight] Running pre-flight checks
[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This might take a minute or two, depending on the speed of your internet connection
[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.18.8: output: Error response from daemon: manifest for registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.18.8 not found: manifest unknown: manifest unknown
, error: exit status 1
[ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers/kube-controller-manager:v1.18.8: output: Error response from daemon: manifest for registry.cn-hangzhou.aliyuncs.com/google_containers/kube-controller-manager:v1.18.8 not found: manifest unknown: manifest unknown
, error: exit status 1
[ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers/kube-scheduler:v1.18.8: output: Error response from daemon: manifest for registry.cn-hangzhou.aliyuncs.com/google_containers/kube-scheduler:v1.18.8 not found: manifest unknown: manifest unknown
, error: exit status 1
[ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers/kube-proxy:v1.18.8: output: Error response from daemon: manifest for registry.cn-hangzhou.aliyuncs.com/google_containers/kube-proxy:v1.18.8 not found: manifest unknown: manifest unknown
, error: exit status 1
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
To see the stack trace of this error execute with --v=5 or higher
写回答
1回答
-
麦兜搞IT
2020-08-22
估计是阿里的这个镜像源有问题,您再找找其他的国内源试试?
032020-08-27
相似问题