Share via


LoadBalancerProperties interface

Properties for a load balancer resource.

Properties

allowServicePlacement

Whether to automatically place services on the load balancer. If not supplied, the default value is true. If set to false manually, both of the external and the internal load balancer will not be selected for services unless they explicitly target it.

nodeSelector

Nodes that match this selector will be possible members of this load balancer.

primaryAgentPoolName

Required field. A string value that must specify the ID of an existing agent pool. All nodes in the given pool will always be added to this load balancer. This agent pool must have at least one node and minCount>=1 for autoscaling operations. An agent pool can only be the primary pool for a single load balancer.

provisioningState

The current provisioning state.

serviceLabelSelector

Only services that must match this selector can be placed on this load balancer.

serviceNamespaceSelector

Services created in namespaces that match the selector can be placed on this load balancer.

Property Details

allowServicePlacement

Whether to automatically place services on the load balancer. If not supplied, the default value is true. If set to false manually, both of the external and the internal load balancer will not be selected for services unless they explicitly target it.

allowServicePlacement?: boolean

Property Value

boolean

nodeSelector

Nodes that match this selector will be possible members of this load balancer.

nodeSelector?: LabelSelector

Property Value

primaryAgentPoolName

Required field. A string value that must specify the ID of an existing agent pool. All nodes in the given pool will always be added to this load balancer. This agent pool must have at least one node and minCount>=1 for autoscaling operations. An agent pool can only be the primary pool for a single load balancer.

primaryAgentPoolName: string

Property Value

string

provisioningState

The current provisioning state.

provisioningState?: string

Property Value

string

serviceLabelSelector

Only services that must match this selector can be placed on this load balancer.

serviceLabelSelector?: LabelSelector

Property Value

serviceNamespaceSelector

Services created in namespaces that match the selector can be placed on this load balancer.

serviceNamespaceSelector?: LabelSelector

Property Value