kube-arr

by simplyzee

Helm chartv0.3.0App 2026.10Apache-2.0Verified publisher

Your *arr media stack on Kubernetes. Sonarr, Radarr, Prowlarr, Bazarr, Jackett, Lidarr and Plex, Jellyfin or Emby, each optional, sharing one media volume

About this chart

kube-arr

Run your *arr media stack on Kubernetes from one chart. Turn on the apps you want, point them at one shared media volume, and they find each other by name.

AppWhat it doesDefault
SonarrTV showson
RadarrMovieson
LidarrMusicoff
BazarrSubtitleson
ProwlarrIndexer manager, syncs indexers to the otherson
JackettAlternative indexer proxyoff
Jellyfin, Plex or EmbyMedia server (pick one with mediaServer)Jellyfin

All apps use the LinuxServer.io images, pinned to tested versions.

Install

helm repo add simplyzee https://charts.simplyzee.dev
helm repo update

helm install media simplyzee/kube-arr \
  --namespace media --create-namespace \
  --set global.timezone=Europe/London

This creates a 500Gi media volume and a small config volume for each app. Open Sonarr with:

kubectl port-forward -n media svc/media-sonarr 8989

Choosing apps

Each app has enabled: true/false, and the media server is a single choice:

lidarr:
  enabled: true      # add music
jackett:
  enabled: false
mediaServer: plex    # plex, jellyfin, emby or none

The shared media volume

Every app mounts the same volume at /data (media.mountPath). Keep downloads and libraries inside it, so Sonarr and Radarr can import with an instant move or hardlink instead of copying:

/data
├── downloads/
└── media/
    ├── tv/
    ├── movies/
    └── music/

Pick one source:

SourceValuesWhen to use
New PVC (default)media.persistence.size, .storageClass, .accessModesSingle-node clusters
Existing PVCmedia.existingClaim: my-mediaYou already have a volume
NFSmedia.nfs.server, media.nfs.pathA NAS; works across nodes
Host pathmedia.hostPath.path: /mnt/disks/gdriveA disk on the node, or a kube-rclone you run separately
Cloud storagerclone.enabled: trueGoogle Drive, S3, Dropbox and more, via the built-in kube-rclone (see below)

global.colocate (on by default) keeps every app on the same node, which a ReadWriteOnce volume needs. Turn it off with NFS or a ReadWriteMany volume to spread the apps across nodes.

Media servers mount the volume read-only. Prowlarr and Jackett don't mount it at all.

Cloud storage with kube-rclone

kube-arr can run kube-rclone for you. It mounts any rclone remote on every node, and every app uses that mount as its media volume.

  1. Create an rclone config on your own machine with rclone config.
  2. Install with rclone switched on:
helm install media simplyzee/kube-arr -n media --create-namespace \
  --set rclone.enabled=true \
  --set-file rclone.rclone.config=./rclone.conf \
  --set rclone.rclone.remote=gdrive:media

The remote is mounted at /mnt/disks/rclone on each node and appears as /data in every app. Your config is stored in a Secret; use rclone.rclone.existingSecret to manage it yourself instead.

The defaults suit the *arr apps:

  • The mount is read-write, so imports and renames work.
  • It uses the full VFS cache (--vfs-cache-mode=full, up to 50G on each node) so apps can seek and stream.
  • Files are owned by UID/GID 1000 with umask 002.

If you change global.puid, global.pgid or global.umask, update --uid, --gid and --umask in rclone.rclone.additionalArgs to match. The install notes warn you if they don't.

Every kube-rclone setting can be set under rclone:, for example rclone.resources or rclone.rclone.cacheDir.

Connecting the apps

Each app gets a Service named <release>-<app>. With the release name media:

AppAddress inside the cluster
Sonarrhttp://media-sonarr:8989
Radarrhttp://media-radarr:7878
Lidarrhttp://media-lidarr:8686
Bazarrhttp://media-bazarr:6767
Prowlarrhttp://media-prowlarr:9696
Jacketthttp://media-jackett:9117
Jellyfin / Embyhttp://media-jellyfin:8096 / http://media-emby:8096
Plexhttp://media-plex:32400
  • Prowlarr: add Sonarr, Radarr and Lidarr under Settings → Apps and it pushes your indexers to them.
  • Bazarr: connect Sonarr and Radarr under Settings.
  • Root folders: set /data/media/tv, /data/media/movies and so on in each app, and point your media server's libraries at the same paths.

helm install prints these addresses for your release.

Exposing the apps

ingress:
  enabled: true
  className: nginx
  domain: home.example.com        # sonarr.home.example.com, radarr.home.example.com...
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt
  tls:
    enabled: true
bazarr:
  ingress:
    enabled: false                # keep one app internal
sonarr:
  ingress:
    hostname: tv.example.com      # or override a hostname

Turn on authentication in each app before exposing it.

Plex

kubectl create secret generic plex-claim -n media --from-literal=PLEX_CLAIM=claim-xxxxxxxx
helm upgrade media simplyzee/kube-arr -n media --reuse-values \
  --set mediaServer=plex --set plex.claimSecret.name=plex-claim

Get a claim token from plex.tv/claim. It expires after 4 minutes, so create the secret right before installing. Set plex.advertiseUrl to the address your devices use, and plex.service.type: LoadBalancer if you want it reachable on your network directly.

Hardware transcoding

Pass the GPU through to your media server (Intel/AMD shown):

jellyfin:
  extraVolumes:
    - name: dri
      hostPath:
        path: /dev/dri
  extraVolumeMounts:
    - name: dri
      mountPath: /dev/dri
  securityContext:
    privileged: true

Transcode dispatch

Set transcode.enabled=true and Plex, Jellyfin or Emby stops transcoding inside its own pod. Each transcode runs as a separate, short-lived Kubernetes pod instead, with its own resources and scheduling, so a few 4K streams don't starve the server, and transcodes can go to a GPU node or a bigger machine. The idea comes from kube-plex, extended here to all three servers.

helm upgrade media simplyzee/kube-arr -n media --reuse-values \
  --set transcode.enabled=true

How it works:

  • A small dispatcher, kube-arr-transcoder, takes the place of the server's transcoder (Plex Transcoder, or ffmpeg for Jellyfin and Emby). The original is kept alongside it.
  • When the server starts a real transcode, the dispatcher creates a pod from the server's own image with the same arguments, environment and working directory, mounting the server's config and media volumes, then streams the pod's output back so progress shows as normal.
  • Quick capability checks (-version, -encoders and so on) and anything piped straight back to the server still run locally.
  • Stopping playback stops the pod. If the dispatcher is killed outright, a watchdog deletes the pod anyway, and every pod is owned by the server pod so it's cleaned up with it.
  • If a pod can't start in time (no capacity, image pull failure), the transcode runs locally instead. Set transcode.fallbackToLocal=false to turn that off.

Things to know:

  • Plex: transcode pods report progress back over the network. In Plex, add your pod network (for example 10.0.0.0/8) under Settings > Network > List of IP addresses and networks that are allowed without auth, or transcodes start and then stall.
  • Storage: all three servers write transcodes into their config volume, so transcode pods mount it too. With ReadWriteOnce storage they run on the server's node (transcode.sameNodeAsServer=true, the default). Use ReadWriteMany storage for the server's config to send them anywhere, then set sameNodeAsServer=false and pick nodes with transcode.nodeSelector, .tolerations or .affinity.
  • GPUs: transcode pods get the server's extraVolumes, extraVolumeMounts and securityContext, so the hardware setup below applies to them too. Add a GPU resource such as gpu.intel.com/i915: 1 under transcode.resources if you use a device plugin.
  • Permissions: the server gets a service account that can create, read and delete pods in its namespace, and nothing else. Without transcode dispatch no app mounts a service account token.

Watch transcodes come and go:

kubectl get pods -n media -l app.kubernetes.io/component=transcode -w

Parameters

Global

ParameterDescriptionDefault
global.timezoneTime zone for every appEtc/UTC
global.puid, global.pgidUser and group that own files1000, 1000
global.umaskFile creation mask002
global.colocateKeep all apps on one node (needed for ReadWriteOnce media)true
global.imagePullSecretsPull secrets[]
global.podSecurityContextPod security contextseccomp RuntimeDefault
global.nodeSelector, global.tolerationsSchedulingkubernetes.io/os: linux, []
mediaServerplex, jellyfin, emby or nonejellyfin

Media volume

ParameterDescriptionDefault
media.mountPathWhere every app sees the media volume/data
media.existingClaimUse an existing PVC""
media.nfs.server, media.nfs.pathUse an NFS share""
media.hostPath.pathUse a directory on the node""
media.hostPath.mountPropagationHostToContainer lets pods see FUSE mounts such as kube-rcloneHostToContainer
media.persistence.size, .storageClass, .accessModesChart-created PVC500Gi, "", [ReadWriteOnce]

Cloud storage (kube-rclone)

ParameterDescriptionDefault
rclone.enabledRun kube-rclone and use its mount as the media volumefalse
rclone.rclone.remoteRemote (and path) from your rclone configgdrive:
rclone.rclone.pathWhere it's mounted on each node/mnt/disks/rclone
rclone.rclone.configrclone config contents (use --set-file)""
rclone.rclone.existingSecretUse your own Secret for the config instead""
rclone.rclone.readOnlyMount read-onlyfalse
rclone.rclone.additionalArgsrclone mount flagsVFS full cache, 50G, --uid=1000 --gid=1000 --umask=002
rclone.*Any other kube-rclone settingsee kube-rclone

Transcode dispatch

ParameterDescriptionDefault
transcode.enabledRun the media server's transcodes as their own podsfalse
transcode.dispatcher.image.repository, .tag, .pullPolicyDispatcher image; tag defaults to the chart versionghcr.io/simplyzee/kube-arr-transcoder, ""
transcode.binaryTranscoder path in the server image, if it's not the usual one""
transcode.fallbackToLocalTranscode locally if a pod can't starttrue
transcode.startTimeoutSecondsHow long a pod may stay pending before falling back60
transcode.maxDurationSecondsHard limit for one transcode pod21600
transcode.sameNodeAsServerKeep pods on the server's node (needed for ReadWriteOnce config)true
transcode.resourcesTranscode pod resources1 CPU, 1Gi requested; 4Gi limit
transcode.nodeSelector, .tolerations, .affinityTranscode pod scheduling (affinity replaces sameNodeAsServer)global settings
transcode.podAnnotations, .envExtra annotations and environment for transcode podsempty

Ingress

ParameterDescriptionDefault
ingress.enabledCreate an Ingress per appfalse
ingress.classNameIngress class""
ingress.domainApps are served at <app>.<domain>""
ingress.annotationse.g. cert-manager issuer{}
ingress.tls.enabled, .secretNameTLS; empty secret name gives each app its ownfalse, ""

Every app

appDefaults applies to every app, and each app block (sonarr, radarr, lidarr, bazarr, prowlarr, jackett, plex, jellyfin, emby) can override any of it.

ParameterDescriptionDefault
<app>.enabledRun the app (not for media servers; use mediaServer)see table above
<app>.image.repository, .tag, .pullPolicyImageLinuxServer.io, pinned
<app>.portHTTP portapp's standard port
<app>.service.type, .annotationsServiceClusterIP
<app>.ingress.enabled, .hostnamePer-app Ingress switch and host overridetrue, ""
<app>.config.size, .storageClass, .existingClaimConfig volume (kept on uninstall)2Gi (media servers more)
<app>.mountMedia, <app>.mediaReadOnlyMedia volume accesson, read-write (media servers read-only)
<app>.env, .resources, .podAnnotations, .securityContextContainer settingsempty
<app>.extraVolumes, .extraVolumeMountsExtra volumes, e.g. a GPU[]
plex.claimToken / plex.claimSecret.name, .keyPlex claim token (Secret preferred)"", PLEX_CLAIM
plex.advertiseUrlAddress Plex advertises""
jellyfin.publishedServerUrlAddress Jellyfin advertises""

Uninstalling

helm uninstall media -n media removes the apps but keeps every volume, including your library and each app's settings, so reinstalling picks up where you left off. Delete the PVCs yourself to remove the data.

Deploy kube-arr with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kube-arr 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 chartkube-arr is pinned at v0.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