安装监控插件,镜像拉取失败,可以提供一个镜像源吗谢谢

@小k 安装 KubeSphere 时,因为无法访问 dockerhub,拉不到镜像怎么办?

在安装 KubeSphere 时,如果因为无法访问 Docker Hub 而拉不到镜像,您可以采取以下步骤:

  1. 使用华为云镜像仓库作为替代。华为云镜像仓库存储了 KubeSphere 所需的所有镜像,您可以在安装时指定华为云镜像仓库地址的参数来解决这个问题。

  2. 添加以下两个参数到安装命令中,以将 ks-core 和 extensions 的镜像仓库设置为华为云镜像仓库地址:

       --set global.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks
       --set extension.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks
  3. 示例命令如下:

       helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.2.tgz --set global.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks --set extension.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks --debug --wait
  4. 更多详细的安装指导和应用管理信息可以在 KubeSphere 官方文档中找到。

参考链接:KubeSphere 官方文档