This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.8.11. 创建集群管理员
需要具备 cluster-admin
角色才能在 OpenShift Container Platform 集群上执行管理员级别的任务,例如修改集群资源。
先决条件
- 您必须已创建了要定义为集群管理员的用户。
流程
将用户定义为集群管理员:
oc adm policy add-cluster-role-to-user cluster-admin <user>
$ oc adm policy add-cluster-role-to-user cluster-admin <user>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow