How to create the Kubernetes Dashboard by using Kubeadm methods?

1/11/2019

Unable to create the Kubernetes Dashboard

I have setup my Kubernetes cluster by using Kubeadm in google cloud platform. I have followed https://github.com/kubernetes/dashboard docs for creating the Kubernetes Dashboard, but I am unable to create the same.

Please let me know how to create the Kubernetes Dashboard in Kubeadm method.

-- CH BHARATH KUMAR
kubernetes
kubernetes-dashboard

1 Answer

1/11/2019

https://github.com/kubernetes/dashboard/wiki/Installation

kubectl create secret generic kubernetes-dashboard-certs --from-file=$HOME/certs -n kube-system (your certs need to be in the home directory)

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml

Then grant privileges as you see fit...

-- Yonah Dissen
Source: StackOverflow