Readonly kubernetes dashboard



By default kubernetes providing dashboard with cluster-admin role. Is there a way to get readonly kubernetes dashboard where we can share with everyone.



You can make a read-only dashboard by changing the cluster-role the Kubernetes Dashboard is associated with to one with restricted permissions.

Here is a handy guide I came across.


Thanks @macintoshprime.
i have implemented readonly dashboard


As mentioned in the link, We bind the dashboard serviceaccount to clusterrole “view” and added additional permissions as needed like node list.