Creating a cluster admin

To grant a user full administrative access to the cluster, you can bind the cluster-admin cluster role to that user.

The cluster-admin role is required to perform administrator level tasks on the Red Hat OpenShift Container Platform 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:

    $ oc adm policy add-cluster-role-to-user cluster-admin <user>