ci: avoid titan-06 for Jenkins agents
This commit is contained in:
parent
c37bbc7224
commit
41ce27080a
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -9,6 +9,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
|
||||
containers:
|
||||
- name: go-tester
|
||||
image: registry.bstein.dev/bstein/golang:1.22-bookworm
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user