k8s-cloudwatch-adapter

by Delivery Hero

Helm chartv0.2.2App 0.9.0Verified publisher

An implementation of the Kubernetes Custom Metrics API and External Metrics API for AWS CloudWatch metrics. This adapter allows you to scale your Kubernetes deployment using the Horizontal Pod Autoscaler (HPA) with metrics from AWS CloudWatch.

About this chart

k8s-cloudwatch-adapter

An implementation of the Kubernetes Custom Metrics API and External Metrics API for AWS CloudWatch metrics. This adapter allows you to scale your Kubernetes deployment using the Horizontal Pod Autoscaler (HPA) with metrics from AWS CloudWatch.

Homepage: https://github.com/awslabs/k8s-cloudwatch-adapter

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/k8s-cloudwatch-adapter

To install a specific version of this chart:

helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/k8s-cloudwatch-adapter --version 0.2.2

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

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/k8s-cloudwatch-adapter

To install with some set values:

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/k8s-cloudwatch-adapter --set values_key1=value1 --set values_key2=value2

To install with custom values file:

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/k8s-cloudwatch-adapter -f values.yaml

Source Code

Values

KeyTypeDefaultDescription
adapter.args.cert-dirstring"/tmp"
adapter.args.logtostderrbooltrue
adapter.args.secure-portint6443
adapter.args.vint2
affinityobject{}
extraLabelsobject{}
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"chankh/k8s-cloudwatch-adapter"
image.tagstring"v0.9.0"
imagePullSecretslist[]
nameOverridestring""
nodeSelectorobject{}
podSecurityContext.fsGroupint65534
replicaCountint1
resourcesobject{}
securityContextobject{}
service.portint80
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestring""
tolerationslist[]

Maintainers

NameEmailUrl
max-rocket-internethttps://github.com/max-rocket-internet

Chart source and versions

Chart source: github.com/deliveryhero/helm-charts/k8s-cloudwatch-adapter

Older chart versions: github.com/deliveryhero/helm-charts/pkgs/container/helm-charts/k8s-cloudwatch-adapter

Deploy k8s-cloudwatch-adapter with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has k8s-cloudwatch-adapter 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 chartk8s-cloudwatch-adapter is pinned at v0.2.2 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