jellyfin

by alekc

Helm chartv0.9.0App 10.11.11GPL-2.0Verified publisher

Jellyfin media server: organizes and streams your movies, TV shows, music and photos to any device, with hardware-accelerated transcoding and no licensing fees or telemetry.

About this chart

jellyfin

Jellyfin media server: organizes and streams your movies, TV shows, music and photos to any device, with hardware-accelerated transcoding and no licensing fees or telemetry.

Jellyfin is a free, open-source media server: it organizes your movies, TV shows, music and photos and streams them to any device, with hardware-accelerated transcoding, no licensing fees and no telemetry. This chart runs the server as a Deployment with separate PersistentVolumeClaims for /config and /cache, and an optional Ingress.

Quick start

From the classic chart repository:

helm repo add alekc https://charts.alekc.dev
helm repo update
helm install my-jellyfin alekc/jellyfin \
  --set ingress.enabled=true \
  --set ingress.hosts[0].host=jellyfin.example.com

Or directly from the OCI registry, no helm repo add needed:

helm install my-jellyfin oci://charts.alekc.dev/jellyfin --version 0.9.0

Verifying the signature

curl -sO https://charts.alekc.dev/pubring.gpg
helm pull oci://charts.alekc.dev/jellyfin --version 0.9.0 --verify --keyring pubring.gpg

Maintainers

NameEmailUrl
alekc[email protected]https://blog.alekc.org

Source Code

Gotchas

  • persistence.config/persistence.cache default to ReadWriteOnce. Running more than one replica isn't just wasteful, it's impossible on most storage classes since both PVCs can only bind to one node at a time. Leave replicaCount at 1.
  • Environment variables go under env.simple or env.full, not a flat top-level env: map. A values file that sets env.NVIDIA_DRIVER_CAPABILITIES: all directly merges into the existing env.simple/env.full keys instead of replacing them, so env.simple and env.full both stay empty and no env: block renders on the container at all, silently dropping GPU/hardware-transcoding variables. Use env.simple.NVIDIA_DRIVER_CAPABILITIES: all instead.
  • networkPolicy.enabled allows broad egress to 0.0.0.0/0 by default. Jellyfin talks to whatever metadata and plugin providers you configure (TMDB, TVDB, OpenSubtitles, the plugin repository), which isn't a small fixed CIDR, so there's no useful default to narrow this to out of the box. Narrow it with networkPolicy.extraEgress if your environment allows it.
  • Hardware transcoding (GPU/QuickSync) needs a device plugin or nodeSelector pinning the pod to a host with the hardware, plus the vendor's env vars under env.simple (see above). This chart doesn't wire GPU resource requests itself; add them via resources.limits for a device-plugin-exposed resource (e.g. nvidia.com/gpu: 1).
  • Ingress renders networking.k8s.io/v1 only, no legacy API-version fallback. This already matches this chart's values.schema.json and CI target (Kubernetes 1.34), no chart-side action needed on an upgrade.

Upgrade notes

0.9.0

  • autoscaling.* was removed. It never rendered a HorizontalPodAutoscaler (no hpa.yaml template existed), it only suppressed the Deployment's replicas: field when autoscaling.enabled: true. If you had it enabled, drop it and set replicaCount instead, behaviour is unchanged either way since no HPA was ever created.
  • replicaCount is now a documented, defaulted value (1). Previously it was referenced by the Deployment template but never defined in values.yaml, so it rendered as a blank replicas: field that Kubernetes silently defaulted to 1 anyway. No action needed unless you were already overriding it.

Values

