BRIX On-Premises > BRIX On-Premises Enterprise > Install add-on components for BRIX / Install Keda

Install Keda

KEDA is an event-driven autoscaler that complements the functionality of BRIX applications with advanced scaling capabilities. With KEDA, you can manage the scaling of any container in Kubernetes based on the number of events that need to be processed.

The installation consists of three steps:

  1. Download the Helm chart and configuration file.
  2. Fill out the configuration file.
  3. Install the KEDA chart using Helm in the Kubernetes cluster.

Step 1: Download the Helm chart and configuration file

To install via the internet, obtain the configuration file values-keda.yaml by executing the command:

helm repo add elma365 https://charts.elma365.tech
helm repo update
helm show values elma365/keda > values-keda.yaml

Getting the configuration file for installation in a closed network without internet access

Step 2: Fill out the configuration file

Fill out the configuration file values-keda.yaml for the KEDA service installation.

If needed, specify the namespace that KEDA should monitor (by default, KEDA monitors all the namespaces). To do that, in the watchNamespace parameter, specify the namespace where the application is installed.

If high availability is required, set the number of replicas to 3 in parameters operator.replicaCount and metricsServer.replicaCount.

## keda settings
keda:
  ## number of replicas for high availability
  operator:
    replicaCount: 1
  metricsServer:
    replicaCount: 1
  ## namespace that KEDA should monitor
  watchNamespace:
    ""
  ## install crds
  crds:
    install: true
...

Filling out the connection parameters to a private registry for installation in a closed loop without internet access

Step 3: Install the KEDA chart using Helm in the Kubernetes cluster

Run the installation of the KEDA chart in a separate namespace, for example, keda. The namespace will be created during installation if it was not created earlier.

For online installation:

helm upgrade --install keda elma365/keda -f values-keda.yaml -n keda --create-namespace 

For offline installation without internet access, navigate to the directory with the downloaded chart and execute the command:

helm upgrade --install keda ./keda -f values-keda.yaml -n keda --create-namespace

Начало внимание

The installation of the KEDA add-on component does not automatically include support for advanced autoscaling on the BRIX application side.

After installation, do not forget to change the BRIX application settings and configure advanced autoscaling on the BRIX application side.

Read more about enabling advanced scaling of services on the BRIX application side in Enable service autoscaling in BRIX Enterprise.

Конец внимание

Delete the KEDA chart using Helm in the Kubernetes cluster

Начало внимание

Before removing the KEDA add-on component, reconfigure the BRIX application to use the HPA autoscaling tool.

Конец внимание

To delete the KEDA chart in namespace keda, execute the command:

helm uninstall keda -n keda