- Description
- LoadBalancer is the Schema for the loadbalancers API
- Type
object
Specification
.spec
- Description
- LoadBalancerSpec defines the desired state of LoadBalancer
- Type
object
.spec.consistentHash
- Description
- 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.
- Type
object
.spec.consistentHash.httpCookie
- Description
- Hash based on HTTP cookie.
- Type
object
.spec.localityLbSetting
- Description
- 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](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight) If empty, the locality weight is set according to the endpoints number within it.
- Type
object- Required
enabled
.spec.localityLbSetting.distribute
- Type
array
.spec.localityLbSetting.distribute[]
- Type
object
.spec.localityLbSetting.distribute[].to
- Description
- Map of upstream localities to traffic distribution weights. The sum of all weights should be 100. Any locality not present will receive no traffic.
- Type
object
.spec.localityLbSetting.failover
- Type
array
.spec.localityLbSetting.failover[]
- Type
object
.status
- Description
- LoadBalancerStatus defines the observed state of LoadBalancer
- Type
object
API Endpoints
The following API endpoints are available:
/apis/asm.alauda.io/v1beta1/namespaces/{namespace}/loadbalancersDELETE: delete collection of LoadBalancerGET: list objects of kind LoadBalancerPOST: create a new LoadBalancer
/apis/asm.alauda.io/v1beta1/namespaces/{namespace}/loadbalancers/{name}DELETE: delete the specified LoadBalancerGET: read the specified LoadBalancerPATCH: partially update the specified LoadBalancerPUT: replace the specified LoadBalancer
/apis/asm.alauda.io/v1beta1/namespaces/{namespace}/loadbalancers/{name}/statusGET: read status of the specified LoadBalancerPATCH: partially update status of the specified LoadBalancerPUT: replace status of the specified LoadBalancer
/apis/asm.alauda.io/v1beta1/namespaces/{namespace}/loadbalancers
- HTTP method
DELETE- Description
- delete collection of LoadBalancer
- HTTP responses
- HTTP method
GET- Description
- list objects of kind LoadBalancer
- HTTP responses
- HTTP method
POST- Description
- create a new LoadBalancer
- Query parameters
- Body parameters
- HTTP responses
/apis/asm.alauda.io/v1beta1/namespaces/{namespace}/loadbalancers/{name}
- HTTP method
DELETE- Description
- delete the specified LoadBalancer
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified LoadBalancer
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified LoadBalancer
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified LoadBalancer
- Query parameters
- Body parameters
- HTTP responses
/apis/asm.alauda.io/v1beta1/namespaces/{namespace}/loadbalancers/{name}/status
- HTTP method
GET- Description
- read status of the specified LoadBalancer
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified LoadBalancer
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified LoadBalancer
- Query parameters
- Body parameters
- HTTP responses