Create Read-Only Cluster User
Problem
How to give ReadOnly cluster access to users?
Environment
- Platform9 Managed Kubernetes - All versions
Procedure
The below is one of the steps to achieve a Read-Only Cluster User. This methods expect to have a group present for read-only cluster user to be a part of it.
Please follow the below-mentioned steps to allow read-only access to the cluster for users belonging to the <Above-group-created> group.
- Navigate to the RBAC -> Cluster Role Bindings tab.
- Click on "Add Cluster Role Binding"
- Assign a name and under the "Cluster Role" dropdown, please select "Cluster Role: view".
- Under the "Assign groups to this Cluster Binding" section, check the ep-pf9-readonly group to allow users of that group read-only access to the selected cluster.
- Click "Add Cluster Role Binding" to finish creating the role binding.
Once the above steps are completed, any users added to the < Above-group-created > should have read-only cluster access to the selected cluster. The above steps will need to be performed for each cluster separately.
Was this page helpful?