title | author | description | ms.topic | ms.date | ms.author | ms.lastreviewed | ms.reviewer |
---|---|---|---|---|---|---|---|
New-AksHciLoadBalancerSetting for AKS hybrid |
sethmanheim |
Use the New-AksHciLoadBalancerSetting command to create a load balancer in AKS hybrid. |
reference |
11/18/2021 |
sethm |
1/14/2022 |
jeguan |
Create a load balancer object for the workload clusters.
New-AksHciLoadBalancerSetting -name <String>
-loadBalancerSku {HAProxy, none}
Create a load balancer object for the workload clusters.
Note
When you deploy an AKS cluster with no load balancer, you need to make sure that the Kubernetes API server is reachable. kube-vip
is automatically deployed to handle requests to the API server, which allows you to continue to perform cluster operations. If you choose none
as the load balancer SKU, then your applications will be unreachable until you configure your own load balancer.
$loadbalancer = New-AksHciLoadBalancerObject -name mylb -loadBalancerSku none
The name of the load balancer object.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The load balancer SKU that is to be deployed. The value must be HAProxy
or none
.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False