logging: pin opensearch to rpi5

This commit is contained in:
Brad Stein 2026-01-09 09:00:25 -03:00
parent b668e2d29e
commit 8e94038858
3 changed files with 6 additions and 6 deletions

View File

@ -35,6 +35,7 @@ spec:
memory: "512Mi" memory: "512Mi"
nodeSelector: nodeSelector:
node-role.kubernetes.io/worker: "true" node-role.kubernetes.io/worker: "true"
hardware: rpi5
affinity: affinity:
nodeAffinity: nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
@ -44,4 +45,3 @@ spec:
operator: In operator: In
values: values:
- rpi5 - rpi5
- rpi4

View File

@ -42,6 +42,7 @@ 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"
hardware: rpi5
affinity: affinity:
nodeAffinity: nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
@ -51,6 +52,5 @@ spec:
operator: In operator: In
values: values:
- rpi5 - rpi5
- rpi4
sysctlInit: sysctlInit:
enabled: true enabled: true

View File

@ -2,7 +2,7 @@
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: opensearch-ism-setup-2 name: opensearch-ism-setup-3
namespace: logging namespace: logging
spec: spec:
backoffLimit: 3 backoffLimit: 3
@ -12,6 +12,7 @@ spec:
restartPolicy: OnFailure restartPolicy: OnFailure
nodeSelector: nodeSelector:
node-role.kubernetes.io/worker: "true" node-role.kubernetes.io/worker: "true"
hardware: rpi5
affinity: affinity:
nodeAffinity: nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
@ -19,9 +20,8 @@ spec:
- matchExpressions: - matchExpressions:
- key: hardware - key: hardware
operator: In operator: In
values: values:
- rpi5 - rpi5
- rpi4
containers: containers:
- name: apply - name: apply
image: alpine:3.20 image: alpine:3.20