azure-cli-extensions icon indicating copy to clipboard operation
azure-cli-extensions copied to clipboard

aks-preview extension create standard load balancer when specify "--load-balancer-sku basic" option

Open JunSun17 opened this issue 5 years ago • 12 comments

  • 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

JunSun17 avatar Aug 06 '20 18:08 JunSun17

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.

ghost avatar Aug 06 '20 22:08 ghost

aks-preview

yonzhan avatar Aug 06 '20 22:08 yonzhan

the issue can also be mitigated by explicitly specifying the "--network-plugin kubenet" when create a cluster.

JunSun17 avatar Aug 07 '20 16:08 JunSun17

Hello @JunSun17

Did this bug fix?

kshke avatar Aug 12 '20 05:08 kshke

aks-preview extension still create standard load balancer now, we must add "--network-plugin kubenet" in the further?

kshke avatar Aug 18 '20 02:08 kshke

Please, post the full cli command including version numbers for cli core and aks-preview extension.

TomGeske avatar Aug 18 '20 06:08 TomGeske

@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" } }

kshke avatar Aug 18 '20 06:08 kshke

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 avatar Aug 18 '20 06:08 TomGeske

@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.

kshke avatar Aug 18 '20 08:08 kshke

Did you try adding --vm-set-type AvailabilitySet ?

TomGeske avatar Aug 18 '20 08:08 TomGeske

@TomGeske I need use VMSS not VMAS.

kshke avatar Aug 18 '20 09:08 kshke

Hi @JunSun17 and @kshke, checking in on this older issue. Is this still an active issue for you?

mbifeld avatar Dec 09 '25 16:12 mbifeld