Install kubernetes Dashboard:
For dashboard ,please follow https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#deploying-the-dashboard-ui
step-1
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta6/aio/deploy/recommended.yaml
step-2
create a SA with name dashboard-adminuser . yaml with
apiVersion: v1
kind: ServiceAccount
metadata:
name: admin-user
namespace: kubernetes-dashboard
---
kind: ClusterRoleBinding
metadata:
name: admin-user
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: admin-user
namespace: kubernetes-dashboard
step-3
kubectl apply -f dashboard-adminuser. yaml
step-4
Now we need to find the token ,
step 5
step-6
Goto browser , hit http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/.
How to access dashboard outside:-
To make it acess outside from machine ,you need to do tunneling ,I am using putty for tunneling .