mirror of
https://github.com/truenas/charts.git
synced 2026-04-01 18:01:25 +08:00
immich: allow passing gpu to serevr (#2646)
* immich: allow passing gpu to serevr * bump
This commit is contained in:
@@ -4,7 +4,7 @@ description: Immich is a self-hosted photo and video backup solution directly fr
|
||||
annotations:
|
||||
title: Immich
|
||||
type: application
|
||||
version: 4.0.6
|
||||
version: 4.0.7
|
||||
apiVersion: v2
|
||||
appVersion: 1.108.0
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
|
||||
@@ -843,7 +843,7 @@ questions:
|
||||
schema:
|
||||
type: string
|
||||
max_length: 12
|
||||
valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
|
||||
valid_chars: "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$"
|
||||
valid_chars_error: |
|
||||
Valid Memory limit formats are</br>
|
||||
- Suffixed with E/P/T/G/M/K - eg. 1G</br>
|
||||
@@ -861,3 +861,23 @@ questions:
|
||||
$ref:
|
||||
- "definitions/gpuConfiguration"
|
||||
attrs: []
|
||||
- variable: immichGPUContainers
|
||||
group: Resources Configuration
|
||||
label: GPU Containers
|
||||
description: Select which containers should use GPU.
|
||||
schema:
|
||||
type: dict
|
||||
# This will only hide it if there are no GPUs available
|
||||
# but will still show if there are 0 GPUs selected.
|
||||
show_if: [["immichGPU", "!=", {}]]
|
||||
attrs:
|
||||
- variable: server
|
||||
label: Enable GPU for Server
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
- variable: machinelearning
|
||||
label: Enable GPU for Machine Learning
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
|
||||
@@ -88,8 +88,14 @@ scaleGPU:
|
||||
- gpu:
|
||||
{{ $key }}: {{ $value }}
|
||||
targetSelector:
|
||||
{{- if $.Values.immichGPUContainers.server }}
|
||||
server:
|
||||
- server
|
||||
{{- end }}
|
||||
{{- if $.Values.immichGPUContainers.machinelearning }}
|
||||
machinelearning:
|
||||
- machinelearning
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user