AKS LoadBalancer not listed in azure-cli
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
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
```
Contributor guide
Assessment
This issue has not been assessed yet.