Load balancer Configurations
Load balancer:
You can scale your applications and create high availability for your services.It providesÂ
low latency and high throughput,and scales up to millions of flows for all TCP and UDP applications.
Load Balancer distributes new inbound flows that arrive on the Load Balancer's frontend to backend poolÂ
instances, according to rules and health probes.
Agent-swarm:
Frontend ip configuration - attach public ip
Backend pools - attach agent vm's or availability set of agent group
Health Probes/check - Configure path and port - 80 and 443 (both)
EX: name: httpÂ
protocol: TCPÂ
port: 80Â
interval: 5Â
unhealthy threshold: 2
Load Balancing rules - Frontend-ip-config,Frontend-port,backend-port, Backend-pool and health-probe
Ex: Frontend-port: 80
backend-port: 80
Similarly steps for port 443
Keycloak-swarm:
Frontend ip configuration - Internal ip by default
Backend pools - attach keycloak vm or availability set of keycloak group
Health Probes/check - Configure path and port - 8080
EX: 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
Ex: Frontend-port: 80
backend-port: 8080
KP-LB Services:
Frontend ip configuration - Internal ip by 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)
EX: name: learninghealthÂ
protocol: httpÂ
port: 8080Â
path: /learning-service/health
interval: 5Â
unhealthy threshold: 2
Frontend-port: 8080
backend-port: 8080
name: searchhealthÂ
protocol: httpÂ
port: 9000Â
path: /healthÂ
interval: 5Â
unhealthy threshold: 2
Load Balancing rules - Frontend-ip-config,Frontend-port, backend-port, Backend-pool and health-probe
Ex: Frontend-port: 9000
backend-port: 9000
DP-LB Services: (analytic-api)
Frontend ip configuration - Internal ip by default
Backend pools - attach vm's of analytics-api or availability set for analytics-api group
Health Probes/check - Configure path and port - 9000
EX: name: analyticshealthÂ
protocol: tcpÂ
port: 9000Â
interval: 5Â
unhealthy threshold: 2
Load Balancing rules - Frontend-ip-config,Frontend-port, backend-port, Backend-pool and health-probe
Ex: Frontend-port: 9000
backend-port: 9000