自 KubeSphere v4.1 开始,涉及镜像在华为云镜像仓库也存储了一份,如果您访问 Docker Hub 受限,可以在安装时指定以下两个参数分别将ks-core以及extensions的镜像仓库设置为华为云镜像仓库地址。
–set global.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks
–set extension.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks
示例命令:
helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.3.tgz --set global.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks --set extension.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks --debug --wait
参考链接:https://kubesphere.io/zh/docs/v4.1/02-quickstart/01-install-kubesphere/