2024-03-29 11:17:50 -05:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: immich-microservices
|
|
|
|
spec:
|
|
|
|
interval: 15m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-04-04 02:04:28 -05:00
|
|
|
version: 3.1.0
|
2024-03-29 11:17:50 -05:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
2024-03-29 13:14:37 -05:00
|
|
|
name: bjw-s
|
2024-03-29 11:17:50 -05:00
|
|
|
namespace: flux-system
|
|
|
|
interval: 15m
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
strategy: rollback
|
|
|
|
values:
|
|
|
|
controllers:
|
|
|
|
immich-microservices:
|
2024-04-02 07:27:35 -05:00
|
|
|
strategy: Recreate
|
2024-03-29 11:17:50 -05:00
|
|
|
annotations:
|
|
|
|
reloader.stakater.com/auto: "true"
|
2024-04-02 07:32:11 -05:00
|
|
|
pod:
|
|
|
|
nodeSelector:
|
|
|
|
nvidia.com/gpu.present: "true"
|
|
|
|
runtimeClassName: nvidia
|
2024-03-29 11:17:50 -05:00
|
|
|
containers:
|
|
|
|
app:
|
|
|
|
image:
|
|
|
|
repository: ghcr.io/immich-app/immich-server
|
2024-04-04 22:01:06 -05:00
|
|
|
tag: v1.101.0
|
2024-03-29 11:17:50 -05:00
|
|
|
command: /bin/sh
|
|
|
|
args:
|
|
|
|
- ./start-microservices.sh
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 100m
|
|
|
|
memory: 250Mi
|
|
|
|
limits:
|
2024-04-02 07:23:01 -05:00
|
|
|
memory: 4000Mi
|
2024-03-29 11:17:50 -05:00
|
|
|
probes:
|
|
|
|
startup:
|
|
|
|
enabled: true
|
|
|
|
spec:
|
|
|
|
failureThreshold: 30
|
|
|
|
periodSeconds: 5
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
2024-03-29 12:21:39 -05:00
|
|
|
name: immich-app-config
|
2024-03-29 11:17:50 -05:00
|
|
|
env:
|
|
|
|
DB_URL:
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: immich-pguser-immich
|
|
|
|
key: uri
|
|
|
|
service:
|
|
|
|
app:
|
|
|
|
controller: immich-microservices
|
|
|
|
enabled: false
|
|
|
|
persistence:
|
|
|
|
media:
|
|
|
|
enabled: true
|
|
|
|
type: nfs
|
|
|
|
server: 10.1.1.13
|
|
|
|
path: /eru/media/immich
|
|
|
|
globalMounts:
|
|
|
|
- path: /usr/src/app/upload
|