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
replicasNumber of HAProxy replicas2
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: nano, micro, small, medium, large, xlarge, 2xlarge.nano
externalEnable external access from outside the clusterfalse

Application-specific 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 whitelisting client networksfalse
whitelistList of client networks[]

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

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

Preset nameCPUmemory
nano250m128Mi
micro500m256Mi
small1512Mi
medium11Gi
large22Gi
xlarge44Gi
2xlarge88Gi