Dashboard
K8s dashboard tricks.
v1.x
Deploy Dashboard
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yamlkubectl proxyReference
Dashboard permissions
Allow full public access
Create user
References
Get dashboard URL
Expose the Dashboard
References
v2.x
Deploy Dashboard
Reference
Dashboard permissions
Create user
Deploying a publicly accessible Kubernetes Dashboard
1. Certificates
2. Deploy dashboard
3. Check if the replica set is fulfuilled
4. Set up Pod Security Policy
4.1 Create a PSP
4.2 Create a role to allow use of the PSP
4.3 Bind the role to kubernetes-dashboard service account
5. Expose dashboard service on a NodePort
Reference
Last updated