Load Balancer integration
AH Load Balancer service integrates with Kubernetes via the CCM — Kubernetes control plane component that embeds cloud-specific control logic. For more information on CCM, visit the dedicated page.
Get acquainted with the native K8s article on creating an external load balancer.
service.beta.kubernetes.io/ah-loadbalancer-id
is the AH Managed Load Balancer ID, which is set automatically and shouldn’t be changed manually.
service.beta.kubernetes.io/ah-loadbalancer-name
specifies the AH Managed Load Balancer Name. The value is a string. It is required and must follow such rules:
service.beta.kubernetes.io/ah-loadbalancer-balancing-algorithm
is the balancing algorithm of the AH Managed Load Balancer. Options are:
round_robin
(default)east_requests
sticky_session
service.beta.kubernetes.io/ah-loadbalancer-proxy-protocol
Proxy Protocol version of the AH Managed Load Balancer. Optional field, if it’s not set, the proxy protocol won’t be enabled. Supported value: v1
service.beta.kubernetes.io/ah-loadbalancer-healthcheck-enabled
enables health check of the AH Managed Load Balancer. Can be true
or fasle
service.beta.kubernetes.io/ah-loadbalancer-healthcheck-type
is the health check type of the AH Managed Load Balancer. Required if health check is enabled. Possible values: tcp
and http
service.beta.kubernetes.io/ah-loadbalancer-healthcheck-url
is the health check of url the AH Managed Load Balancer. Only for HTTP health check.
service.beta.kubernetes.io/ah-loadbalancer-healthcheck-interval
is the health check interval of the AH Managed Load Balancer. Integer value.
Default: 10
service.beta.kubernetes.io/ah-loadbalancer-healthcheck-timeout
is the health check timeout of the AH Managed Load Balancer
Default: 5
service.beta.kubernetes.io/ah-loadbalancer-healthcheck-unhealthy-threshold
is the health check unhealthy threshold of the AH Managed Load Balancer.
Default: 2
service.beta.kubernetes.io/ah-loadbalancer-healthcheck-healthy-threshold
is the health check healthy threshold of the AH Managed Load Balancer.
Default: 2
service.beta.kubernetes.io/ah-loadbalancer-healthcheck-port
is the health check port of the AH Managed Load Balancer. Required integer values