2.2.
2.2.1.
사전 요구 사항
- 참고
절차
추가 리소스
2.2.2.
사전 요구 사항
- 참고
절차
- 참고
$ aws sts get-caller-identity
출력 예
<aws_account_id> arn:aws:iam::<aws_account_id>:user/<username> <aws_user_id>
$ tar xvf rosa-linux.tar.gz
$ sudo mv rosa /usr/local/bin/rosa
$ rosa version
출력 예
1.2.8
# rosa completion bash > /etc/bash_completion.d/rosa
참고$ rosa login
출력 예
To login to your Red Hat account, get an offline access token at https://console.redhat.com/openshift/token/rosa ? Copy the token and paste it here:
참고$ rosa whoami
출력 예
AWS Account ID: <aws_account_number> AWS Default Region: us-east-1 AWS ARN: arn:aws:iam::<aws_account_number>:user/<aws_user_name> OCM API: https://api.openshift.com OCM Account ID: <red_hat_account_id> OCM Account Name: Your Name OCM Account Username: you@domain.com OCM Account Email: you@domain.com OCM Organization ID: <org_id> OCM Organization Name: Your organization OCM Organization External ID: <external_org_id>
$ rosa download openshift-client
$ tar xvf openshift-client-linux.tar.gz
$ sudo mv oc /usr/local/bin/oc
$ rosa verify openshift-client
출력 예
I: Verifying whether OpenShift command-line tool is available... I: Current OpenShift Client Version: 4.9.12