rtorrent

by joaquinito2051

Helm chartv0.6.0App 0.9.6

A CLI/XMLRPC torrent client

About this chart

RTorrent Helm Chart

Opinionated rtorrent configuration with tagging for tv, movie, and music downloads

Chart Details

This chart will install an instance of rtorrent ready to put tv, music, and movies in separate download locations

Installing the Chart

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

$ helm repo add bryanalves https://bryanalves.github.io/helm-charts
$ helm install --name my-release bryanalves/rtorrent

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.

Configuration

The following table lists the configurable parameters of this chart and their default values

ParameterDescriptionDefault
replicaCountNumber of instances1
image.repositoryRepository namebryanalves/rtorrrent
image.tagRepository tag0.0.2
image.pullPolicyRepository pull policyIfNotPresent
persistence.enabledEnable persistent metadatafalse
persistence.existingClaimName of existing metadata claimnil
service.typeType of serviceClusterIP
service.portPort for the service (scgi)5000
service.httpPortPort for the service (web-scgi)80
metricService.typeType of service for exporterClusterIP
metricService.portService port for the exporter9135
metricService.annotationsAnnotations for exporter service{prometheus.io/scrape: "true", prometheus.io/port: "9135"}
ingressService.typeService type to handle incoming connections to rtorrentNodePort
ingressService.rtorrentPortPod port for incoming connections57778
ingressService.dhtPortPod port for DHT connections57779
ingressService.externalTrafficPolicyTraffic policy for external connectionsLocal
extraVolumesExtral volumes (for diffent download locations)[]
extraVolumeMountsMount locations for extra volumes[]
resourcesPod resources{}
nodeSelectorPod node selector{}
tolerationsPod tolerations[]
affinityPod affinity{}

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

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml bryanalves/rtorrent

Tip: You can use the default values.yaml

Deploy rtorrent with OpenTenant

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