rds-downscaler
A small python script that runs on a cron schedule and periodically downscales AWS RDS instances. It will filter RDS instances/clusters by tag key and value or a particular cluster specified with cluster identifier.
About this chart
rds-downscaler
A small python script that runs on a cron schedule and periodically downscales AWS RDS instances.
It will filter RDS instances/clusters by tag key and value or a particular cluster specified with cluster identifier.
Homepage: https://github.com/deliveryhero/helm-charts
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/rds-downscaler
To install a specific version of this chart:
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/rds-downscaler --version 1.0.6
To install the chart with the release name my-release:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/rds-downscaler
To install with some set values:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/rds-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/rds-downscaler -f values.yaml
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| clusterIdentifiers | string | "" | A comma separated string with RDS Aurora Cluster Identifiers |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "python" | |
| image.tag | string | "3.7.0-alpine3.8" | |
| imagePullSecrets | list | [] | |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| podLabels | object | {} | |
| resources.limits.cpu | string | "500m" | |
| resources.limits.memory | string | "128Mi" | |
| resources.requests.cpu | string | "10m" | |
| resources.requests.memory | string | "128Mi" | |
| schedule | object | {"hour":"20","minute":"00"} | Cron schedule of the downscale job |
| serviceAccount.annotations | object | {} | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | "" | |
| tag | object | {"key":"","values":""} | AWS tag used to find RDS instances/clusters |
| tolerations | list | [] |
Maintainers
| Name | Url | |
|---|---|---|
| max-rocket-internet | https://github.com/max-rocket-internet |
Chart source and versions
Chart source: github.com/deliveryhero/helm-charts/rds-downscaler
Older chart versions: github.com/deliveryhero/helm-charts/pkgs/container/helm-charts/rds-downscaler
Deploy rds-downscaler with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has rds-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 chartrds-downscaler is pinned at v1.0.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