ks-devops icon indicating copy to clipboard operation
ks-devops copied to clipboard

how to run more than one DevOps pipeline

Open javaXiaoHan opened this issue 3 years ago • 6 comments

为什么流水线任务只能开启一个,一个运行的时候,其他的流水线都是在队列中等待。该怎么设置并发运行。 @lshmouse 方便解答下吗

javaXiaoHan avatar Aug 12 '22 03:08 javaXiaoHan

Kubesphere version:v3.3.0 Kubernetes version:v1.23.7 3 master and 4 nodes(all is aliyun ecc 8 vCPU 16 GiB) @larryliuqing 能帮忙看下吗

javaXiaoHan avatar Aug 15 '22 02:08 javaXiaoHan

/kind support

LinuxSuRen avatar Aug 15 '22 05:08 LinuxSuRen

hi @javaXiaoHan , you could update the following ConfigMap:

kubesphere-devops-system/jenkins-casc-config

increase the value to your desired number jenkins_user.yaml > jenkins.clouds.containerCapStr

LinuxSuRen avatar Aug 15 '22 05:08 LinuxSuRen

hi @javaXiaoHan , you could update the following ConfigMap:

kubesphere-devops-system/jenkins-casc-config

increase the value to your desired number jenkins_user.yaml > jenkins.clouds.containerCapStr

thank u very much! increase the value to your desired number and then run 'kubectl rollout restart -n kubesphere-system' this command?

javaXiaoHan avatar Aug 15 '22 06:08 javaXiaoHan

image 3E626436-F95F-467d-AC1E-F3A96ACC3AAC 一个流水线工作的时候,我启动另一个还是一直在初始化。

javaXiaoHan avatar Aug 15 '22 06:08 javaXiaoHan

hi @javaXiaoHan , you don't need to do anything once you updated that value correctly. See also the following document.

https://kubesphere.com.cn/en/docs/v3.3/devops-user-guide/how-to-use/pipelines/jenkins-setting/

LinuxSuRen avatar Aug 15 '22 07:08 LinuxSuRen

increase the value to your desired number jenkins_user.yaml > jenkins.clouds.containerCapStr

thank you! i find your pr

javaXiaoHan avatar Aug 17 '22 08:08 javaXiaoHan