<p>I setup a kubernetes cluster on Windows machine with Virtual Box . I have 4 Guest CentOS 7 systems running. I have setup the cluster using <a href="https://kubernetes.io/docs/getting-started-guides/centos/centos_manual_config/" rel="nofollow noreferrer">https://kubernetes.io/docs/getting-started-guides/centos/centos_manual_config/</a> guide. While deploying kubernetes dashboard  I got the error </p>

<pre><code>Error from server (AlreadyExists): error when creating "kubernetes-dashboard.yaml": serviceaccounts "kubernetes-dashboard" already exists
Error from server (BadRequest): error when creating "kubernetes-dashboard.yaml": ClusterRoleBinding in version "v1beta1" cannot be handled as a ClusterRoleBinding: no kind "ClusterRoleBinding" is registered for version "rbac.authorization.k8s.io/v1beta1"
error validating "kubernetes-dashboard.yaml": error validating data: found invalid field tolerations for v1.PodSpec; if you choose to ignore these errors, turn validation off with --validate=false
</code></pre>

<p>Then I executed the command again with -validate=false option. This time I got the below error</p>

<pre><code>Error from server (AlreadyExists): error when creating "kubernetes-dashboard.yaml": serviceaccounts "kubernetes-dashboard" already exists
Error from server (BadRequest): error when creating "kubernetes-dashboard.yaml": ClusterRoleBinding in version "v1beta1" cannot be handled as a ClusterRoleBinding: no kind "ClusterRoleBinding" is registered for version "rbac.authorization.k8s.io/v1beta1"
Error from server (AlreadyExists): error when creating "kubernetes-dashboard.yaml": deployments.extensions "kubernetes-dashboard" already exists
Error from server (AlreadyExists): error when creating "kubernetes-dashboard.yaml": services "kubernetes-dashboard" already exists
</code></pre>

<p>I have seen that lots of people have got the similar error but could not find the solution anywhere. Output of some of the commands</p>

<pre><code>$kubectl get pods -a -o wide --all-namespaces
Name:                   kubernetes-dashboard
Namespace:              kube-system
Labels:                 k8s-app=kubernetes-dashboard
Selector:               k8s-app=kubernetes-dashboard
Type:                   ClusterIP
IP:                     10.254.25.191
Port:                   &lt;unset&gt; 80/TCP
Endpoints:              &lt;none&gt;
Session Affinity:       None
No events.

$kubectl get pods -a -o wide --all-namespaces
 No resources found.

$kubectl cluster-info
Kubernetes master is running at http://localhost:8080

$kubectl get nodes
NAME              STATUS    AGE
centos-minion-1   Ready     2d
centos-minion-2   Ready     2d
centos-minion-3   Ready     2d
</code></pre>

<p>Please let me know if I am missing something</p>

<p>Thanks
Amol</p>

<p>Check your kubectl version</p>

<p>I also faced the same problem with the latest build, and then installed the old version of dashboard.</p>

<p>kubectl create -f <a href="https://raw.githubusercontent.com/kubernetes/dashboard/v1.5.1/src/deploy/kubernetes-dashboard.yaml" rel="nofollow noreferrer">https://raw.githubusercontent.com/kubernetes/dashboard/v1.5.1/src/deploy/kubernetes-dashboard.yaml</a></p>
