Merge pull request #391 from 3dwardch3ng/app/flight-tracker

add node affinity
This commit is contained in:
2024-06-30 22:45:00 +10:00
committed by GitHub

View File

@@ -120,4 +120,14 @@ spec:
path: /dev/media3
- name: rtl-sdr-swradio0
hostPath:
path: /dev/swradio0
path: /dev/swradio0
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- rpi5-cluster-node-1