Managed TCP Load Balancer Service

The Managed TCP Load Balancer Service simplifies the deployment and management of load balancers. It efficiently distributes incoming TCP traffic across multiple backend servers, ensuring high availability and optimal resource utilization.

Deployment Details

Managed TCP Load Balancer Service efficiently utilizes HAProxy for load balancing purposes. HAProxy is a well-established and reliable solution for distributing incoming TCP traffic across multiple backend servers, ensuring high availability and efficient resource utilization. This deployment choice guarantees the seamless and dependable operation of your load balancing infrastructure.

Parameters

Common parameters

NameDescriptionValue
externalEnable external access from outside the clusterfalse
replicasNumber of HAProxy replicas2

Configuration parameters

NameDescriptionValue
httpAndHttps.modeMode for balancer. Allowed values: tcp and tcp-with-proxytcp
httpAndHttps.targetPorts.httpHTTP port number.80
httpAndHttps.targetPorts.httpsHTTPS port number.443
httpAndHttps.endpointsEndpoint addresses list[]
whitelistHTTPSecure HTTP by enabling client networks whitelistingfalse
whitelistList of client networks[]
resourcesExplicit CPU and memory configuration for each TCP Balancer replica. When left empty, the preset defined in resourcesPreset is applied.{}
resourcesPresetDefault sizing preset used when resources is omitted. Allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge.nano

Parameter examples and reference

resources and resourcesPreset

resources sets explicit CPU and memory configurations for each replica. When left empty, the preset defined in resourcesPreset is applied.

resources:
  cpu: 4000m
  memory: 4Gi

resourcePreset sets named CPU and memory configurations for each replica. This setting is ignored if the corresponding resources value is set.

Preset nameCPUmemory
nano100m128Mi
micro250m256Mi
small500m512Mi
medium500m1Gi
large12Gi
xlarge24Gi
2xlarge48Gi