Deploying KEDA
In Adeptia Connect you can use Kubernetes Event Driven Autoscaler (KEDA) for pods autoscaling. In addition to CPU and memory based autoscaling, KEDA also enables you to autoscale the runtime pods based on the number of messages in queued state in Message Queue. To use KEDA, you need to install KEDA Helm chart in the Kubernetes cluster.
This section discusses the steps to install KEDA. Before you start deploying KEDA, ensure that you have met the following prerequisite.
Prerequisite:
You must have admin privileges on the Kubernetes cluster to deploy KEDA Helm chart.
Steps to install KEDA
Run the following command to create a namespace for KEDAÂ (Optional)
kubectl create namespace keda
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.Â
helm repo add kedacore https://kedacore.github.io/charts
Update the Helm repository by running the following command.Â
helm repo update
Install the KEDAÂ Helm chart by running the command in the format shown in the following example.Â
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.