2.4.
참고
사전 요구 사항
절차
$ rosa create admin --cluster=<cluster_name> 1
출력 예
W: It is recommended to add an identity provider to login to this cluster. See 'rosa create idp --help' for more information. I: Admin account has been added to cluster '<cluster_name>'. I: Please securely store this generated password. If you lose this password you can delete and recreate the cluster admin user. I: To login, run the following command: oc login https://api.example-cluster.wxyz.p1.openshiftapps.com:6443 --username cluster-admin --password d7Rca-Ba4jy-YeXhs-WU42J I: It may take up to a minute for the account to become active.
참고$ oc login <api_url> --username cluster-admin --password <cluster_admin_password> 1
$ oc whoami
출력 예
cluster-admin
추가 리소스