Readonly kubernetes dashboard


#1

Hello,

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

Thanks,
Niranjan


#2

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.


#3

Thanks @macintoshprime.
i have implemented readonly dashboard


#4

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