sonarr
by beluga-cloud
Smart PVR for newsgroup and bittorrent users.
About this chart
Sonarr
Disclaimer: This application has been developed by sonarr community.
Sonarr is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.
Current Features
- Support for major platforms: Windows, Linux, macOS, Raspberry Pi, etc.
- Automatically detects new episodes
- Can scan your existing library and download any missing episodes
- Can watch for better quality of the episodes you already have and do an automatic upgrade. e.g. from DVD to Blu-ray
- Automatic failed download handling will try another release if one fails
- Manual search, so you can pick any release or to see why a release was not downloaded automatically
- Fully configurable episode renaming
- Full integration with SABnzbd and NZBGet
- Full integration with Kodi, Plex (notification, library update, metadata)
- Full support for specials and multi-episode releases
- And a beautiful UI
TL;DR
helm repo add beluga-cloud https://beluga-cloud.github.io/charts
helm install my-release beluga-cloud/sonarr
Introduction
This chart bootstraps a Sonarr 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/sonarr
These commands deploy sonarr 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
| Key | Description | Default |
|---|---|---|
global.commonLabels | Labels to apply to all resources. | {} |
global.debug | Enable global debug mode | false |
global.imagePullSecrets | Reference to one or more secrets to be used when pulling images (kubernetes.io/docs) | [] |
global.imageRegistry | Global Docker image registry | "" |
Common parameters
| Key | Description | Default |
|---|---|---|
fullnameOverride | String to fully override common.names.fullname template | "" |
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
Sonarr parameters
| Key | Description | Default |
|---|---|---|
images.sonarr.digest | helm-dashboard image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
images.sonarr.pullPolicy | helm-dashboard image pull policy | "IfNotPresent" |
images.sonarr.registry | helm-dashboard image registry (optional) | "" |
images.sonarr.repository | helm-dashboard image repository | "ghcr.io/beluga-cloud/sonarr/sonarr" |
images.sonarr.tag | helm-dashboard image tag (immutable tags are recommended) | "" |
sonarr.mediaVolumes | The list of volumes that will be mounted inside sonarr pod, to /media. | [] |
Security parameters
| Key | Description | Default |
|---|---|---|
containerSecurityContext | Security context for the helm-dashboard container (kubernetes.io/docs) | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":64085,"runAsNonRoot":true,"runAsUser":64085} |
podSecurityContext | Security context for the pod (kubernetes.io/docs) | {"fsGroup":64085,"runAsGroup":64085,"runAsNonRoot":true,"runAsUser":64085,"seccompProfile":{"type":"RuntimeDefault"}} |
Deployment/Statefulset parameters
| Key | Description | Default |
|---|---|---|
affinity | Affinity for pod assignment (kubernetes.io/docs) | {} |
nodeSelector | Node labels for pod assignment | {"kubernetes.io/os":"linux"} |
podAnnotations | Additional annotations to apply to the pod. | {} |
podLabels | Additional labels to be added to pods | {} |
resources.sonarr.limits | The resources limits for the container | {"cpu":1,"memory":"1Gi"} |
resources.sonarr.requests | The requested resources for the container | {"cpu":"200m","memory":"256Mi"} |
strategy | Set up update strategy for helm-dashboard 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) | {} |
tolerations | Tolerations for pod assignment (kubernetes.io/docs) | [] |
topologySpreadConstraints | Topology Spread Constraints for pod assignment (kubernetes.io/docs) | [] |
Network parameters
| Key | Description | Default |
|---|---|---|
ingress.annotations | Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. | {} |
ingress.enabled | Enable ingress resource | false |
ingress.extraHosts | The list of additional hostnames to be covered with this ingress record. | [] |
ingress.extraPaths | Any additional paths that may need to be added to the ingress under the main host | [] |
ingress.extraRules | Additional rules to be covered with this ingress record | [] |
ingress.extraTls | The tls configuration for additional hostnames to be covered with this ingress record. | [] |
ingress.hostname | Default host for the ingress resource | "sonarr.local" |
ingress.ingressClassName | IngressClass that will be used to implement the Ingress | "" |
ingress.path | The Path to helm-dashboard. You may need to set this to '/*' in order to use this with ALB ingress controllers. | "/" |
ingress.pathType | Ingress path type | "ImplementationSpecific" |
ingress.tls | Enable TLS configuration for the hostname defined at apiIngress.hostname parameter | false |
networkPolicy.allowAllOutbound | Whether to allow all outbound traffic by default. | true |
networkPolicy.allowExternal | Don't require client label for connections | true |
networkPolicy.egress | Sets egress policy block. See NetworkPolicy documentation. | [] |
networkPolicy.enabled | Enable the default NetworkPolicy policy | false |
networkPolicy.ingress | Sets ingress policy block. See NetworkPolicy documentation. | [] |
service.annotations | Additional annotations for the Service | {} |
service.clusterIP | Service Cluster IP | "" |
service.externalTrafficPolicy | Enable client source IP preservation | "Cluster" |
service.loadBalancerSourceRanges | Addresses that are allowed when service is LoadBalancer | [] |
service.type | Service type | "ClusterIP" |
service.web.nodePort | Specify the nodePort value for the LoadBalancer and NodePort service types | 0 |
service.web.port | web service port | 8989 |
Persistence parameters
| Key | Description | Default |
|---|---|---|
persistence.data.enabled | Enable data persistence using PVC. If false, use emptyDir | true |
persistence.data.volumeClaimSpec | Claims that pods are allowed to reference (see kubernetes.io/docs for structural reference) | {"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"100M"}}} |
RBAC parameters
| Key | Description | Default |
|---|
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
helm install my-release --set fullnameOverride=my-sonarr beluga-cloud/sonarr
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/sonarr
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.0
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 v2.0.4 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