Warning
You are currently viewing v"1.5" of the documentation and it is not the latest. For the most recent documentation, kindly click here.
Deploying KEDA Click here for latest
We provide a few approaches to deploy KEDA runtime in your Kubernetes clusters:
Don’t see what you need? Feel free to create an issue on our GitHub repo.
Deploying KEDA with Helm is very simple:
Add Helm repo
helm repo add kedacore https://kedacore.github.io/charts
Update Helm repo
helm repo update
Install keda
Helm chart
Helm 2
helm install keda kedacore/keda --version 1.5.0 --namespace keda --create-namespace
Helm 3
kubectl create namespace keda
helm install keda kedacore/keda --version 1.5.0 --namespace keda
💡 When using Helm 3.x, make sure to manually install the CRDs since Helm does not update nor add new CRDs. Learn more about it on kedacore/charts #139.
If you want to remove KEDA from a cluster you can run one of the following:
Using Helm 3
helm uninstall -n keda keda
kubectl delete -f https://raw.githubusercontent.com/kedacore/keda/v1.5.0/deploy/crds/keda.k8s.io_scaledobjects_crd.yaml
kubectl delete -f https://raw.githubusercontent.com/kedacore/keda/v1.5.0/deploy/crds/keda.k8s.io_triggerauthentications_crd.yaml
Using Helm 2
helm delete --purge keda
kubectl delete -f https://raw.githubusercontent.com/kedacore/keda/v1.5.0/deploy/crds/keda.k8s.io_scaledobjects_crd.yaml
kubectl delete -f https://raw.githubusercontent.com/kedacore/keda/v1.5.0/deploy/crds/keda.k8s.io_triggerauthentications_crd.yaml
keda
KedaController
resource named keda
in namespace keda
💡 **NOTE:**Further information on Operator Hub installation method can be found in the following repository.
Locate installed KEDA Operator in keda
namespace, then remove created KedaController
resource and uninstall KEDA operator.
If you want to try KEDA on Minikube or a different Kubernetes deployment without using Helm you can still deploy it with kubectl
.
We provide sample YAML declarations which includes our CRD in the released zip and tar.gz package files which are available on the GitHub releases page. Download the zip or tar.gz file, unpack it, enter the unpacked folder and just run the following commands.
kubectl apply -f ./crds
kubectl apply -f ./
You can also find the same YAML declarations in our /deploy
directory on our GitHub repo if you prefer to clone it.
git clone https://github.com/kedacore/keda && cd keda && git checkout tags/v1.5.0
kubectl apply -f deploy/crds/keda.k8s.io_scaledobjects_crd.yaml
kubectl apply -f deploy/crds/keda.k8s.io_triggerauthentications_crd.yaml
kubectl apply -f deploy/
You would need to run these commands from within the directory of the cloned GitHub repo:
kubectl delete -f deploy/crds/keda.k8s.io_scaledobjects_crd.yaml
kubectl delete -f deploy/crds/keda.k8s.io_triggerauthentications_crd.yaml
kubectl delete -f deploy/