CmdID / az / az aks / az aks loadbalancer
az aks loadbalancer add
Add a load balancer configuration to a managed Kubernetes cluster. Azure CLI extensions reference
9 options Its page in the Azure CLI extensions reference
Options
--aks-custom-headersSend custom headers to the AKS API.--allow-service-placement, -aWhether to automatically place services on the load balancer.--cluster-nameName of the managed cluster.--name, -nName of the load balancer configuration.--node-selector, -dNode label selector for nodes that can be members of this load balancer.--primary-agent-pool-name, -pName of the primary agent pool for this load balancer.--resource-group-nameName of resource group.--service-label-selector, -lLabel selector for services that can be placed on this load balancer.--service-namespace-selector, -sNamespace label selector for services that can be placed on this load balancer.