Document navigation

LoadBalancer

Name Description Default Value Valid Value
balancerAlgorithm The default algorithm that load balancers use to implement load balancing. Default: roundrobin. Valid values: roundrobin, leastconn, and source. roundrobin
  • roundrobin
  • leastconn
  • source
connectionIdleTimeout The timeout period of idle connections. If no data is transmitted between the client and server when the timeout period expires, the load balancer terminates the connection. Default: 60. Unit: second. 60 [1,+∞)
healthCheckInterval The interval of checking the health status of load-balanced VM instances. Default: 5. Unit: second. 5 [1,+∞)
healthCheckTimeout The timeout period of checking the health status of load-balanced VM instances. Default: 2. Unit: second. If the timeout period expires, the health check fails. 2 [1,+∞)
healthyThreshold The number of successful health checks that are required for VM instances to be considered healthy. Default: 2. 2 [1,+∞)
maxConnection The maximum number of connections that a load balancer can establish between the client and server. Default: 100000. 5000 [1,+∞)
unhealthyThreshold The number of failed health checks that are required for VM instances to be considered unhealthy. Default: 2. 2 [1,+∞)
aclMaxCount The maximum number of access control lists (ACLs) that are allowed to attach to a listener. Default: 50. 50 [0,+∞)
httpMode The HTTP mode under which HAProxy processes each request and response. Valid values: http-keep-alive, http-server-close, http-tunnel, httpclose, and forceclose. http-server-close
  • http-keep-alive
  • http-server-close
  • http-tunnel
  • httpclose
  • forceclose
Nbprocess The total number of processes of a load balancer. 1 [1,+∞)
redirectRuleMaxCount The maximum number of forwarding rules that can be associated with a listener of a load balancer. Default: 40. 40 [0,+∞)
CLI Command Manual | 5.5.30 | ZStack Cloud · ZCF | ZStack Resource Center