1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/rbac-creating-cluster-admin.adoc
2023-10-30 10:13:25 -04:00

26 lines
619 B
Plaintext

// Module included in the following assemblies:
//
// * authentication/using-rbac.adoc
// * post_installation_configuration/preparing-for-users.adoc
:_mod-docs-content-type: PROCEDURE
[id="creating-cluster-admin_{context}"]
= Creating a cluster admin
The `cluster-admin` role is required to perform administrator
level tasks on the {product-title} cluster, such as modifying
cluster resources.
.Prerequisites
* You must have created a user to define as the cluster admin.
.Procedure
* Define the user as a cluster admin:
+
[source,terminal]
----
$ oc adm policy add-cluster-role-to-user cluster-admin <user>
----