• DevOps未解决
  • 阿里云部署kubesphere后,添加devops组件,安装无法成功

mycolo1983 麻烦你进入ks-installer 的容器,然后把kubesphere/jenkins 文件夹下的custom-values-jenkins.yaml copy出来。我们可以试一下能能不能本地重现

    mycolo1983

    我试了下,应该是用了ks-installer的latest版本, 可以换成v3.0.0的版本试试,v3.0.0应该没有这个问题。

    kubectl -n kubesphere-system set image deploy/ks-installer ks-installer=kubespehre/ks-installer:v3.0.0
    kubectl -n kubesphere-controls-system set image deploy/kubectl-admin kubectl=kubesphere/kubectl:v1.0.0

    再修改一下配置文件中的 kubectlImage, 重启ks-controller-manager

    kubectl -n kubesphere-system edit cm kubesphere-config
    kubectl -n kubesphere-system rollout restart deploy/ks-controller-manager

      @Rick 需要关注下这个问题,可能是改了 jenkins 部署方式导致的,master 分支

      @shaowenchen 没有latest版本呀

      docker pull kubesphere/ks-installer
      Using default tag: latest
      Error response from daemon: manifest for kubesphere/ks-installer:latest not found: manifest unknown: manifest unknown

      @mycolo1983 你看下 ks-installer 的镜像用的那个

        Rick
        [root@iZ .kube]# docker images | grep installer
        kubespheredev/ks-installer latest a66a9ca1e5e2 2 days ago 732MB
        kubesphere/ks-installer v3.0.0 2654183985d6 2 weeks ago 692MB
        [root@iZbp1gkh8uqa5jd42kfhunZ .kube]#

        Rick kubespheredev 下面的,合并代码之后,ci 马上就推送了镜像

        mycolo1983 收到,谢谢 阿里云ACK的那篇文章使用的是开发版的yaml文件,文档需要更新一下了~

          4 年 后

          Rick 大佬,我也遇到这个问题了。我本身的ks-installer的镜像版本是3.3.2。我按照这个帖子说的,把ks-installer的镜像换成3.0.0, 还是不可以。我的kubesphere的版本是3.3.2。