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 with Helm
Install
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 chartHelm 2
helm install kedacore/keda --version 1.5.0 --namespace keda --name keda
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.
Uninstall
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
Deploying with Operator Hub
Install
- On Operator Hub Marketplace locate and install KEDA operator
- Create namespace
keda
- Create
KedaController
resource namedkeda
in namespacekeda
💡 **NOTE:**Further information on Operator Hub installation method can be found in the following repository.
Uninstall
Locate installed KEDA Operator in keda
namespace, then remove created KedaController
resource and uninstall KEDA operator.
Deploying using the deployment YAML files
Install
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/
Uninstall
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/