Managed TCP Load Balancer Service

The Managed TCP Load Balancer Service simplifies the deployment and management of load balancers.

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

NameDescriptionTypeValue
replicasNumber of HAProxy replicas.int2
resourcesExplicit CPU and memory configuration for each TCP Balancer replica. When omitted, the preset defined in resourcesPreset is applied.object{}
resources.cpuCPU available to each replica.quantity""
resources.memoryMemory (RAM) available to each replica.quantity""
resourcesPresetDefault sizing preset used when resources is omitted.stringnano
externalEnable external access from outside the cluster.boolfalse

Application-specific parameters

NameDescriptionTypeValue
httpAndHttpsHTTP and HTTPS configuration.object{}
httpAndHttps.modeMode for balancer.stringtcp
httpAndHttps.targetPortsTarget ports configuration.object{}
httpAndHttps.targetPorts.httpHTTP port number.int80
httpAndHttps.targetPorts.httpsHTTPS port number.int443
httpAndHttps.endpointsEndpoint addresses list.[]string[]
whitelistHTTPSecure HTTP by whitelisting client networks (default: false).boolfalse
whitelistList of allowed client networks.[]string[]

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