KeyTypeDefaultDescription
additionalManifestsobject{}Additional raw Kubernetes manifests to render alongside the chart's own resources. Supports any valid Kubernetes object; values are templated with tpl, so a manifest can reference .Release.Namespace and friends.
affinityobject{}Affinity rules for pod scheduling.
annotations.deploymentobject{}Deployment's annotations
commonAnnotationsobject{}Annotations merged onto every resource this chart renders, in addition to each resource's own dedicated annotations field.
commonLabelsobject{}Labels merged onto every resource this chart renders. Never reaches selector/matchLabels, safe to change without forcing a Deployment recreate.
deployment.strategyobject{"type":"RollingUpdate"}Deployment strategy.
envobject{"full":[],"simple":{}}environment values
env.fulllist[]full envs, they will be rendered as written here. Useful if you need to use secrets/cm
env.simpleobject{}simple key: val based env vars. NOTE: this is nested under env.simple, not a flat top-level env: map, see Gotchas.
extraContainerslist[]Extra sidecar containers appended to the pod spec, templated with tpl so they can reference .Release.Namespace and friends.
fullnameOverridestring""Overrides the full resource name, instead of the default <release>-<chart> pattern.
image.pullPolicystring"IfNotPresent"Image pull policy.
image.repositorystring"jellyfin/jellyfin"Image repository.
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]Image pull secrets, for a private registry mirror.
ingress.annotationsobject{}Annotations to add to the Ingress
ingress.classNamestring""IngressClass name, e.g. "nginx" or "traefik"
ingress.enabledboolfalseRenders an Ingress for the Service.
ingress.hostslist[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}]Ingress host and path rules
ingress.tlslist[]TLS configuration for the Ingress
initContainerslist[]Extra init containers appended to the pod spec, templated with tpl.
nameOverridestring""Overrides the chart name used to build resource names.
networkPolicy.annotationsobject{}Annotations to add to the NetworkPolicy
networkPolicy.enabledboolfalseRender a NetworkPolicy restricting ingress to the Service port and egress to DNS plus a broad HTTPS allowance. Jellyfin talks to whatever metadata/plugin providers you configure (TMDB, TVDB, plugin repos), so egress is broad by default, see Gotchas.
networkPolicy.extraEgresslist[]Additional raw egress rules, appended as-is under spec.egress.
networkPolicy.extraIngresslist[]Additional raw ingress rules, appended as-is under spec.ingress.
nodeSelectorobject{}Node selector for pod scheduling.
persistence.additionalMountslist[]Extra volume mounts appended as-is, paired with additionalVolumes.
persistence.additionalVolumeslist[]Extra volumes appended as-is, e.g. a hostPath or an existing PVC holding your media library, mounted via additionalMounts below.
persistence.cache.accessModestring"ReadWriteOnce"Access mode for the created PVC.
persistence.cache.annotationsobject{}Annotations to add to the PersistentVolumeClaim
persistence.cache.existingClaimstring""Use an existing PVC instead of creating one.
persistence.cache.sizestring"10Gi"Requested size for the created PVC.
persistence.cache.storageClassNamestring""StorageClass for the created PVC. Empty uses the cluster default.
persistence.config.accessModestring"ReadWriteOnce"Access mode for the created PVC.
persistence.config.annotationsobject{}Annotations to add to the PersistentVolumeClaim
persistence.config.existingClaimstring""Use an existing PVC instead of creating one.
persistence.config.sizestring"800Mi"Requested size for the created PVC.
persistence.config.storageClassNamestring""StorageClass for the created PVC. Empty uses the cluster default.
persistence.enabledbooltrueRender PersistentVolumeClaims for /config and /cache. When false, emptyDir is used for both and all config/cache is lost on restart.
podAnnotationsobject{}Annotations added to the pod template.
podSecurityContextobject{}Pod-level securityContext.
replicaCountint1Pod replica count. Running more than one is impractical anyway: both PVCs below default to ReadWriteOnce, see Gotchas.
resourcesobject{}
securityContextobject{}Container-level securityContext.
service.annotationsobject{}Annotations to add to the Service
service.externalIPslist[]Optional external ip (i.e. if you want to reach the service directly from your lan)
service.portint8096Service port.
service.typestring"ClusterIP"Kubernetes Service type.
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
tolerationslist[]Tolerations for pod scheduling.

Deploy jellyfin with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has jellyfin on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartjellyfin is pinned at v0.9.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply