sonarr
by alekc
TV series collection manager for Usenet and BitTorrent that automates search, download, and library organization
About this chart
sonarr
TV series collection manager for Usenet and BitTorrent that automates search, download, and library organization
Sonarr monitors a wanted episode list, searches indexers (via Prowlarr or its own), and hands the result to a download client, then imports and renames the finished file into your library. This chart wraps the hotio Sonarr image.
Quick start
helm repo add alekc https://charts.alekc.dev
helm repo update
helm install my-sonarr alekc/sonarr \
--set persistence.enabled=true \
--set ingress.enabled=true
Or directly from the OCI registry, no helm repo add needed:
helm install my-sonarr oci://charts.alekc.dev/sonarr --version 1.9.0
Verifying the signature
curl -sO https://charts.alekc.dev/pubring.gpg
helm pull oci://charts.alekc.dev/sonarr --version 1.9.0 --verify --keyring pubring.gpg
A minimal working values.yaml:
persistence:
enabled: true
size: 1Gi
ingress:
enabled: true
hosts:
- host: sonarr.example.com
paths:
- path: /
pathType: ImplementationSpecific
Maintainers
| Name | Url | |
|---|---|---|
| alekc | [email protected] |
Source Code
- https://github.com/Sonarr/Sonarr
- https://github.com/hotio/sonarr
- https://gitlab.com/alexander-chernov/helm/sonarr
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 | {} | |
| annotations.deployment | object | {} | Deployment's annotations |
| autoscaling.enabled | bool | false | |
| autoscaling.maxReplicas | int | 100 | |
| autoscaling.minReplicas | int | 1 | |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | |
| 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":"Recreate"} | Deployment strategy |
| env.PGID | string | "1000" | |
| env.PUID | string | "1000" | |
| env.TZ | string | "Europe/London" | |
| env.UMASK | string | "002" | |
| extraContainers | list | [] | Extra sidecar containers appended to the pod spec, templated with tpl so they can reference .Release.Namespace and friends. |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "ghcr.io/hotio/sonarr" | |
| image.tag | string | "" | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | [] | |
| ingress.annotations | object | {} | |
| ingress.className | string | "" | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths[0].path | string | "/" | |
| ingress.hosts[0].paths[0].pathType | string | "ImplementationSpecific" | |
| ingress.tls | list | [] | |
| initContainers | list | [] | Init Containers |
| livenessProbe | object | {"enabled":true,"failureThreshold":12,"httpGet":{"path":"/ping","port":"http"},"periodSeconds":10} | Pod liveness probe. Set enabled: false to disable rather than overriding the block to {}/null, Helm's deep merge would leave a non-empty default in place either way. |
| nameOverride | string | "" | |
| 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 allowance. Sonarr fetches metadata and downloads over the internet, 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 | {} | |
| persistence.accessMode | string | "ReadWriteOnce" | |
| persistence.additionalMounts | list | [] | if you need any additional volume mounts, you can define them here |
| persistence.additionalVolumes | list | [] | if you need any additional volumes, you can define them here |
| persistence.annotations | object | {} | Annotations to add to the PersistentVolumeClaim |
| persistence.enabled | bool | true | |
| persistence.existingClaim | string | "" | |
| persistence.size | string | "800Mi" | |
| persistence.storageClass | string | "" | |
| podAnnotations | object | {} | |
| podSecurityContext | object | {} | |
| readinessProbe | object | {"enabled":true,"failureThreshold":12,"httpGet":{"path":"/ping","port":"http"},"periodSeconds":10} | Pod readiness probe. Same enabled: false toggle as livenessProbe. |
| replicaCount | int | 1 | |
| resources | object | {} | |
| securityContext | object | {} | |
| service.annotations | object | {} | Annotations to add to the Service |
| service.port | int | 80 | |
| service.type | string | "ClusterIP" | |
| 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 | "" | If not set and create is true, a name is generated using the fullname template |
| startupProbe | object | {"enabled":true,"failureThreshold":30,"httpGet":{"path":"/ping","port":"http"},"periodSeconds":10} | Pod startup probe. While this is failing, liveness/readiness aren't checked at all, giving the hotio image's s6-overlay init generous grace (30 failures * 10s = up to 300s) before liveness starts enforcing. Same enabled: false toggle as livenessProbe. |
| tolerations | list | [] |
Gotchas
persistence.enableddefaults totrue. Sonarr's config, including indexer/download client credentials and the series database, lives at/config; without persistence it's lost on every pod restart.- The TV library itself isn't covered by
persistence. Mount your actual media storage viapersistence.additionalVolumes/additionalMounts,persistence.sizeis only for/config. networkPolicy.enabledallows broad egress to0.0.0.0/0by default. Sonarr talks to indexers and download clients across the internet, which isn't a small fixed CIDR. Narrow it withnetworkPolicy.extraEgressif your indexer/download-client set is fixed and known.startupProbegives the hotio image up to 300s (30 failures * 10s) before liveness/readiness start enforcing at all. Once it succeeds once, it stops running; liveness/readiness take over on the same/pingendpoint from then on.
Upgrade notes
No breaking changes yet. This section will list migration steps for any future release with
a kind: removed or kind: changed entry in artifacthub.io/changes that requires one.
Deploy sonarr with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has sonarr 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 chartsonarr is pinned at v1.9.1 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