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:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values:
|
||||
- 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"
|
||||
- {key: hardware, operator: In, values: [rpi5, rpi4]}
|
||||
- {key: node-role.kubernetes.io/worker, operator: In, values: ["true"]}
|
||||
- {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]}
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
preference:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user