BRIX On-Premises > Other > Deprecated BRIX in MicroK8s > Install BRIX Enterprise в MicroK8s / Scaling

Scaling

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

This article contains instructions for the deprecated BRIX On-Premises in MicroK8s with PostgreSQL 10 database. It is supported up to system version 2024.4. Upgrading edition and database is not available. Please update to the current BRIX On-Premises edition.

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

To combine several servers into a cluster, you need to install the system on one of the servers and then add other servers to the cluster.

On the main worker node (the server where the system is installed), run the following command:

elma365ctl add-node

 

You’ll see a list of commands in the following format:

From the node you wish to join to this cluster, run the following:
microk8s join 192.168.1.230:25000/92b2db237428470dc4fcfc4ebbd9dc81/2c0cb3284b05

 

You need to run these commands on the server that you are going to add to the cluster.

Please note that you must repeat the add-node command for each new server you want to add because the command generates a unique one-time connection key.

Servers must be added sequentially, one at a time.

To scale services, use the following command:

elma365ctl scale service_name replica_count 

In this command:

service_name is the service’s name.

replica_count is the number of replicas the specified service needs to be scaled to.

For example, the elma365ctl scale main 2 command runs two replicas (copies) of the main service.

You can also scale all services simultaneously using the following command:

elma365ctl scale all replica_count