jellyfin

by utkuozdemir

Helm chartv2.0.0App 10.7.7MITVerified publisher

Jellyfin Helm chart

About this chart

jellyfin

Jellyfin Helm chart

Homepage: https://jellyfin.org

TL;DR

$ helm repo add utkuozdemir https://utkuozdemir.org/helm-charts
$ helm install my-release utkuozdemir/jellyfin

Values

KeyTypeDefaultDescription
additionalPortslist[]Additional port definitions for the pod
additionalServicePortslist[]Additional port definitions for the service
affinityobject{}Affinity for the pod assignment
dnsConfigobject{}DNS configuration for the pod
dnsPolicystring"ClusterFirst"DNS policy for the pod
envobject{}Non-sensitive environment variables to be set in the pods. See the application docs
extraVolumeMountsobject{}Arbitrary extra volume mounts for the pod
extraVolumeslist[]Arbitrary extra volume definitions for the pod
fullnameOverridestring""String to fully override fullname template with a string
hostNetworkboolfalseUse host network
hostPort.enabledboolfalseUse host port for the application
hostPort.portint8096Host port to bind to
image.pullPolicystring"IfNotPresent"Image pull policy
image.repositorystring"docker.io/linuxserver/jellyfin"Image repository
image.tagstring""Image tag (if not specified, defaults to the chart's appVersion)
imagePullSecretslist[]Image pull secrets
ingress.annotationsobject{}Annotations for the ingress
ingress.classNamestring""Ingress class name
ingress.enabledboolfalseExpose the app using an ingress
ingress.hostslistsee values.yamlIngress hosts configuration
ingress.tlslist[]The TLS configuration for the Ingress
initContainerslist[]Init containers
livenessProbeobject{}Pod liveness probe
nameOverridestring""String to partially override fullname template with a string (will prepend the release name)
nodeSelectorobject{}The node selector for the deployment
persistence.config.accessModes[0]string"ReadWriteOnce"
persistence.config.annotationsobject{}Config: Annotations for the claim
persistence.config.customVolumeobject{}Config: Alternative data volume definition (e.g. nfs, hostPath). Used when persistence.config.isPvc is false
persistence.config.enabledbooltrueConfig: Enable persistence
persistence.config.existingClaimstring""Config: Name of the existing claim to be used for config
persistence.config.isPvcbooltrueConfig: Persistence type is pvc. When false, data volume definition is read from persistence.config.customVolume
persistence.config.sizestring"2Gi"Config: Size for the claim
persistence.config.storageClassstring""Config: Storage class for the volume
persistence.data.accessModes[0]string"ReadWriteOnce"
persistence.data.annotationsobject{}Data: Annotations for the claim
persistence.data.customVolumeobject{}Data: Alternative data volume definition (e.g. nfs, hostPath). Used when persistence.data.isPvc is false
persistence.data.enabledboolfalseData: Enable persistence
persistence.data.existingClaimstring""Data: Name of the existing claim to be used
persistence.data.isPvcbooltrueData: Persistence type is pvc. When false, data volume definition is read from persistence.data.customVolume
persistence.data.sizestring"64Gi"Data: Size for the claim
persistence.data.storageClassstring""Data: Storage class for the data volume
podAnnotationsobject{}Annotations for the pods
podSecurityContextobject{}Security context for the pods
portint8096
readinessProbeobject{"httpGet":{"port":"http"}}Pod readiness probe
replicaCountint1Number of replicas to run. Chart is not designed to scale horizontally, use at your own risk
resourcesobject{}The resource requests and limits of the container
secretEnvobject{}Sensitive environment variables to be set in the pods. See the application docs
securityContextobject{"capabilities":{"add":["NET_ADMIN"]}}Security context for the container. NET_ADMIN capability is required for the VPN to work properly.
service.portint8096Port for the service to use
service.typestring"ClusterIP"Type of the service
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
sidecarContainerslist[]Sidecar containers
strategyobject{"type":"Recreate"}Deployment strategy
tolerationslist[]Tolerations for the pod assignment

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install my-release -f values.yaml utkuozdemir/jellyfin

Tip: You can use the default values.yaml

Notes

Note that this is an un-opinionated chart regarding the configuration. What is meant by this is: The chart passes the set of environment variables as-is into the container, using the env and secretEnv values. This way we avoid mapping each and every configuration parameter to an explicitly named chart parameter and provides a very flexible configuration.

Upgrading Chart

helm upgrade my-release utkuozdemir/jellyfin

See helm upgrade for command documentation.

Upgrading an existing Release to a new major version

A major chart version change (like 1.2.0 -> 2.0.0) indicates that there is an incompatible breaking change needing manual actions.

From 1.x to 2.x

On version 2.x, the app is backed by a deployment instead of a statefulset.

The values is largely refactored - pay attention to the changes on the persistence section.

It is recommended to start from a fresh install.

Maintainers

NameEmailUrl
Utku Özdemir[email protected]https://utkuozdemir.org

Source Code

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 v2.0.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