logging: use the OpenSearch chart nodeAffinity setting
This commit is contained in:
parent
3519a54801
commit
3159759e3a
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user