...
Run the following command to create a namespace for KEDA (Optional)
Code Block language css theme Midnight kubectl create namespace keda
Tip You can also use an existing namespace for deploying KEDA, and in that case you need not perform step 1. However, it is recommended that you deploy it in a separate namespace. Add the KEDA Helm repository by running the following command.
Code Block language css theme Midnight helm repo add kedacore https://kedacore.github.io/charts
Update the Helm repository by running the following command.
Code Block language css theme Midnight helm repo update
Install the KEDA Helm chart by running the command in the format shown in the following example.
Code Block language css theme Midnight helm install my-keda kedacore/keda --namespace <namespace> --version 2.9.0
Where,
- my-keda is the name of the KEDA Helm chart.
- kedacore/keda is the path of the KEDA Helm chart.
- <namespace> is the namespace in the Kubernetes cluster where you want to install KEDA.
- 2.9.0 is the version of the KEDA Helm chart.