jellyfin
by alekc
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
| Name | Url | |
|---|---|---|
| alekc | [email protected] | https://blog.alekc.org |
Source Code
Gotchas
persistence.config/persistence.cachedefault toReadWriteOnce. 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. LeavereplicaCountat 1.- Environment variables go under
env.simpleorenv.full, not a flat top-levelenv:map. A values file that setsenv.NVIDIA_DRIVER_CAPABILITIES: alldirectly merges into the existingenv.simple/env.fullkeys instead of replacing them, soenv.simpleandenv.fullboth stay empty and noenv:block renders on the container at all, silently dropping GPU/hardware-transcoding variables. Useenv.simple.NVIDIA_DRIVER_CAPABILITIES: allinstead. networkPolicy.enabledallows broad egress to0.0.0.0/0by 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 withnetworkPolicy.extraEgressif your environment allows it.- Hardware transcoding (GPU/QuickSync) needs a device plugin or
nodeSelectorpinning the pod to a host with the hardware, plus the vendor's env vars underenv.simple(see above). This chart doesn't wire GPU resource requests itself; add them viaresources.limitsfor a device-plugin-exposed resource (e.g.nvidia.com/gpu: 1). - Ingress renders
networking.k8s.io/v1only, no legacy API-version fallback. This already matches this chart'svalues.schema.jsonand 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 (nohpa.yamltemplate existed), it only suppressed the Deployment'sreplicas:field whenautoscaling.enabled: true. If you had it enabled, drop it and setreplicaCountinstead, behaviour is unchanged either way since no HPA was ever created.replicaCountis now a documented, defaulted value (1). Previously it was referenced by the Deployment template but never defined invalues.yaml, so it rendered as a blankreplicas:field that Kubernetes silently defaulted to 1 anyway. No action needed unless you were already overriding it.
Values
| Key | Type | Default | Description |
|---|---|---|---|
| additionalManifests | object | {} | 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. |
| affinity | object | {} | Affinity rules for pod scheduling. |
| annotations.deployment | object | {} | Deployment's annotations |
| commonAnnotations | object | {} | Annotations merged onto every resource this chart renders, in addition to each resource's own dedicated annotations field. |
| commonLabels | object | {} | Labels merged onto every resource this chart renders. Never reaches selector/matchLabels, safe to change without forcing a Deployment recreate. |
| deployment.strategy | object | {"type":"RollingUpdate"} | Deployment strategy. |
| env | object | {"full":[],"simple":{}} | environment values |
| env.full | list | [] | full envs, they will be rendered as written here. Useful if you need to use secrets/cm |
| env.simple | object | {} | simple key: val based env vars. NOTE: this is nested under env.simple, not a flat top-level env: map, see Gotchas. |
| extraContainers | list | [] | Extra sidecar containers appended to the pod spec, templated with tpl so they can reference .Release.Namespace and friends. |
| fullnameOverride | string | "" | Overrides the full resource name, instead of the default <release>-<chart> pattern. |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy. |
| image.repository | string | "jellyfin/jellyfin" | Image repository. |
| image.tag | string | "" | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | [] | Image pull secrets, for a private registry mirror. |
| ingress.annotations | object | {} | Annotations to add to the Ingress |
| ingress.className | string | "" | IngressClass name, e.g. "nginx" or "traefik" |
| ingress.enabled | bool | false | Renders an Ingress for the Service. |
| ingress.hosts | list | [{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}] | Ingress host and path rules |
| ingress.tls | list | [] | TLS configuration for the Ingress |
| initContainers | list | [] | Extra init containers appended to the pod spec, templated with tpl. |
| nameOverride | string | "" | Overrides the chart name used to build resource names. |
| networkPolicy.annotations | object | {} | Annotations to add to the NetworkPolicy |
| networkPolicy.enabled | bool | false | Render 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.extraEgress | list | [] | Additional raw egress rules, appended as-is under spec.egress. |
| networkPolicy.extraIngress | list | [] | Additional raw ingress rules, appended as-is under spec.ingress. |
| nodeSelector | object | {} | Node selector for pod scheduling. |
| persistence.additionalMounts | list | [] | Extra volume mounts appended as-is, paired with additionalVolumes. |
| persistence.additionalVolumes | list | [] | Extra volumes appended as-is, e.g. a hostPath or an existing PVC holding your media library, mounted via additionalMounts below. |
| persistence.cache.accessMode | string | "ReadWriteOnce" | Access mode for the created PVC. |
| persistence.cache.annotations | object | {} | Annotations to add to the PersistentVolumeClaim |
| persistence.cache.existingClaim | string | "" | Use an existing PVC instead of creating one. |
| persistence.cache.size | string | "10Gi" | Requested size for the created PVC. |
| persistence.cache.storageClassName | string | "" | StorageClass for the created PVC. Empty uses the cluster default. |
| persistence.config.accessMode | string | "ReadWriteOnce" | Access mode for the created PVC. |
| persistence.config.annotations | object | {} | Annotations to add to the PersistentVolumeClaim |
| persistence.config.existingClaim | string | "" | Use an existing PVC instead of creating one. |
| persistence.config.size | string | "800Mi" | Requested size for the created PVC. |
| persistence.config.storageClassName | string | "" | StorageClass for the created PVC. Empty uses the cluster default. |
| persistence.enabled | bool | true | Render PersistentVolumeClaims for /config and /cache. When false, emptyDir is used for both and all config/cache is lost on restart. |
| podAnnotations | object | {} | Annotations added to the pod template. |
| podSecurityContext | object | {} | Pod-level securityContext. |
| replicaCount | int | 1 | Pod replica count. Running more than one is impractical anyway: both PVCs below default to ReadWriteOnce, see Gotchas. |
| resources | object | {} | |
| securityContext | object | {} | Container-level securityContext. |
| service.annotations | object | {} | Annotations to add to the Service |
| service.externalIPs | list | [] | Optional external ip (i.e. if you want to reach the service directly from your lan) |
| service.port | int | 8096 | Service port. |
| service.type | string | "ClusterIP" | Kubernetes Service type. |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.create | bool | true | Specifies whether a service account should be created |
| serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | [] | 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartjellyfin is pinned at v0.9.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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