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

@@ -84,4 +84,11 @@ spec:
name: immich-config
- name: dev-dri
hostPath:
path: /dev/dri
path: /dev/dri
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: extensions.talos.dev/i915
operator: Exists