For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to Manage K8s Load Balancer?

a. How to View the List of Kubernetes Load Balancers?

To view the list of Kubernetes load balancers, follow the steps given below:

Step 1: Login to your account.

Step 2: Navigate to Kubernetes, choose Dedicated, and then click K8s Load Balancer.

Step 3: Here, you can view all your K8s Load Balancers.

b. How to Create a Kubernetes Load Balancer?

To create a Kubernetes load balancer, follow the steps given below:

Step 1: Click Create Load Balancer.

Step 2: Enter the Name and Description for the Load Balancer and click Next.

Step 3: Enter the Listener Details and click Next.

Note:

  1. If you do not want to configure a listener, disable the Listener Details toggle, then click Next.

  2. If you do not create a listener, you will not be able to create a pool and Monitor.

Field

Description

Listener Name

Enter the name of the Listener.

Description

Enter the description of the Listener.

Protocol

Select a protocol for the listener from the below options:

  1. HTTP

  2. HTTPS

  3. TCP

  4. UDP

  5. SCTP

Port*

The protocol port number for the resource.

Client Data Timeout(in ms)

Enter client inactivity timeout in milliseconds. The default is 50000.

TCP Inspect Timeout*

Enter time, in milliseconds, to wait for additional TCP packets for content inspection. The default is 0.

Member Connect Timeout*

Enter member connection timeout in milliseconds. The default is 5000.

Member Data Timeout*

Enter member inactivity timeout in milliseconds. The default is 50000.

Allowed CIDRs

Enter a list of IPv4, IPv6 or mix of both CIDRs.

Connection Limit*

The maximum number of connections permitted for this listener. Default value is -1 which represents infinite connections.

Insert Headers

Select the headers to insert into the request before it is sent to the member from the below option:

  1. X-Forwarded-For

  2. X-Forwarded-Port

  3. X-Forwarded-Proto

Step 4: Enter Pool Details and click Next.

Note: If you do not want to create a Pool and Monitor, disable the Pool Details toggle and click Next.

Field

Description

Name

Enter the name of the Pool.

Description

Enter the description of the pool.

Algorithm

Select the load balancing algorithm for the pool from the below options:

  1. Least connections

  2. Round robin

  3. Source IP

TLS Enabled

  • Select YES to enable TLS, enabling it will help member to use TLS encryption.

  • Select NO to disable TLS.

TLS Cipher String

Enter List of ciphers in OpenSSL format and it should be colon-separated.

Session Persistence

Select a JSON object specifying the session persistence for the pool from the below options:

  1. HTTP Cookie

  2. APP Cookie

  3. Source IP

Cookie Name

Enter the name of the cookie to use for session persistence.

Step 5: Enter the Health Monitor details, then click Create Load Balancer.

Note: If you do not want to create a monitor, disable the Health Monitor Details toggle and click Next.

Field

Description

Name*

Enter the name of the Health Monitor.

Type*

Select a protocol for the health monitor from the below options:

  1. HTTP

  2. HTTPS

  3. PING

  4. TCP

  5. TLS-HELLO

  6. UDP-CONNECT

  7. SCTP

Max Retries Down*

Enter the number of allowed check failures before changing the operating status of the member to ERROR. A valid value is from 1 to 10. The default is 3.

Delay (sec)*

Enter the interval, in seconds, between health checks. The default is 10.

Max Retries*

Enter the number of successful checks before changing the operating status of the member to ONLINE. The default is 1.

Timeout (sec)*

The time, in seconds, after which a health check times out. The default is 5.

HTTP Method

Select the HTTP method that the health monitor uses for requests from the below options:

  1. GET

  2. HEAD

  3. POST

  4. PUT

  5. DELETE

  6. TRACE

  7. OPTIONS

  8. PATCH

  9. CONNECT

Expected Codes

Enter the HTTP status codes expected in response from the member to declare it healthy. The default is 200.

URL Path

Enter the HTTP URL path of the request sent by the monitor to test the health of a member. Must be a string that begins with a forward slash. The default URL path is /.

Step 6: Configure the backend server details by selecting an existing server or manually specifying the server IP address. Then, provide the Protocol Port, Monitor Address, Monitor Port, and Weight, and click Next.

Step 7: Review the load balancer, listener, pool, health monitor, and backend server configurations. If all the details are correct, click Create to provision the load balancer.

c. How to delete a Kubernetes Load Balancer?

To delete a Kubernetes load balancer, follow the steps given below:

Step 1: From the list of load balancers, click the three-dot (⋮) menu corresponding to the load balancer you want to delete and choose Delete Load Balancer.

Step 2: Click Delete to complete the deletion.

d. How to View Kubernetes Load Balancer Overview?

Step 1: Click on the load balancer name for which you want to view the overview.

Step 2: Here, you can view the overview.

Last updated