kubesphere装的jenkins默认密码是P@88w0rd
kubesphere配置凭证
gitlab配置token
jenkins-token:yiw-Dd3PkuWPx1vtgKP8
devops: RRs12nv63xMTEUsejEbs
harbor-id: paas Paas12345
kubeconfig
去jenkins配置gitlab



注意,id必须是第一步在gitlab中创建token时写的token名字

测试连接成功
- 去gitlab配置webhook
第一次下载依赖

第二次就不重新下载了

OOM

修改内存设置
1 | kubectl -n kubesphere-devops-system edit deploy devops-jenkins |
把内存都改大
docker: command not found
改用nerdctl
(112条消息) k8s最新版本1.24.3基于containerd的集群部署、打包和Jenkins流水线定义_Leoly003的博客-CSDN博客_k8s打包
KubeSphere DevOps 流水线如何去 Docker - KubeSphere 开发者社区
之前是

/var/lib/containers
普通账户无法触发流水线
1 | http://1x.xxx.4.1:30880/kapis/devops.kubesphere.io/v1alpha3/namespaces/demo222cg9/pipelines/xxx/pipelineruns?branch=master |