theshire/.archive/kubernetes/default/jellyfin/app/helmrelease.yaml

117 lines
3.1 KiB
YAML
Raw Normal View History

2024-01-11 15:03:54 -06:00
---
2024-03-19 17:38:08 -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
2024-01-11 15:03:54 -06:00
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: jellyfin
namespace: default
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.1.0
2024-01-11 15:03:54 -06:00
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
2024-03-19 17:38:08 -05:00
strategy: rollback
2024-01-11 15:03:54 -06:00
values:
controllers:
2024-03-19 17:38:08 -05:00
jellyfin:
2024-01-11 15:03:54 -06:00
type: statefulset
annotations:
reloader.stakater.com/auto: "true"
containers:
2024-03-19 17:38:08 -05:00
app:
2024-01-11 15:03:54 -06:00
image:
repository: jellyfin/jellyfin
tag: 10.8.13
env:
2024-01-18 06:41:46 -06:00
NVIDIA_VISIBLE_DEVICES: "all"
NVIDIA_DRIVER_CAPABILITIES: "compute,video,utility"
2024-01-11 15:03:54 -06:00
DOTNET_SYSTEM_IO_DISABLEFILELOCKING: "true"
JELLYFIN_FFmpeg__probesize: 50000000
JELLYFIN_FFmpeg__analyzeduration: 50000000
JELLYFIN_PublishedServerUrl: jelly.hsn.dev
TZ: America/Chicago
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /health
port: &port 8096
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
resources:
requests:
2024-01-13 16:16:06 -06:00
nvidia.com/gpu: 1 # requesting 1 GPU
2024-01-11 15:03:54 -06:00
cpu: 100m
memory: 512Mi
limits:
2024-01-13 16:16:06 -06:00
nvidia.com/gpu: 1
2024-01-11 15:03:54 -06:00
memory: 4Gi
pod:
2024-03-19 17:38:08 -05:00
runtimeClassName: nvidia
2024-01-11 15:03:54 -06:00
enableServiceLinks: false
nodeSelector:
2024-01-13 16:18:03 -06:00
nvidia.com/gpu.present: "true"
2024-01-11 15:03:54 -06:00
securityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: [44, 105, 10000]
service:
2024-03-19 17:38:08 -05:00
app:
controller: jellyfin
2024-01-11 15:03:54 -06:00
ports:
http:
port: *port
ingress:
2024-03-19 17:38:08 -05:00
app:
2024-01-11 15:03:54 -06:00
enabled: true
2024-01-12 19:55:57 -06:00
className: external-nginx
2024-01-11 15:03:54 -06:00
annotations:
2024-01-12 20:00:53 -06:00
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
external-dns.alpha.kubernetes.io/target: external.hsn.dev
2024-01-11 15:03:54 -06:00
hosts:
- host: &host "jelly.hsn.dev"
paths:
- path: /
service:
2024-03-19 17:38:08 -05:00
identifier: app
2024-01-11 15:03:54 -06:00
port: http
tls:
- hosts:
- *host
persistence:
2024-01-18 06:09:31 -06:00
config:
existingClaim: jellyfin
enabled: true
2024-01-11 15:03:54 -06:00
transcode:
type: emptyDir
globalMounts:
- path: /transcode
media:
2024-01-13 09:59:53 -06:00
enabled: true
type: nfs
2024-03-19 17:38:08 -05:00
server: 10.1.1.12
path: /mnt/users/Media
2024-01-11 15:03:54 -06:00
globalMounts:
- path: /media