In Adeptia Connect you can use Kubernetes Event Driven Autoscaler (KEDA) that enables you to autoscale the runtime pods based on the number of messages in queued state in Message Queue, including CPU, and memory, you need to use 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 chart in the Kubernetes cluster.
This section discusses the steps to install KEDA. Before you start deploying KEDA, make sure ensure that you have met the following prerequisite.
...
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 this 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.