9.6. AWS STS 없이 ROSA 클러스터 생성
환경을 설정하고 AWS(ROSA)에 Red Hat OpenShift Service를 설치한 후 클러스터를 생성합니다.
이 문서에서는 ROSA 클러스터를 설정하는 방법을 설명합니다. 또는 AWS PrivateLink를 사용하여 ROSA 클러스터를 생성할 수 있습니다.
AWS STS(Security Token Service)는 강화된 보안을 제공하기 때문에 AWS의 Red Hat OpenShift Service on AWS(ROSA)에 클러스터를 설치하고 상호 작용하는 데 권장되는 인증 정보 모드입니다.
9.6.1. 클러스터 생성 링크 복사링크가 클립보드에 복사되었습니다!
rosa CLI를 사용하여 AWS 클러스터에서 Red Hat OpenShift Service를 생성할 수 있습니다.
사전 요구 사항
AWS에 Red Hat OpenShift Service를 설치했습니다.
AWS 공유 VPC는 현재 ROSA 설치에서 지원되지 않습니다.
절차
기본 설정을 사용하거나 대화형 모드를 사용하여 사용자 지정 설정을 지정하여 클러스터를 생성할 수 있습니다. 클러스터를 생성할 때 다른 옵션을 보려면
rosa create cluster --help를 입력합니다.클러스터를 생성하는 데 최대 40분이 걸릴 수 있습니다.
참고프로덕션 워크로드에는 여러 가용 영역(AZ)이 권장됩니다. 기본값은 단일 가용성 영역입니다. 이 옵션을 수동으로 설정하거나 대화형 모드를 사용하여 이 설정을 요청하는 방법에 대한 예는
--help를 사용합니다.기본 클러스터 설정으로 클러스터를 생성하려면 다음을 수행합니다.
rosa create cluster --cluster-name=<cluster_name>
$ rosa create cluster --cluster-name=<cluster_name>Copy to Clipboard Copied! Toggle word wrap Toggle overflow 출력 예
I: Creating cluster with identifier '1de87g7c30g75qechgh7l5b2bha6r04e' and name 'rh-rosa-test-cluster1' I: To view list of clusters and their status, run `rosa list clusters` I: Cluster 'rh-rosa-test-cluster1' has been created. I: Once the cluster is 'Ready' you will need to add an Identity Provider and define the list of cluster administrators. See `rosa create idp --help` and `rosa create user --help` for more information. I: To determine when your cluster is Ready, run `rosa describe cluster rh-rosa-test-cluster1`.
I: Creating cluster with identifier '1de87g7c30g75qechgh7l5b2bha6r04e' and name 'rh-rosa-test-cluster1' I: To view list of clusters and their status, run `rosa list clusters` I: Cluster 'rh-rosa-test-cluster1' has been created. I: Once the cluster is 'Ready' you will need to add an Identity Provider and define the list of cluster administrators. See `rosa create idp --help` and `rosa create user --help` for more information. I: To determine when your cluster is Ready, run `rosa describe cluster rh-rosa-test-cluster1`.Copy to Clipboard Copied! Toggle word wrap Toggle overflow 대화형 프롬프트를 사용하여 클러스터를 생성하려면 다음을 수행합니다.
rosa create cluster --interactive
$ rosa create cluster --interactiveCopy to Clipboard Copied! Toggle word wrap Toggle overflow 네트워킹 IP 범위를 구성하려면 다음 기본 범위를 사용할 수 있습니다. 수동 모드를 사용할 때 자세한 내용은
rosa create cluster --help | grep cidr을 사용합니다. 대화형 모드에서는 설정을 입력하라는 메시지가 표시됩니다.- 노드 CIDR: 10.0.0.0/16
- Service CIDR: 172.30.0.0/16
- Pod CIDR: 10.128.0.0/14
다음 명령을 입력하여 클러스터 상태를 확인합니다. 클러스터 생성 중에 출력의
State필드가pending에서설치로 전환되고 마지막으로준비상태가 됩니다.rosa describe cluster --cluster=<cluster_name>
$ rosa describe cluster --cluster=<cluster_name>Copy to Clipboard Copied! Toggle word wrap Toggle overflow 출력 예
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 참고설치에 실패하거나 40분 후에
State필드가준비상태가 아닌 경우 자세한 내용은 설치 문제 해결 설명서를 확인하십시오.OpenShift 설치 프로그램 로그를 확인하여 클러스터 생성의 진행 상황을 추적합니다.
rosa logs install --cluster=<cluster_name> --watch
$ rosa logs install --cluster=<cluster_name> --watchCopy to Clipboard Copied! Toggle word wrap Toggle overflow