创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
虚拟机,Centos7.9
Kubernetes版本信息
1.24.8
容器运行时
KubeSphere版本信息
kk 版本 v3.0.13-dirty
问题是什么
执行以下命令将镜像传递到镜像仓库中,但是报错,穿不进去。
./kk artifact image push -f config-sample.yaml -a kubesphere.tar.gz
| | / / | | | | / /
| |/ / _ _| |__ ___| |/ / ___ _ _
| \| | | | '_ \ / _ \ \ / _ \ | | |
| |\ \ || | |) | __/ |\ \ __/ |_| |
\| \/\,|./ \\| \/\|\__, |
__/ |
|___/
20:40:50 CST [UnArchiveArtifactModule] Check the KubeKey artifact md5 value
20:40:53 CST success: [LocalHost]
20:40:53 CST [UnArchiveArtifactModule] UnArchive the KubeKey artifact
20:40:53 CST skipped: [LocalHost]
20:40:53 CST [UnArchiveArtifactModule] Create the KubeKey artifact Md5 file
20:40:53 CST skipped: [LocalHost]
20:40:53 CST [CopyImagesToRegistryModule] Copy images to a private registry from an artifact OCI Path
20:40:53 CST Source: oci:/root/kubekey/images:kubesphereio:cni:v3.26.1-arm64
20:40:53 CST Destination: docker://172.17.50.17:5000/kubesphereio/cni:v3.26.1-arm64
Getting image source signatures
Getting image source signatures
Getting image source signatures
Getting image source signatures
Getting image source signatures
20:40:53 CST success: [LocalHost]
20:40:53 CST [CopyImagesToRegistryModule] Push multi-arch manifest to private registry
20:40:53 CST message: [LocalHost]
get manifest list failed by module cache
20:40:53 CST failed: [LocalHost]
error: Pipeline[ArtifactImagesPushPipeline] execute failed: Module[CopyImagesToRegistryModule] exec failed:
failed: [LocalHost] [PushManifest] exec failed after 1 retries: get manifest list failed by module cache
配置文件如下这个仓库是我自建的,之所以不用官方的是因为官方搭出来会占用服务器 80 和 443 端口
kind: Cluster
metadata:
name: sample
spec:
hosts:
{name: kubekey-test, address: 172.17.50.19, internalAddress: 172.17.50.19, user: root, password: “authing@123”, arch: arm64}
roleGroups:
etcd:
kubekey-test
control-plane:
kubekey-test
worker:
kubekey-test
controlPlaneEndpoint:
Internal loadbalancer for apiservers
internalLoadbalancer: haproxy
domain: lb.kubesphere.local
address: ""
port: 6443
kubernetes:
version: v1.24.8
clusterName: cluster.local
autoRenewCerts: true
containerManager: containerd
etcd:
type: kubekey
network:
plugin: calico
kubePodsCIDR: 10.233.64.0/18
kubeServiceCIDR: 10.233.0.0/18
multusCNI:
enabled: false
registry:
auths:
“172.17.50.17:5000”:
skipTLSVerify: false
plainHTTP: false
privateRegistry: “172.17.50.17:5000”
namespaceOverride: "kubesphereio"
registryMirrors: []
insecureRegistries: []
addons: []