docker-gc

by halkeye

Helm chartv1.0.1App latest

A simple Docker container and image garbage collection script.

About this chart

docker-gc

A simple Docker container and image garbage collection script.

Current chart version is 1.0.1

Source code can be found here

Chart Values

KeyTypeDefaultDescription
cron.logstring"/var/log/crond.log"
cron.schedulestring"0 0 * * *"
env.gracePeriodSecondsstring"0"
image.orgstring"spotify"
image.pullPolicystring"IfNotPresent"
image.registrystring"docker.io"
image.repositorystring"docker-gc"
image.tagstring"latest"
nodeSelectorobject{}
resourcesobject{}
tolerationslist[]

Deploy docker-gc with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has docker-gc 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 chartdocker-gc 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