aks-preview extension create standard load balancer when specify "--load-balancer-sku basic" option
- If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli
Extension name (the extension in question)
aks-preview
Description of issue (in as much detail as possible)
aks-preview extension create standard load balancer when specify "--load-balancer-sku basic" option
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.
aks-preview
the issue can also be mitigated by explicitly specifying the "--network-plugin kubenet" when create a cluster.
Hello @JunSun17
Did this bug fix?
aks-preview extension still create standard load balancer now, we must add "--network-plugin kubenet" in the further?
Please, post the full cli command including version numbers for cli core and aks-preview extension.
@TomGeske Command: az aks create --node-resource-group xxx --resource-group xxx --kubernetes-version 1.18.6 --name xxx --node-vm-size Standard_DS3_v2 --node-count 1 --load-balancer-sku basic --enable-addons monitoring --generate-ssh-keys
version: sarah@Azure:~$ az version { "azure-cli": "2.10.1", "azure-cli-command-modules-nspkg": "2.0.3", "azure-cli-core": "2.10.1", "azure-cli-nspkg": "3.0.4", "azure-cli-telemetry": "1.0.4", "extensions": { "aks-preview": "0.4.60" } }
By default we use --vm-set-type VirtualMachineScaleSets which requires Standard load balancer. Try to use add --vm-set-type AvailabilitySet.
Why do you require Basic LB? Basic LB has many restrictions.
@TomGeske Thanks for your reply. but If I don't use aks extension, I can create the cluster with basic loadlancer and VMSS. I need to use basic LB because it is free.
Did you try adding --vm-set-type AvailabilitySet ?
@TomGeske I need use VMSS not VMAS.
Hi @JunSun17 and @kshke, checking in on this older issue. Is this still an active issue for you?