Skip to content

Instantly share code, notes, and snippets.

@taking
Last active June 22, 2022 00:23
Show Gist options
  • Save taking/6b0c325aa35e56da38b014d716118156 to your computer and use it in GitHub Desktop.
Save taking/6b0c325aa35e56da38b014d716118156 to your computer and use it in GitHub Desktop.

KEDA Installation with Helm

Repo

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • rabbitMQ

Document

Helm Chart

helm update

helm repo add kedacore https://kedacore.github.io/charts
helm repo update

Install

helm install keda kedacore/keda \
  --create-namespace \
  --namespace keda

Uninstall

kubectl delete $(kubectl get scaledobjects,scaledjobs -oname)
helm uninstall keda -n keda

for i in $(kubectl get scaledobjects -oname);
do kubectl patch $i -p '{"metadata":{"finalizers":null}}' --type=merge
done

for i in $(kubectl get scaledjobs -oname);
do kubectl patch $i -p '{"metadata":{"finalizers":null}}' --type=merge
done

(Option) RabbitMQ

helm update

helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update

install

helm install rabbitmq bitnami/rabbitmq \
  --create-namespace \
  --namespace keda \
  --set auth.username=USERNAME \
  --set auth.password=PASSWORD \
   --wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment