ELMA365 On-Premises > Other > Deprecated ELMA365 in MicroK8s > Install ELMA365 Enterprise to MicroK8s / Scaling

Scaling

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

The article provides instructions for the deprecated system edition, ELMA365 On‑Premises in MicroK8s. Please see up-to-date editions in the ELMA365 On‑Premises article.

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

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

 

 

Found a typo? Highlight the text, press ctrl + enter and notify us