shaowenchenK零SK贰SK壹S
安装时,改了 jenkins 什么配置变量?
安装时,改了 jenkins 什么配置变量?
RolandMa1986
具体报错内容:
TASK [ks-devops/jenkins : Jenkins | Deploy Jenkins] ****************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/helm upgrade –install ks-jenkins /kubesphere/kubesphere/jenkins/jenkins -f /kubesphere/kubesphere/jenkins/custom-values-jenkins.yaml –namespace kubesphere-devops-system\n”, “delta”: “0:00:00.318379”, “end”: “2020-11-19 09:54:22.665566”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-11-19 09:54:22.347187”, “stderr”: “coalesce.go:199: warning: destination for InitScripts is a table. Ignoring non-table value <nil>\nError: parse error at (jenkins/templates/config.yaml:223): unexpected EOF”, “stderr_lines”: [“coalesce.go:199: warning: destination for InitScripts is a table. Ignoring non-table value <nil>”, “Error: parse error at (jenkins/templates/config.yaml:223): unexpected EOF”], “stdout”: "Release \“ks-jenkins\” does not exist. Installing it now.", “stdout_lines”: ["Release \“ks-jenkins\” does not exist. Installing it now."]}
PLAY RECAP *********************************************************************************************************************************************************************************************************************************
localhost : ok=14 changed=9 unreachable=0 failed=1 skipped=14 rescued=0 ignored=0
shaowenchen 没动过相关配置
mycolo1983 麻烦你进入ks-installer 的容器,然后把kubesphere/jenkins 文件夹下的custom-values-jenkins.yaml copy出来。我们可以试一下能能不能本地重现
RolandMa1986
附件格式什么?yaml,rar,zip都不能上传
我试了下,应该是用了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 的镜像用的那个
mycolo1983 是 kubespehre /ks-installer:v3.0.0不是kubespheredev , 请问您参考那个文档安装的?
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 马上就推送了镜像
Cauchy
改成3.0.0后可以了,多谢!
mycolo1983 收到,谢谢。 阿里云ACK的那篇文章使用的是开发版的yaml文件,文档需要更新一下了~
RolandMa1986 @Cauchy Cauchy 先更新一下那个帖子吧,我们测试验证后再加到官网