logging: pin opensearch ISM job to rpi
This commit is contained in:
parent
7a9cf1df98
commit
b668e2d29e
@ -2,7 +2,7 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: opensearch-ism-setup-1
|
||||
name: opensearch-ism-setup-2
|
||||
namespace: logging
|
||||
spec:
|
||||
backoffLimit: 3
|
||||
@ -10,6 +10,18 @@ spec:
|
||||
template:
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/worker: "true"
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: hardware
|
||||
operator: In
|
||||
values:
|
||||
- rpi5
|
||||
- rpi4
|
||||
containers:
|
||||
- name: apply
|
||||
image: alpine:3.20
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user