jellyfin

by beluga-cloud

Helm chartv2.3.0App 10.8.13Verified publisher

Your media, your server, your way

About this chart


Jellyfin

Disclaimer: This application has been developed by the Jellyfin community.

Jellyfin is the volunteer-built media solution that puts you in control of your media. Stream to any device from your own server, with no strings attached.

Some features of Jellyfin:

  • Movies: Enjoy your entire movie collection, easy to browse and with beautiful artwork.
  • Shows: Watch your favorite shows, automatically sorted by season and ready to binge.
  • Music: Listen to music, your artists and your playlists, at home or on the go.
  • Live TV & DVR: Watch TV and set automatic recordings to expand your library.
  • Books: Read your books, comics, and magazines.
  • Photos: Organize your photos and share memories with your friends and family.
  • SyncPlay: Sharing a movie night remotely has never been so easy.

> More about Jellyfin


TL;DR

helm repo add beluga-cloud https://beluga-cloud.github.io/charts
helm install my-release beluga-cloud/jellyfin

Introduction

This chart bootstraps a Jellyfin deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes >=1.20
  • Helm 3+

Installing the Chart

To install the chart with the release name my-release:

helm repo add beluga-cloud https://beluga-cloud.github.io/charts
helm install my-release beluga-cloud/jellyfin

These commands deploy jellyfin on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Parameters

Global parameters

KeyDescriptionDefault
global.commonLabelsLabels to apply to all resources.{}
global.debugEnable global debug modefalse
global.imagePullSecretsReference to one or more secrets to be used when pulling images (kubernetes.io/docs)[]
global.imageRegistryGlobal Docker image registry""

Common parameters

KeyDescriptionDefault
fullnameOverrideString to fully override common.names.fullname template""
nameOverrideString to partially override common.names.fullname template (will maintain the release name)""

Jellyfin parameters

KeyDescriptionDefault
images.jellyfin.digestjellyfin image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
images.jellyfin.pullPolicyjellyfin image pull policy"IfNotPresent"
images.jellyfin.registryjellyfin image registry (optional)""
images.jellyfin.repositoryjellyfin image repository"ghcr.io/beluga-cloud/jellyfin/jellyfin"
images.jellyfin.tagjellyfin image tag (immutable tags are recommended)""
jellyfin.extraDevicesAdditional device like GPU to mount[]
jellyfin.mediaVolumesThe list of volumes that will be mounted inside jellyfin pod, to /media.[]
jellyfin.persistentTranscodesKeep all transcoded files persistent.false

Security parameters

KeyDescriptionDefault
containerSecurityContextSecurity context for the jellyfin container (kubernetes.io/docs){"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":64710,"runAsNonRoot":true,"runAsUser":64710}
podSecurityContextSecurity context for the pod (kubernetes.io/docs){"fsGroup":64710,"runAsGroup":64710,"runAsNonRoot":true,"runAsUser":64710,"seccompProfile":{"type":"RuntimeDefault"}}

Deployment/Statefulset parameters

KeyDescriptionDefault
affinityAffinity for pod assignment (kubernetes.io/docs){}
nodeSelectorNode labels for pod assignment{"kubernetes.io/os":"linux"}
podAnnotationsAdditional annotations to apply to the pod.{}
podLabelsAdditional labels to be added to pods.{}
resources.jellyfin.limitsThe resources limits for the container{"cpu":"2","memory":"6Gi"}
resources.jellyfin.requestsThe requested resources for the container{"cpu":"500m","memory":"512Mi"}
strategySet up update strategy for jellyfin installation. Set to Recreate if you use persistent volume that cannot be mounted by more than one pods to make sure the pods is destroyed first. (kubernetes.io/docs){}
tolerationsTolerations for pod assignment (kubernetes.io/docs)[]
topologySpreadConstraintsTopology Spread Constraints for pod assignment (kubernetes.io/docs)[]

Network parameters

KeyDescriptionDefault
ingress.annotationsAdditional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.{}
ingress.enabledEnable ingress resourcefalse
ingress.extraHostsThe list of additional hostnames to be covered with this ingress record.[]
ingress.extraPathsAny additional paths that may need to be added to the ingress under the main host[]
ingress.extraRulesAdditional rules to be covered with this ingress record[]
ingress.extraTlsThe tls configuration for additional hostnames to be covered with this ingress record.[]
ingress.hostnameDefault host for the ingress resource"jellyfin.local"
ingress.ingressClassNameIngressClass that will be used to implement the Ingress""
ingress.pathThe Path to jellyfin. You may need to set this to '/*' in order to use this with ALB ingress controllers."/"
ingress.pathTypeIngress path type"ImplementationSpecific"
ingress.tlsEnable TLS configuration for the hostname defined at apiIngress.hostname parametertrue
networkPolicy.allowAllOutboundWhether to allow all outbound traffic by default.true
networkPolicy.allowExternalDon't require client label for connectionstrue
networkPolicy.egressSets egress policy block. See NetworkPolicies documentation (kubernetes.io/docs.)[]
networkPolicy.enabledEnable the default NetworkPolicy policyfalse
networkPolicy.ingressSets ingress policy block. See NetworkPolicies documentation (kubernetes.io/docs.)[]
service.annotationsAdditional annotations for the Service{}
service.clusterIPService Cluster IP""
service.externalTrafficPolicyEnable client source IP preservation"Cluster"
service.loadBalancerIPLoadBalancer IP if service type is LoadBalancer (optional, cloud specific)""
service.loadBalancerSourceRangesAddresses that are allowed when service is LoadBalancer[]
service.typeService type"ClusterIP"
service.web.nodePortSpecify the nodePort value for the LoadBalancer and NodePort service types0
service.web.portweb service port8096

Persistence parameters

KeyDescriptionDefault
persistence.config.enabledEnable configuration persistence using PVC. If false, use emptyDirtrue
persistence.config.volumeClaimSpecClaims that pods are allowed to reference (see kubernetes.io/docs for structural reference){"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"250Mi"}}}
persistence.data.enabledEnable data persistence using PVC. If false, use emptyDirtrue
persistence.data.volumeClaimSpecClaims that pods are allowed to reference (see kubernetes.io/docs for structural reference){"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"2Gi"}}}

RBAC parameters

KeyDescriptionDefault

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

helm install my-release --set fullnameOverride=my-jellyfin beluga-cloud/jellyfin

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 my-repo/jellyfin

Tip: You can use the default values.yaml

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Autogenerated from chart metadata using helm-docs v1.11.3

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.3.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