rclone

by MacroPower

Helm chartv1.0.1App 1.63.0Verified publisher

An rclone chart with support for both Remote Control and CronJob.

About this chart

Rclone

By default, runs rclone rcd so that you/Jobs/CronJobs can make requests. For example, to periodically sync a volume with some remote.

You can also run a CronJob directly with values-cron.yaml.

Serve additional content, perform operations, etc., via web requests to rcd, or by modifying the init script in the values. For example:

init: |
  rclone rcd \
    --rc-web-gui \
    --rc-web-gui-no-open-browser \
    --rc-no-auth \
    --rc-addr=:5572 &

+  rclone serve restic remote:backup \
+    --addr=:9001 &

  wait -n
  exit $?

You could also consider csi-rclone, it is a DaemonSet that can mount remotes as volumes, so it may be more appropriate depending on your use case.

Source code

The original source code for the app template chart developed by bjw-s / K8s@Home can be found here.

Deploy rclone with OpenTenant

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