ci: avoid titan-06 for Jenkins agents
This commit is contained in:
parent
18d518b47a
commit
13dcc8aa06
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -12,6 +12,26 @@ spec:
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: arm64
|
||||
node-role.kubernetes.io/worker: "true"
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values:
|
||||
- titan-06
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values:
|
||||
- titan-13
|
||||
- titan-15
|
||||
- titan-17
|
||||
- titan-19
|
||||
imagePullSecrets:
|
||||
- name: harbor-robot-pipeline
|
||||
containers:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user