kubectl create namespace keda
helm install keda kedacore/keda --namespace keda
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/main/config/crd/bases/keda.sh_scaledobjects.yaml
kubectl delete -f https://raw.githubusercontent.com/kedacore/keda/main/config/crd/bases/keda.sh_scaledjobs.yaml
kubectl delete -f https://raw.githubusercontent.com/kedacore/keda/main/config/crd/bases/keda.sh_triggerauthentications.yaml
Deploying with Operator Hub
On Operator Hub Marketplace locate and install KEDA operator to namespace keda
Create 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.
Deploying using the deployment YAML files
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 declaration which includes our CRDs and all other resources in a file which is available on the GitHub releases page.
Run the following command (if needed, replace the version, in this case 2.2.0, with the one you are using):