immich: enable GPU passthru for transcoding and AI

This commit is contained in:
2025-05-22 11:10:34 -04:00
parent 822d148325
commit 8f50aaa555
2 changed files with 16 additions and 2 deletions

View File

@@ -19,6 +19,8 @@ spec:
mountPath: /cache mountPath: /cache
- name: config - name: config
mountPath: /config/immich-config.yaml mountPath: /config/immich-config.yaml
- name: dev-dri
mountPath: /dev/dri
env: env:
- name: DB_HOSTNAME - name: DB_HOSTNAME
value: "weyma-pgsql-rw.cloudnativepg.svc.cluster.local" value: "weyma-pgsql-rw.cloudnativepg.svc.cluster.local"
@@ -64,6 +66,8 @@ spec:
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 1 timeoutSeconds: 1
failureThreshold: 30 failureThreshold: 30
securityContext:
privileged: true
resources: resources:
limits: limits:
memory: "8Gi" memory: "8Gi"
@@ -77,4 +81,7 @@ spec:
sizeLimit: 10Gi sizeLimit: 10Gi
- name: config - name: config
configMap: configMap:
name: immich-config name: immich-config
- name: dev-dri
hostPath:
path: /dev/dri

View File

@@ -19,6 +19,8 @@ spec:
mountPath: /usr/src/app/upload mountPath: /usr/src/app/upload
- name: config - name: config
mountPath: /config/immich-config.yaml mountPath: /config/immich-config.yaml
- name: dev-dri
mountPath: /dev/dri
env: env:
- name: DB_HOSTNAME - name: DB_HOSTNAME
value: "weyma-pgsql-rw.cloudnativepg.svc.cluster.local" value: "weyma-pgsql-rw.cloudnativepg.svc.cluster.local"
@@ -64,6 +66,8 @@ spec:
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 1 timeoutSeconds: 1
failureThreshold: 30 failureThreshold: 30
securityContext:
privileged: true
resources: resources:
limits: limits:
memory: "8Gi" memory: "8Gi"
@@ -77,4 +81,7 @@ spec:
claimName: immich-library claimName: immich-library
- name: config - name: config
configMap: configMap:
name: immich-config name: immich-config
- name: dev-dri
hostPath:
path: /dev/dri