ci: keep agents on healthy Pi compute workers
This commit is contained in:
parent
d876c7a6fb
commit
f303071bb8
23
Jenkinsfile
vendored
23
Jenkinsfile
vendored
@ -16,26 +16,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"]}
|
||||||
values:
|
- {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]}
|
||||||
- titan-04
|
|
||||||
- titan-06
|
|
||||||
- key: node-role.kubernetes.io/worker
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- "true"
|
|
||||||
- key: hardware
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- rpi5
|
|
||||||
- matchExpressions:
|
|
||||||
- key: node-role.kubernetes.io/accelerator
|
|
||||||
operator: Exists
|
|
||||||
- key: jetson
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- "true"
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 100
|
- weight: 100
|
||||||
preference:
|
preference:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user