asm.alauda.iogroup

LoadBalancer is the Schema for the loadbalancers API

v1beta1version
specobject

LoadBalancerSpec defines the desired state of LoadBalancer

consistentHashobject

Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service.

httpCookieobject

Hash based on HTTP cookie.

namestring

Name of the cookie.

pathstring

Path to set for the cookie.

ttlstring

Lifetime of the cookie.

httpHeaderNamestring

Hash based on a specific HTTP header.

minimumRingSizeinteger

The minimum number of virtual nodes to use for the hash ring. Defaults to 1024. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node.

useSourceIpboolean

Hash based on the source IP address.

hoststring
localityLbSettingobject

Optional: only one of distribute or failover can be set. Explicitly specify loadbalancing weight across different zones and geographical locations. Refer to Locality weighted load balancing If empty, the locality weight is set according to the endpoints number within it.

distribute[]object
fromstring

Originating locality, '/' separated, e.g. 'region/zone/sub_zone'.

toobject

Map of upstream localities to traffic distribution weights. The sum of all weights should be 100. Any locality not present will receive no traffic.

enabledbooleanrequired
failover[]object
fromstring

Originating region.

tostring

Destination region the traffic will fail over to when endpoints in the 'from' region becomes unhealthy.

simplestring

Standard load balancing algorithms that require no tuning.

statusobject

LoadBalancerStatus defines the observed state of LoadBalancer

LoadBalancer is the Schema for the loadbalancers API

v1beta2version
specobject

LoadBalancerSpec defines the desired state of LoadBalancer

consistentHashobject

Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service.

httpCookieobject

Hash based on HTTP cookie.

namestring

Name of the cookie.

pathstring

Path to set for the cookie.

ttlstring

Lifetime of the cookie.

httpHeaderNamestring

Hash based on a specific HTTP header.

minimumRingSizeinteger

The minimum number of virtual nodes to use for the hash ring. Defaults to 1024. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node.

useSourceIpboolean

Hash based on the source IP address.

hoststring
localityLbSettingobject

Optional: only one of distribute or failover can be set. Explicitly specify loadbalancing weight across different zones and geographical locations. Refer to Locality weighted load balancing If empty, the locality weight is set according to the endpoints number within it.

distribute[]object
fromstring

Originating locality, '/' separated, e.g. 'region/zone/sub_zone'.

toobject

Map of upstream localities to traffic distribution weights. The sum of all weights should be 100. Any locality not present will receive no traffic.

enabledbooleanrequired
failover[]object
fromstring

Originating region.

tostring

Destination region the traffic will fail over to when endpoints in the 'from' region becomes unhealthy.

simplestring

Standard load balancing algorithms that require no tuning.

statusobject

LoadBalancerStatus defines the observed state of LoadBalancer