ci: spread Jenkins agents across nodes
This commit is contained in:
parent
13dcc8aa06
commit
cc428fca87
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -32,6 +32,13 @@ spec:
|
|||||||
- titan-15
|
- titan-15
|
||||||
- titan-17
|
- titan-17
|
||||||
- titan-19
|
- titan-19
|
||||||
|
topologySpreadConstraints:
|
||||||
|
- maxSkew: 1
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
|
whenUnsatisfiable: ScheduleAnyway
|
||||||
|
labelSelector:
|
||||||
|
matchLabels:
|
||||||
|
jenkins/jenkins-jenkins-agent: "true"
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: harbor-robot-pipeline
|
- name: harbor-robot-pipeline
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user