ci: keep agents on healthy Pi compute workers
This commit is contained in:
parent
1281de2a04
commit
924b5325af
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -17,14 +17,9 @@ spec:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: NotIn
|
||||
values:
|
||||
- titan-06
|
||||
- titan-12
|
||||
- titan-13
|
||||
- titan-14
|
||||
- titan-19
|
||||
- {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