Immich - Add support for hw acceleration (#1628)

* Immich - Add support for hw acceleration

* bump
This commit is contained in:
Stavros Kois
2023-10-10 16:18:22 +03:00
committed by GitHub
parent df6aa84c17
commit 5c96999bb9
4 changed files with 23 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ description: Immich
annotations:
title: Immich
type: application
version: 1.0.26
version: 1.0.27
apiVersion: v2
appVersion: 1.81.1
kubeVersion: '>=1.16.0-0'

View File

@@ -407,3 +407,12 @@ questions:
- Exponent - eg. 134e6
default: "8Gi"
required: true
- variable: immichGPU
group: Resources Configuration
label: GPU Configuration
schema:
type: dict
$ref:
- "definitions/gpuConfiguration"
attrs: []

View File

@@ -45,4 +45,15 @@ workload:
{{- include "ix.v1.common.app.redisWait" (dict "name" "redis-wait"
"secretName" "redis-creds") | nindent 8 }}
{{- include "immich.wait.init" (dict "url" $url) | indent 8 }}
{{- with .Values.immichGPU }}
scaleGPU:
{{- range $key, $value := . }}
- gpu:
{{ $key }}: {{ $value }}
targetSelector:
microservices:
- microservices
{{- end -}}
{{- end -}}
{{- end -}}

View File

@@ -28,6 +28,8 @@ resources:
cpu: 4000m
memory: 8Gi
immichGPU: {}
immichConfig:
publicLoginMessage: ''
enableML: true