k8s dashboard - timowang1991/kubernetes-docs GitHub Wiki

Screenshot

image



How to start

follow the steps here from k8s docs

  • start dashboard
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.4.0/aio/deploy/recommended.yaml
kubectl apply -f k8s/dash-admin-user.yaml
kubectl apply -f k8s/dash-clusterrole.yaml
kubectl proxy
kubectl -n kubernetes-dashboard get secret $(kubectl -n kubernetes-dashboard get sa/admin-user -o jsonpath="{.secrets[0].name}") -o go-template="{{.data.token | base64decode}}"



How to stop

kubectl delete -f k8s/dash-admin-user.yaml
kubectl delete -f k8s/dash-clusterrole.yaml
kubectl proxy
⚠️ **GitHub.com Fallback** ⚠️