Kubernetes dashboard not working, “already exists” and “could not find the requested resource (get services heapster)” Kubernetes dashboard not working, “already exists” and “could not find the requested resource (get services heapster)” kubernetes kubernetes

Kubernetes dashboard not working, “already exists” and “could not find the requested resource (get services heapster)”


you may be installing dashboard version 1.7. try installing version 1.6.3 its well tested.

kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin  --serviceaccount=kube-system:defaultkubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.6.3/src/deploy/kubernetes-dashboard.yaml

Update 10/2/17:can you try this: Delete and install 1.6.3 version.

kubectl delete -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin  --serviceaccount=kube-system:defaultkubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.6.3/src/deploy/kubernetes-dashboard.yaml


I believe the kubernetes dashboard is by default available already if you are deploying it through GCP or Azure. The first error explains this already. To verify, you may do type the following command to look for the pods/service in the namespace kube-system.

>kubectl get pods --namespace=kube-system >kubectl get svc --namespace=kube-system 

From the above command, you should find your available kubernetes dashboard and so you don't need to deploy it again. To access the dashboard, you could type the following command.

>kubectl proxy 

This will make the Dashboard available at http://localhost:8001/ui on the machine where you type this command.

But to understand more about your problem, may I know which version of kubernetes and what environment are you using now? Also, it will be great if you could show me the result of these two commands.

>kubectl get pods --namespace=kube-system >kubectl top nodes