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 node.store.allow_mmap: false
nodeSelector: nodeSelector:
node-role.kubernetes.io/worker: "true" node-role.kubernetes.io/worker: "true"
affinity: nodeAffinity:
nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution:
requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms:
nodeSelectorTerms: - matchExpressions:
- matchExpressions: - key: hardware
- key: hardware operator: In
operator: In values:
values: - rpi5
- rpi5 - rpi4
- rpi4 - matchExpressions:
- matchExpressions: - key: kubernetes.io/hostname
- key: kubernetes.io/hostname operator: In
operator: In values: [titan-22]
values: [titan-22] # Pi workers first; Titan-22 is the explicit last-resort CPU host.
# Pi workers first; Titan-22 is the explicit last-resort CPU host. preferredDuringSchedulingIgnoredDuringExecution:
preferredDuringSchedulingIgnoredDuringExecution: - weight: 100
- weight: 100 preference:
preference: matchExpressions:
matchExpressions: - key: hardware
- key: hardware operator: In
operator: In values: [rpi5]
values: [rpi5] - weight: 50
- weight: 50 preference:
preference: matchExpressions:
matchExpressions: - key: hardware
- key: hardware operator: In
operator: In values: [rpi4]
values: [rpi4]
sysctlInit: sysctlInit:
enabled: true enabled: true