keda-operator
by Helm
Configuration for the Keda Operator
About this chart
Keda Operator
Allows to define programmatically how to scale deployments or statefulsets based in external metrics like rabbitmq.
How do I get set up?
helm dep update .
helm upgrade --install \
keda-operator . \
-n keda \
--create-namespace \
--debug --dry-run
!!! Note: Don't deploy this way in any cluster that is not your local, ArgoCD will take care of this as defined here: Elasticsearch Operator ArgoCD
More docs available here: https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html
Contribution guidelines
When you plan to upgrade this be sure that you test it before in staging.
For this create a PR with a semantic branch like: feature/SOAL-5555 (it should match a JIRA task with the definition
of the work to do).
If you want to deploy your changes in staging just change the definition in the ArgoCD manifest to define that the
staging revision is your branch instead of HEAD, following the earlier example this would be:
- clusters:
selector:
matchLabels:
staging: "true"
values:
revision: "feature/SOAL-5555"
Helm Dependencies
Wew have a copy of the original helm dependency that is available here: https://artifacthub.io/packages/helm/kedacore/keda
The idea behind this is that we do not depend on an external repository to make this deploy but, on other hand, forces us to repeat the process of copy the original helm chart when we want to upgrade the dependency. This needs to be done with a command like this:
❯ helm cm-push charts/keda-operator-2.8.1.tgz softonic-public
Pushing keda-operator-2.8.1.tgz to softonic-public...
Done.
Deploy keda-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has keda-operator 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 chartkeda-operator is pinned at v0.1.0 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