sonarr

by beluga-cloud

Helm chartv2.0.4App 3.0.10.1567Verified publisher

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

> More about Sonarr


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

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)""

Sonarr parameters

KeyDescriptionDefault
images.sonarr.digesthelm-dashboard image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
images.sonarr.pullPolicyhelm-dashboard image pull policy"IfNotPresent"
images.sonarr.registryhelm-dashboard image registry (optional)""
images.sonarr.repositoryhelm-dashboard image repository"ghcr.io/beluga-cloud/sonarr/sonarr"
images.sonarr.taghelm-dashboard image tag (immutable tags are recommended)""
sonarr.mediaVolumesThe list of volumes that will be mounted inside sonarr pod, to /media.[]

Security parameters

KeyDescriptionDefault
containerSecurityContextSecurity context for the helm-dashboard container (kubernetes.io/docs){"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":64085,"runAsNonRoot":true,"runAsUser":64085}
podSecurityContextSecurity context for the pod (kubernetes.io/docs){"fsGroup":64085,"runAsGroup":64085,"runAsNonRoot":true,"runAsUser":64085,"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.sonarr.limitsThe resources limits for the container{"cpu":1,"memory":"1Gi"}
resources.sonarr.requestsThe requested resources for the container{"cpu":"200m","memory":"256Mi"}
strategySet 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){}
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"sonarr.local"
ingress.ingressClassNameIngressClass that will be used to implement the Ingress""
ingress.pathThe Path to helm-dashboard. 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 parameterfalse
networkPolicy.allowAllOutboundWhether to allow all outbound traffic by default.true
networkPolicy.allowExternalDon't require client label for connectionstrue
networkPolicy.egressSets egress policy block. See NetworkPolicy documentation.[]
networkPolicy.enabledEnable the default NetworkPolicy policyfalse
networkPolicy.ingressSets ingress policy block. See NetworkPolicy documentation.[]
service.annotationsAdditional annotations for the Service{}
service.clusterIPService Cluster IP""
service.externalTrafficPolicyEnable client source IP preservation"Cluster"
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 port8989

Persistence parameters

KeyDescriptionDefault
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":"100M"}}}

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

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsonarr is pinned at v2.0.4 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