logging: use the OpenSearch chart nodeAffinity setting

This commit is contained in:
jenkins 2026-10-03 00:22:44 -05:00
parent 3519a54801
commit 3159759e3a

View File

@ -89,33 +89,32 @@ spec:
node.store.allow_mmap: false
nodeSelector:
node-role.kubernetes.io/worker: "true"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: hardware
operator: In
values:
- rpi5
- rpi4
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values: [titan-22]
# Pi workers first; Titan-22 is the explicit last-resort CPU host.
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: hardware
operator: In
values: [rpi5]
- weight: 50
preference:
matchExpressions:
- key: hardware
operator: In
values: [rpi4]
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: hardware
operator: In
values:
- rpi5
- rpi4
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values: [titan-22]
# Pi workers first; Titan-22 is the explicit last-resort CPU host.
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: hardware
operator: In
values: [rpi5]
- weight: 50
preference:
matchExpressions:
- key: hardware
operator: In
values: [rpi4]
sysctlInit:
enabled: true