Subscribe

UiPath AI Center

UiPath AI Center

Configuring the load balancer

Overview


A load balancer is mandatory for multi-node setup.

AI Center supports two types of configuration for the load balancer, as shown in the following sections.

📘

Note:

Currently, only Layer 4 (network layer) load balancer is supported.

 

Server and Node Pool configuration


This is the recommended configuration for the load balancer.

Configuring the backend pool


You need to create two backend pools that meet the following requirements:

  • Server Pool

    • Consists of all the server nodes.
    • There should not be any agent nodes, since node joining request should be served only by the server nodes.
    • You must direct all traffic to this pool.
  • Node Pool

    • Consists of all the server nodes and agent nodes.
    • Though servers nodes are part of server pool, they should also be the part of node pool as well.
    • This pool is used to serve other traffic, such as accessing AI Center, the ALM tool, the monitoring tool, objectstore, etc.

 

Enabling ports on the load balancer


Ensure you have the following ports enabled on your firewall for the source of load balancer:

Port

Protocol

Purpose

Traffic forwarding

443

TCP

For HTTPS (accessing AI Center)

Traffic on this port should be forwarded to Node Pool

6443

TCP

For accessing Kube API using HTTPS; required for node joining.

It is recommended to close this port after installation.

Traffic on this port should be forwarded to Server Pool.

9345

TC

For accessing Kube API using HTTP; required for node joining.

It is recommended to close this port after installation.

Traffic on this port should be forwarded to Server Pool.

📘

Note:

For any ports other than HTTPS, we recommend it is not exposed outside the cluster. Run your nodes behind a firewall / security group.

If you have a firewall setup in the network, make sure that it has these ports open to allow traffic from those ports.

 

Configuring the health probes


Probe

Protocol

Port

Interval

Re-entry threshold

Associate pool

https-probe

TCP

443

15 sec

2

Node Pool

kubeapi-probe

TCP

6443

15 sec

2

Server Pool

k8s-probe

TCP

9345

15 sec

2

Server Pool

 

Alternative configuration


🚧

Important!

This configuration does not have resilience to nodes going down during installation.

If the primary server is down or deleted, cluster configuration needs to be updated.

FQDN of the primary server needs to be remapped to a different machine in the cluster that is available.

Configuring the backend pool


Create one backend Pool, as follows:

  • Create a Node Pool

 

Enabling ports on the load balancer


Ensure that you have the following ports enabled on your firewall for the source of load balancer:

Port

Protocol

Purpose

Traffic forwarding

443

TCP

For HTTPS (accessing AI Center).

Traffic on this port should be forwarded to the Node Pool.

 

Configuring the health probes


Probe

Protocol

Port

Interval

Re-entry threshold

Associate pool

https-probe

TCP

443

15 sec

2

Node Pool

Updated 4 months ago

Configuring the load balancer


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.