ci: keep agents on healthy Pi compute workers
This commit is contained in:
parent
342a64037a
commit
2db096650e
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
@ -18,21 +18,9 @@ spec:
|
|||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- key: kubernetes.io/hostname
|
- {key: hardware, operator: In, values: [rpi5, rpi4]}
|
||||||
operator: NotIn
|
- {key: node-role.kubernetes.io/worker, operator: In, values: ["true"]}
|
||||||
# Storage and quarantined nodes are not build fallback capacity.
|
- {key: kubernetes.io/hostname, operator: NotIn, values: [titan-04, titan-05, titan-06, titan-08, titan-11, titan-12, titan-13, titan-14, titan-15, titan-17, titan-18, titan-19]}
|
||||||
values:
|
|
||||||
- titan-04
|
|
||||||
- titan-05
|
|
||||||
- titan-06
|
|
||||||
- titan-11
|
|
||||||
- titan-12
|
|
||||||
- titan-13
|
|
||||||
- titan-14
|
|
||||||
- titan-15
|
|
||||||
- titan-17
|
|
||||||
- titan-18
|
|
||||||
- titan-19
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 100
|
- weight: 100
|
||||||
preference:
|
preference:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user