Managing Storage Capacity with OpenShift Data Foundation Flashcards
(97 cards)
What is the main objective of configuring storage quotas and permissions in OpenShift?
Configure and verify quotas and permissions for Red Hat OpenShift Data Foundation cluster storage
What technique is used for managing access to resources in Red Hat OpenShift?
Role-based access control (RBAC)
What does RBAC determine in the context of OpenShift?
Whether a user can perform certain actions within the cluster or project
How does RBAC apply to OpenShift Data Foundation?
It controls access to storage classes and clusters
What are storage cluster permissions used for?
Managing storage volume access
How can cluster administrators restrict access to storage classes?
By using RBAC to allow or deny access
What is an example of how access can be restricted using RBAC?
Limiting storage types that development applications can access
What resources manage the RBAC authorization process in OpenShift?
Rules, Roles, Bindings
What are rules in the context of RBAC?
Sets of permitted verbs on a group of objects
What is a role in RBAC?
A set of rules that can be associated with users and groups
What are bindings in RBAC?
Assignments of users or groups to a role
How does RBAC control storage on the cluster and project level?
By configuring default settings for cluster storage pools and managing PVCs
What are the two groups of roles and bindings defined by OpenShift?
- Cluster RBAC
- Local RBAC
What does Cluster RBAC refer to?
Roles and bindings that apply across all projects
What does Local RBAC refer to?
Roles and bindings scoped to a given project
True or False: Local role bindings can only reference local roles.
False
Fill in the blank: RBAC controls storage on the _______ and _______ level.
[cluster] and [project]
What command is used to add a cluster role to a user?
oc adm policy add-cluster-role-to-user cluster-role username
What command is used to add a role to a user for a specific project?
oc adm policy add-role-to-user role username -n project
What command determines if a user can execute an action on a resource?
oc adm policy who-can verb resource
List some verbs that can be used in the ‘who-can’ command.
- get
- list
- create
- update
- delete
- deletecollection
- watch
What is the admin cluster role capable of?
Manage all project resources and grant access to other users
What access does the basic-user cluster role provide?
Read access to the project
What capabilities does the cluster-admin role provide?
Superuser access to cluster resources, full control of all projects