MetalLoadBalancerClass
Scope: Cluster
Version: v1alpha1
MetalLoadBalancerClass is the Schema for the metalloadbalancerclasses API
- apiVersion
- kind
- metadata
- spec
- spec.addressPool
An array of public IP address ranges. Each range can be specified using a CIDR notation or by directly specifying the range, for example,
10.10.10.1-10.10.10.100
.Examples:
addressPool: 10.42.0.0/24
addressPool: 10.33.5.100-10.33.5.106
- spec.isDefault
Whether MetalLoadBalancerClass is selected for all services by default.
Example:
isDefault: true
- spec.l2
- spec.l2.interfaces
A list of network interfaces from which the assigned IP addresses will be announced. If this field is not filled in or an empty array is specified, the announcement will occur from all interfaces on the node.
Examples:
interfaces: eth1
interfaces: eth2
- spec.nodeSelector
Allows restricting the list of nodes from which the announcement will occur. Specified as a set of labels for filtering nodes.
- spec.type
Selecting the load balancer operating mode.
Example:
type: L2