问题是什么
使用 kk 3.1.7 创建离线仓库,导入镜像
registry:
# 设置集群部署时使用的私有仓库地址。如果您已有可用的镜像仓库,请替换为您的实际镜像仓库地址。
# 如果离线包中为原始 dockerhub 镜像(即 manifest 文件中的镜像地址为 docker.io/***),可以将该参数设置为 dockerhub.kubekey.local/ks, 表示将镜像全部推送至名为 ks 的 harbor 项目中。
privateRegistry: "dockerhub.kubekey.local"
# 如果构建离线包时 Kubernetes 镜像使用的是阿里云仓库镜像,需配置该参数。如果使用 dockerhub 镜像,则无需配置此参数。
namespaceOverride: "kubesphereio"
registryMirrors: []
insecureRegistries: []
auths: # if docker add by `docker login`, if containerd append to `/etc/containerd/config.toml`
"dockerhub.kubekey.local":
username: "admin"
password: "admin"
skipTLSVerify: false # Allow contacting registries over HTTPS with failed TLS verification.
plainHTTP: false # Allow contacting registries over HTTP.
certsPath: "/etc/docker/certs.d/dockerhub.kubekey.local" # Use certificates at path (*.crt, *.cert, *.key) to connect to the registry.`
addons: []
search hit BOTTOM, continuing at TOP
namespaceOverride: “kubesphereio” 没有生效
16:18:59 CST Source: oci:/root/kubekey/images:registry.cn-beijing.aliyuncs.com/kubesphereio/typha:v3.27.4-amd64
16:18:59 CST Destination: docker://dockerhub.kubekey.local/kubesphereio/typha:v3.27.4-amd64
Getting image source signatures