asm.alauda.io group
LoadBalancer is the Schema for the loadbalancers API
v1beta1 versionspec object
LoadBalancerSpec defines the desired state of LoadBalancer
consistentHash object
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.
httpCookie object
Hash based on HTTP cookie.
name string
Name of the cookie.
path string
Path to set for the cookie.
ttl string
Lifetime of the cookie.
httpHeaderName string
Hash based on a specific HTTP header.
minimumRingSize integer
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.
useSourceIp boolean
Hash based on the source IP address.
host string
localityLbSetting object
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
from string
Originating locality, '/' separated, e.g. 'region/zone/sub_zone'.
to object
Map of upstream localities to traffic distribution weights. The sum of all weights should be 100. Any locality not present will receive no traffic.
enabled boolean required
failover []object
from string
Originating region.
to string
Destination region the traffic will fail over to when endpoints in the 'from' region becomes unhealthy.
simple string
Standard load balancing algorithms that require no tuning.
status object
LoadBalancerStatus defines the observed state of LoadBalancer
LoadBalancer is the Schema for the loadbalancers API
v1beta2 versionspec object
LoadBalancerSpec defines the desired state of LoadBalancer
consistentHash object
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.
httpCookie object
Hash based on HTTP cookie.
name string
Name of the cookie.
path string
Path to set for the cookie.
ttl string
Lifetime of the cookie.
httpHeaderName string
Hash based on a specific HTTP header.
minimumRingSize integer
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.
useSourceIp boolean
Hash based on the source IP address.
host string
localityLbSetting object
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
from string
Originating locality, '/' separated, e.g. 'region/zone/sub_zone'.
to object
Map of upstream localities to traffic distribution weights. The sum of all weights should be 100. Any locality not present will receive no traffic.
enabled boolean required
failover []object
from string
Originating region.
to string
Destination region the traffic will fail over to when endpoints in the 'from' region becomes unhealthy.
simple string
Standard load balancing algorithms that require no tuning.
status object
LoadBalancerStatus defines the observed state of LoadBalancer