immich: enable GPU passthru for transcoding and AI
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user