250 lines
7.7 KiB
YAML
250 lines
7.7 KiB
YAML
## 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
|
|
- media/anime
|
|
- media/anime/tv
|
|
- media/anime/movies
|
|
# Books & manga (LazyLibrarian / Mylar3 download, Kavita reads)
|
|
- usenet/complete/books
|
|
- usenet/complete/comics
|
|
- media/books
|
|
- media/manga
|
|
|
|
ingress:
|
|
className: traefik
|
|
# 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
|
|
# DNS-01 works for hostnames that only resolve to a private IP.
|
|
clusterIssuer: letsencrypt-dns-cloudflare
|
|
annotations:
|
|
# LAN-only: home network + pods (incl. Tailscale), Middleware traefik/lan-only in apps-in-apps.
|
|
# Side effect: LAN access via the NodePort (:30444) is blocked (arrives SNATed as the
|
|
# node's IP) - use the URL without port.
|
|
traefik.ingress.kubernetes.io/router.middlewares: traefik-lan-only@kubernetescrd
|
|
|
|
# StorageClass for the per-app config PVCs, empty = cluster default.
|
|
storageClassName: ""
|
|
|
|
networkPolicy:
|
|
# Namespaces of the ingress controller(s) allowed to reach isolated apps.
|
|
ingressNamespaces:
|
|
- traefik
|
|
# loki's addresses: kubelet probes and hostNetwork pods (Home Assistant) come from here.
|
|
# 10.1.215.192 = vxlan.calico interface (host -> pod traffic may use it as source).
|
|
nodeIPs:
|
|
- 192.168.2.218
|
|
- 10.1.215.192
|
|
|
|
# Daily active search for upgrades (German instead of English-only), see
|
|
# templates/upgrade-search.yaml. 03:00 local time. Small library (5 series / 12 seasons):
|
|
# a run costs only a few dozen indexer queries.
|
|
upgradeSearch:
|
|
enabled: true
|
|
schedule: "0 3 * * *"
|
|
|
|
initImage: busybox:1.38
|
|
|
|
apps:
|
|
jellyfin:
|
|
enabled: true
|
|
image: lscr.io/linuxserver/jellyfin:12.4ubu2604-ls57
|
|
port: 8096
|
|
configPath: /config
|
|
configSize: 20Gi
|
|
media: true
|
|
ingress: true
|
|
# Intel QuickSync (UHD 630): requests gpu.intel.com/i915 from the Intel GPU device
|
|
# plugin (apps-in-apps: intel-gpu-plugin), which injects /dev/dri. Not privileged.
|
|
gpu: true
|
|
# Remote access without VPN (templates/public-ingress.yaml): DE-only via GeoIP in
|
|
# Traefik, rate limited. jellyfin.smokyzone.de stays LAN/Tailscale-only.
|
|
# templates/networkpolicy.yaml: only the ingress controller, Seerr and the node may connect;
|
|
# Jellyfin itself may only reach DNS and the public internet.
|
|
networkPolicy:
|
|
allowFrom:
|
|
- seerr
|
|
# SeerrFin plugin (runs inside Jellyfin) talks to the Seerr API server-side.
|
|
allowTo:
|
|
- app: seerr
|
|
port: 5055
|
|
publicIngress:
|
|
host: tv.smokyzone.de
|
|
# The web UI loads 40+ scripts/images in parallel at startup (plugins: SeerrFin,
|
|
# Featured, Bonfire ...). Every HTTP/2 stream counts as an in-flight request; 30
|
|
# caused 429s for plugin scripts. Login stays limited separately (10/min).
|
|
limitRps: 50
|
|
limitConnections: 100
|
|
# Jellyfin's routing is case-insensitive, ingress paths are not -> both spellings.
|
|
loginPaths:
|
|
- /Users/AuthenticateByName
|
|
- /users/authenticatebyname
|
|
- /Users/ForgotPassword
|
|
- /users/forgotpassword
|
|
env:
|
|
- name: JELLYFIN_PublishedServerUrl
|
|
value: https://jellyfin.smokyzone.de
|
|
resources:
|
|
requests: {cpu: 250m, memory: 512Mi}
|
|
limits: {cpu: "4", memory: 4Gi}
|
|
|
|
sonarr:
|
|
enabled: true
|
|
image: lscr.io/linuxserver/sonarr:4.0.20.3014-ls2
|
|
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-ls325
|
|
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.7.0.5723-ls166
|
|
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-ls279
|
|
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-ls370
|
|
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.1
|
|
port: 5055
|
|
configPath: /app/config
|
|
configSize: 1Gi
|
|
ingress: true
|
|
linuxserver: false
|
|
resources:
|
|
requests: {cpu: 50m, memory: 192Mi}
|
|
limits: {cpu: 500m, memory: 768Mi}
|
|
|
|
# --- Books & manga ---------------------------------------------------------------
|
|
# Kavita: reader for manga (right-to-left, double pages) and e-books, mobile web/PWA + OPDS.
|
|
# Libraries: /data/media/manga, /data/media/books.
|
|
kavita:
|
|
enabled: true
|
|
image: lscr.io/linuxserver/kavita:v0.9.1.4-ls130
|
|
port: 5000
|
|
configPath: /config
|
|
configSize: 5Gi
|
|
media: true
|
|
ingress: true
|
|
resources:
|
|
requests: {cpu: 50m, memory: 256Mi}
|
|
limits: {cpu: "2", memory: 2Gi}
|
|
|
|
# LazyLibrarian: e-book automation (Prowlarr -> SABnzbd category "books" -> /data/media/books).
|
|
lazylibrarian:
|
|
enabled: true
|
|
image: lscr.io/linuxserver/lazylibrarian:dbf29bf2-ls388
|
|
port: 5299
|
|
configPath: /config
|
|
configSize: 2Gi
|
|
media: true
|
|
ingress: true
|
|
resources:
|
|
requests: {cpu: 50m, memory: 192Mi}
|
|
limits: {cpu: "1", memory: 1Gi}
|
|
|
|
# Mylar3: manga/comic automation via ComicVine metadata
|
|
# (Prowlarr -> SABnzbd category "comics" -> /data/media/manga).
|
|
mylar:
|
|
enabled: true
|
|
image: lscr.io/linuxserver/mylar3:v0.11.0-ls278
|
|
port: 8090
|
|
configPath: /config
|
|
configSize: 2Gi
|
|
media: true
|
|
ingress: true
|
|
resources:
|
|
requests: {cpu: 50m, memory: 192Mi}
|
|
limits: {cpu: "1", memory: 1Gi}
|
|
|
|
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}
|