add node affinity
This commit is contained in:
@@ -121,3 +121,13 @@ spec:
|
|||||||
- name: rtl-sdr-swradio0
|
- name: rtl-sdr-swradio0
|
||||||
hostPath:
|
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
|
||||||
Reference in New Issue
Block a user