azure kubernetes dashboard not configured

4/10/2019

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.

-- Mandar Jogalekar
azure
azure-kubernetes
kubernetes

2 Answers

4/11/2019

Just run kubectl proxy then go to following URL

http://localhost:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/#!/overview?namespace=default

I used kubectl proxy to access the dashboard

-- Kasun Raditha Rajapakse
Source: StackOverflow

4/10/2019

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.

-- Nepomucen
Source: StackOverflow