Load Balancer Setup

Edit | Report

Overview

Load Balancers are required to scale your applications and create a high availability for your services. Balancing the load provides low latency and high throughput, and scales up to millions of flows for all TCP and UDP applications.

The Load Balancer distributes new inbound flows that arrive on its frontend to backend pool instances, as per rules and health probes that are set. This page provides details to set up the Agent Swarm, Keycloak Swarm, KP-LB services and the DP-LB services.

Note: The load balancers can be layer 4 or layer 7.

Keycloak

To setup Keycloak Swarm, execute the following instructions for each of the mentioned fields:

  • Frontend IP configuration - Internal IP (default)
  • Backend pools - attach keycloak vm or availability set of keycloak group
  • Health Probes/check - Configure path and port - 8080
    Example: name: keycloakhealth
  • Protocol: TCP
  • Port: 8080
  • Interval: 5
  • Unhealthy threshold: 2
  • Load Balancing rules - Frontend-ip-config, Frontend-port, backend-port, Backend-pool and health-probe
    Example: Frontend-port: 80, Backend-port: 8080

Knowledge Platform

Learning:

To setup KP-LB services, execute the following instructions for each of the mentioned fields:

  • Frontend IP configuration - Internal IP (default)
  • Backend pools - attach vm’s of learning and search or availability set for learning and search
  • Health Probes/check - Configure path and port - 8080 (for learning) and 9000 (for search)
    Example: name: learninghealth
  • Protocol: http
  • Port: 8080
  • Path: /learning-service/health
  • Interval: 5
  • Unhealthy threshold: 2
  • Frontend-port: 8080
  • Backend-port: 8080

Edit | Report