immich: add pod affinity for GPU passthru

This commit is contained in:
2025-05-22 11:12:27 -04:00
parent 8f50aaa555
commit 6fc2b1f892
2 changed files with 16 additions and 2 deletions

View File

@@ -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

View File

@@ -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