Azure / azure-cli

Azure Command-Line Interface
MIT License
3.98k stars 2.96k forks source link

AKS LoadBalancer not listed in azure-cli #19263

Open fgendc opened 3 years ago

fgendc commented 3 years ago

A LoadBalancer created via AKS and called kubernetes-internal isn't listed using the command az network lb list but appears in the Portal. It's the only LoadBalancer in the subscription. az cli only lists it when I manually add another LoadBalancer via the Portal or modify the existing LB, with a tag for example.

Command Name az network lb list

To Reproduce:

Expected Behavior

The LoadBalancer appears both in the portal and in the terminal without having to modify the LB.

Environment Summary

macOS-11.5.2-x86_64-i386-64bit
Python 3.9.6
Installer: HOMEBREW

azure-cli 2.27.1

Extensions:
azure-firewall 0.12.0
yonzhan commented 3 years ago

network

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub.

Issue Details
A LoadBalancer created via AKS and called kubernetes-internal isn't listed using the command `az network lb list ` but appears in the Portal. It's the only LoadBalancer in the subscription. az cli only lists it when I manually add another LoadBalancer via the Portal or modify the existing LB, with a tag for example. **Command Name** `az network lb list` ## To Reproduce: - Having a Subscription with no LoadBalancers. - Deploy AKS - Deploy a Kubernetes Service. Type: LoadBalancer - `az network lb list ` - **Result**: no LB is listed. - Tag the LB in the Portal - `az network lb list ` - **Result**: LB is listed. ## Expected Behavior The LoadBalancer appears both in the portal and in the terminal without having to modify the LB. ## Environment Summary ``` macOS-11.5.2-x86_64-i386-64bit Python 3.9.6 Installer: HOMEBREW azure-cli 2.27.1 Extensions: azure-firewall 0.12.0 ```
Author: fgendc
Assignees: kairu-ms
Labels: `Network`, `Service Attention`, `customer-reported`
Milestone: Aug 2021 (2021-09-07)