I have a cluster configured on azure kubernetes . and the services are working fine. following this article https://docs.microsoft.com/en-us/azure/aks/kubernetes-dashboard
i am trying to view dashboard using but get the error as follows
az aks browse --resource-group DemoRG--name aksdemo2
Proxy running on http://127.0.0.1:8001/
Press CTRL+C to close the tunnel...
Error: unknown flag: --address
My cluster does not have RBAC enabled , i am unsure if this is related to network issue or something different.
Just run kubectl proxy then go to following URL
I used kubectl proxy to access the dashboard
Eventaully issue was resolved by author of this post by following existing github issue #8642:
I had two copies of kubectl and the one from docker was overriding the one from azure. Found this by firing "where kubectl" from command prompt, and deleting the docker copy.