Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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).  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, make sure 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

  1. Run the following command to create a namespace for KEDA  (Optional)

    Code Block
    languagecss
    themeMidnight
    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. However, it is recommended that you deploy it in a separate namespace.


  2. Add the KEDA Helm repository by running the following command. 

    Code Block
    languagecss
    themeMidnight
    helm repo add kedacore https://kedacore.github.io/charts


  3. Update the Helm repository by running the following command. 

    Code Block
    languagecss
    themeMidnight
    helm repo update


  4. Install the KEDA Helm chart by running the command in the format shown in the following example. 

    Code Block
    languagecss
    themeMidnight
    helm install my-keda kedacore/keda --namespace <namespace> --version 2.9.0


    Where,

    • my-keda
    • kedacore/keda
    • <namespace>
    • 2.9.0