kube-downscaler
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
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| debug.enable | bool | false | |
| deployment.environment | object | {} | |
| events.enable | bool | true | |
| extraLabels | object | {} | |
| fullnameOverride | string | "" | |
| image.args | list | [] | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "hjacobs/kube-downscaler" | |
| image.tag | string | "" | |
| imagePullSecrets | list | [] | |
| interval | int | 60 | |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| priorityClassName | string | "" | |
| rbac.create | bool | true | |
| rbac.extraRules | list | [] | |
| rbac.serviceAccountName | string | "default" | |
| replicaCount | int | 1 | |
| resetAnnotationsCronjob.enabled | bool | false | |
| resetAnnotationsCronjob.image | string | "bitnami/kubectl:latest" | |
| resetAnnotationsCronjob.labelSelectors[0] | string | "environment=staging" | |
| resetAnnotationsCronjob.resources.limits.cpu | string | "50m" | |
| resetAnnotationsCronjob.resources.limits.memory | string | "50Mi" | |
| resetAnnotationsCronjob.resources.requests.cpu | string | "50m" | |
| resetAnnotationsCronjob.resources.requests.memory | string | "50Mi" | |
| resetAnnotationsCronjob.schedule | string | "0 7 * * *" | |
| resources.limits.cpu | string | "50m" | |
| resources.limits.memory | string | "200Mi" | |
| resources.requests.cpu | string | "50m" | |
| resources.requests.memory | string | "200Mi" | |
| securityContext | object | {} | |
| tolerations | list | [] |
Maintainers
| Name | Url | |
|---|---|---|
| hjacobs | https://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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkube-downscaler is pinned at v0.7.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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