Add Helm chart for the media stack
Jellyfin (QuickSync), Sonarr, Radarr, Prowlarr, SABnzbd, Bazarr, Seerr and FlareSolverr in the media namespace. Shared hostPath /srv/media mounted at /data in every pod so imports are hardlinked; per-app config on local-path PVCs; LAN-only ingress via letsencrypt-dns-cloudflare. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
+162
@@ -0,0 +1,162 @@
|
||||
## Values for the media chart.
|
||||
##
|
||||
## Every entry under `apps:` renders a Deployment + Service, and optionally a config PVC
|
||||
## and an Ingress. All apps that set `media: true` share one hostPath directory on the
|
||||
## node, mounted at the same path in every pod, so Sonarr/Radarr can hardlink finished
|
||||
## downloads into the library instead of copying them.
|
||||
|
||||
namespace: media
|
||||
|
||||
# Passed to all linuxserver.io images (they drop privileges to this UID/GID).
|
||||
common:
|
||||
puid: 1000
|
||||
pgid: 1000
|
||||
tz: Europe/Berlin
|
||||
|
||||
media:
|
||||
# Directory on the node (loki). Created on first start if missing.
|
||||
hostPath: /srv/media
|
||||
# Same path inside every pod - required for hardlinks and for path mapping between
|
||||
# SABnzbd and Sonarr/Radarr to just work.
|
||||
mountPath: /data
|
||||
# Created (and chowned to puid:pgid) by an init container. Parents must be listed
|
||||
# before children. Non-recursive: existing files are never touched.
|
||||
dirs:
|
||||
- usenet
|
||||
- usenet/incomplete
|
||||
- usenet/complete
|
||||
- usenet/complete/tv
|
||||
- usenet/complete/movies
|
||||
- media
|
||||
- media/tv
|
||||
- media/movies
|
||||
|
||||
ingress:
|
||||
className: nginx
|
||||
# Each app with `ingress: true` gets <name>.<domain>. The DNS records point at the
|
||||
# node's private IP, so the UIs are only reachable from the LAN / via VPN.
|
||||
domain: smokyzone.de
|
||||
# ingress-nginx is NodePort-only; used to build external URLs (e.g. Jellyfin).
|
||||
httpsPort: 30444
|
||||
# DNS-01 works for hostnames that only resolve to a private IP.
|
||||
clusterIssuer: letsencrypt-dns-cloudflare
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: 100m
|
||||
|
||||
# StorageClass for the per-app config PVCs, empty = cluster default.
|
||||
storageClassName: ""
|
||||
|
||||
initImage: busybox:1.36
|
||||
|
||||
apps:
|
||||
jellyfin:
|
||||
enabled: true
|
||||
image: lscr.io/linuxserver/jellyfin:12.2ubu2604-ls52
|
||||
port: 8096
|
||||
configPath: /config
|
||||
configSize: 20Gi
|
||||
media: true
|
||||
ingress: true
|
||||
# Mounts /dev/dri for Intel QuickSync (UHD 630). Needs a privileged container,
|
||||
# because the device cgroup blocks /dev/dri for unprivileged pods without a GPU
|
||||
# device plugin.
|
||||
gpu: true
|
||||
ingressAnnotations:
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
||||
nginx.ingress.kubernetes.io/proxy-buffering: "off"
|
||||
env:
|
||||
- name: JELLYFIN_PublishedServerUrl
|
||||
value: https://jellyfin.smokyzone.de:30444
|
||||
resources:
|
||||
requests: {cpu: 250m, memory: 512Mi}
|
||||
limits: {cpu: "4", memory: 4Gi}
|
||||
|
||||
sonarr:
|
||||
enabled: true
|
||||
image: lscr.io/linuxserver/sonarr:4.0.20.3014-ls326
|
||||
port: 8989
|
||||
configPath: /config
|
||||
configSize: 5Gi
|
||||
media: true
|
||||
ingress: true
|
||||
resources:
|
||||
requests: {cpu: 100m, memory: 256Mi}
|
||||
limits: {cpu: "1", memory: 1Gi}
|
||||
|
||||
radarr:
|
||||
enabled: true
|
||||
image: lscr.io/linuxserver/radarr:6.4.4.10685-ls319
|
||||
port: 7878
|
||||
configPath: /config
|
||||
configSize: 5Gi
|
||||
media: true
|
||||
ingress: true
|
||||
resources:
|
||||
requests: {cpu: 100m, memory: 256Mi}
|
||||
limits: {cpu: "1", memory: 1Gi}
|
||||
|
||||
prowlarr:
|
||||
enabled: true
|
||||
image: lscr.io/linuxserver/prowlarr:2.6.5.5623-ls162
|
||||
port: 9696
|
||||
configPath: /config
|
||||
configSize: 2Gi
|
||||
ingress: true
|
||||
resources:
|
||||
requests: {cpu: 50m, memory: 128Mi}
|
||||
limits: {cpu: 500m, memory: 512Mi}
|
||||
|
||||
sabnzbd:
|
||||
enabled: true
|
||||
image: lscr.io/linuxserver/sabnzbd:5.1.3-ls275
|
||||
port: 8080
|
||||
configPath: /config
|
||||
configSize: 2Gi
|
||||
media: true
|
||||
ingress: true
|
||||
# SABnzbd rejects requests whose Host header is not whitelisted. Seed/repair
|
||||
# host_whitelist so the ingress hostname and the in-cluster service names work.
|
||||
sabnzbdHostWhitelist: true
|
||||
resources:
|
||||
requests: {cpu: 100m, memory: 256Mi}
|
||||
# Unpacking/repair is CPU heavy.
|
||||
limits: {cpu: "3", memory: 2Gi}
|
||||
|
||||
bazarr:
|
||||
enabled: true
|
||||
image: lscr.io/linuxserver/bazarr:v1.6.2-ls366
|
||||
port: 6767
|
||||
configPath: /config
|
||||
configSize: 2Gi
|
||||
media: true
|
||||
ingress: true
|
||||
resources:
|
||||
requests: {cpu: 50m, memory: 128Mi}
|
||||
limits: {cpu: 500m, memory: 512Mi}
|
||||
|
||||
seerr:
|
||||
enabled: true
|
||||
# Successor of Jellyseerr/Overseerr.
|
||||
image: ghcr.io/seerr-team/seerr:v3.5.0
|
||||
port: 5055
|
||||
configPath: /app/config
|
||||
configSize: 1Gi
|
||||
ingress: true
|
||||
linuxserver: false
|
||||
resources:
|
||||
requests: {cpu: 50m, memory: 192Mi}
|
||||
limits: {cpu: 500m, memory: 768Mi}
|
||||
|
||||
flaresolverr:
|
||||
enabled: true
|
||||
image: ghcr.io/flaresolverr/flaresolverr:v3.5.2
|
||||
port: 8191
|
||||
# Stateless, only used by Prowlarr in-cluster (http://flaresolverr:8191).
|
||||
linuxserver: false
|
||||
env:
|
||||
- name: LOG_LEVEL
|
||||
value: info
|
||||
resources:
|
||||
requests: {cpu: 50m, memory: 256Mi}
|
||||
limits: {cpu: "1", memory: 1Gi}
|
||||
Reference in New Issue
Block a user