51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: immich-ml
|
|
namespace: photo
|
|
spec:
|
|
interval: 30m
|
|
chartRef:
|
|
kind: OCIRepository
|
|
name: immich
|
|
driftDetection:
|
|
mode: enabled
|
|
values:
|
|
controllers:
|
|
ml:
|
|
containers:
|
|
app:
|
|
# CPU-only: hardware-accelerated tags (-openvino, -cuda, etc)
|
|
# need specific host devices (e.g. /dev/dri) that aren't set up
|
|
# on these nodes. Switch tags later if that changes.
|
|
image:
|
|
repository: ghcr.io/immich-app/immich-machine-learning
|
|
tag: release
|
|
env:
|
|
TZ: Europe/Moscow
|
|
resources:
|
|
requests:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
limits:
|
|
memory: 4Gi
|
|
|
|
service:
|
|
app:
|
|
controller: ml
|
|
ports:
|
|
http:
|
|
port: 3003
|
|
|
|
persistence:
|
|
# caches downloaded ML models so they survive pod restarts instead of
|
|
# re-downloading (a few hundred MB) every time.
|
|
cache:
|
|
type: persistentVolumeClaim
|
|
accessMode: ReadWriteOnce
|
|
size: 10Gi
|
|
storageClass: longhorn-single-replica
|
|
retain: true
|
|
globalMounts:
|
|
- path: /cache
|