[ERROR ImagePull]: failed to pull image [k8s.gcr.io/kube-apiserver-amd64:v1.11.1]: exit status 1

在使用 kubeadm 初始化 Kubernetes 集群时遇到 ImagePull 错误,提示 kube-apiserver, kube-controller-manager, kube-scheduler 和 kube-proxy 的 v1.11.1 镜像拉取失败。问题原因为镜像版本不匹配,解决方案是检查并确保 kubeadm 版本与指定的 Kubernetes 版本一致。" 108270739,9897870,解决jsp嵌入html文件后中文乱码问题,"['jsp开发', 'html嵌入', '字符编码']

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题描述

[root@localhost ~]# kubeadm init --kubernetes-version=v1.11.1 --pod-network-cidr=10.244.0.0/16 --service-cidr=10.96.0.0/12

在进行k8s集群初始化的时候,报以下错误:

[preflight] Some fatal errors occurred:
[ERROR ImagePull]: failed to pull image [k8s.gcr.io/kube-apiserver-amd64:v1.11.1]: exit status 1
[ERROR ImagePull]: failed to pull image [k8s.gcr.io/kube-controller-manager-amd64:v1.11.1]: exit status 1
[ERROR ImagePull]: failed to pull image [k8s.gcr.io/kube-scheduler-amd64:v1.11.1]: exit status 1
[ERROR ImagePull]: failed to pull image [k8s.gcr.io/kube-proxy-amd64:v1.11.1]: exit status 1

原因

[preflight] Some fatal errors occurred: [ERROR ImagePull]: failed to pull image registry.k8s.io/kube-apiserver:v1.32.6: failed to pull image registry.k8s.io/kube-apiserver:v1.32.6: Error response from daemon: Head "https://asia-east1-docker.pkg.dev/v2/k8s-artifacts-prod/images/kube-apiserver/manifests/v1.32.6": dial tcp 74.125.204.82:443: i/o timeout [ERROR ImagePull]: failed to pull image registry.k8s.io/kube-controller-manager:v1.32.6: failed to pull image registry.k8s.io/kube-controller-manager:v1.32.6: Error response from daemon: Head "https://asia-east1-docker.pkg.dev/v2/k8s-artifacts-prod/images/kube-controller-manager/manifests/v1.32.6": dial tcp 74.125.204.82:443: i/o timeout [ERROR ImagePull]: failed to pull image registry.k8s.io/kube-scheduler:v1.32.6: failed to pull image registry.k8s.io/kube-scheduler:v1.32.6: Error response from daemon: Head "https://europe-west2-docker.pkg.dev/v2/k8s-artifacts-prod/images/kube-scheduler/manifests/v1.32.6": dial tcp 74.125.204.82:443: i/o timeout [ERROR ImagePull]: failed to pull image registry.k8s.io/kube-proxy:v1.32.6: failed to pull image registry.k8s.io/kube-proxy:v1.32.6: Error response from daemon: Head "https://us-west2-docker.pkg.dev/v2/k8s-artifacts-prod/images/kube-proxy/manifests/v1.32.6": dial tcp 74.125.204.82:443: i/o timeout [ERROR ImagePull]: failed to pull image registry.k8s.io/coredns/coredns:v1.11.3: failed to pull image registry.k8s.io/coredns/coredns:v1.11.3: Error response from daemon: Head "https://us-west2-docker.pkg.dev/v2/k8s-artifacts-prod/images/coredns/coredns/manifests/v1.11.3": dial tcp 74.125.204.82:443: i/o timeout [ERROR ImagePull]: failed to pull image registry.k8s.io/pause:3.10: failed to pull image registry.k8s.io/pause:3.10: Error response from daemon: Head "https://us-west2-docker.pkg.dev/v2/k8s-artifacts-prod/images/pause/manifests/3.10": dial tcp 74.125.204.82:443: i/o timeout [ERROR ImagePull]: failed to pull image registry.k8s.io/etcd:3.5.16-0: failed to pull image registry.k8s.io/etcd:3.5.16-0: Error response from daemon: Head "https://europe-west2-docker.pkg.dev/v2/k8s-artifacts-prod/images/etcd/manifests/3.5.16-0": dial tcp 74.125.204.82:443: i/o timeout [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...` error execution phase preflight
最新发布
07-14
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值