kube-downscaler

by Delivery Hero

Helm chartv0.7.6App 23.2.0-6-gc9b88e8GPL-3.0-or-laterVerified publisher

Scale down Kubernetes deployments after work hours

About this chart

kube-downscaler

Scale down Kubernetes deployments after work hours

Homepage: https://codeberg.org/hjacobs/kube-downscaler

How to install this chart

A simple install with default values, latest chart version and generated name:

helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/kube-downscaler

To install a specific version of this chart:

helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/kube-downscaler --version 0.7.6

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

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/kube-downscaler

To install with some set values:

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/kube-downscaler --set values_key1=value1 --set values_key2=value2

To install with custom values file:

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/kube-downscaler -f values.yaml

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
debug.enableboolfalse
deployment.environmentobject{}
events.enablebooltrue
extraLabelsobject{}
fullnameOverridestring""
image.argslist[]
image.pullPolicystring"IfNotPresent"
image.repositorystring"hjacobs/kube-downscaler"
image.tagstring""
imagePullSecretslist[]
intervalint60
nameOverridestring""
nodeSelectorobject{}
priorityClassNamestring""
rbac.createbooltrue
rbac.extraRuleslist[]
rbac.serviceAccountNamestring"default"
replicaCountint1
resetAnnotationsCronjob.enabledboolfalse
resetAnnotationsCronjob.imagestring"bitnami/kubectl:latest"
resetAnnotationsCronjob.labelSelectors[0]string"environment=staging"
resetAnnotationsCronjob.resources.limits.cpustring"50m"
resetAnnotationsCronjob.resources.limits.memorystring"50Mi"
resetAnnotationsCronjob.resources.requests.cpustring"50m"
resetAnnotationsCronjob.resources.requests.memorystring"50Mi"
resetAnnotationsCronjob.schedulestring"0 7 * * *"
resources.limits.cpustring"50m"
resources.limits.memorystring"200Mi"
resources.requests.cpustring"50m"
resources.requests.memorystring"200Mi"
securityContextobject{}
tolerationslist[]

Maintainers

NameEmailUrl
hjacobshttps://codeberg.org/hjacobs

Chart source and versions

Chart source: github.com/deliveryhero/helm-charts/kube-downscaler

Older chart versions: github.com/deliveryhero/helm-charts/pkgs/container/helm-charts/kube-downscaler

Deploy kube-downscaler with OpenTenant

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