immich: add pod affinity for GPU passthru
This commit is contained in:
@@ -85,3 +85,10 @@ spec:
|
|||||||
- name: dev-dri
|
- name: dev-dri
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /dev/dri
|
path: /dev/dri
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: extensions.talos.dev/i915
|
||||||
|
operator: Exists
|
||||||
@@ -85,3 +85,10 @@ spec:
|
|||||||
- name: dev-dri
|
- name: dev-dri
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /dev/dri
|
path: /dev/dri
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: extensions.talos.dev/i915
|
||||||
|
operator: Exists
|
||||||
Reference in New Issue
Block a user