jenkins: spread ci agents and cap concurrency

This commit is contained in:
jenkins 2026-05-10 03:17:50 -03:00
parent fd91537982
commit 7fb0be3487
4 changed files with 22 additions and 1 deletions

7
Jenkinsfile vendored
View File

@ -31,6 +31,13 @@ spec:
- titan-15
- titan-17
- titan-19
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
jenkins/jenkins-jenkins-agent: "true"
containers:
- name: jnlp
image: jenkins/inbound-agent:3355.v388858a_47b_33-2-jdk21

View File

@ -30,6 +30,13 @@ spec:
- titan-15
- titan-17
- titan-19
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
jenkins/jenkins-jenkins-agent: "true"
containers:
- name: jnlp
image: jenkins/inbound-agent:3355.v388858a_47b_33-2-jdk21

View File

@ -468,7 +468,7 @@ data:
plainText
clouds:
- kubernetes:
containerCapStr: "10"
containerCapStr: "4"
connectTimeout: "20"
readTimeout: "90"
jenkinsUrl: "http://jenkins.jenkins.svc.cluster.local:8080"

View File

@ -29,6 +29,13 @@ spec:
- titan-15
- titan-17
- titan-19
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
jenkins/jenkins-jenkins-agent: "true"
containers:
- name: git
image: alpine/git:2.47.1