8.10. 선택 사항: 개인 이미지 레지스트리에 대한 프라이빗 Microsoft Azure 클러스터 준비
프라이빗 Microsoft Azure 클러스터에 프라이빗 이미지 레지스트리를 설치하면 프라이빗 스토리지 엔드포인트를 생성할 수 있습니다. 프라이빗 스토리지 끝점은 레지스트리의 스토리지 계정에 대한 공용 끝점을 비활성화하고 OpenShift Container Platform 배포에 추가 보안 계층을 추가합니다.
엔드포인트가 Microsoft Azure Red Hat OpenShift 클러스터를 복구할 수 없는 상태가 될 수 있으므로 Microsoft Azure Red Hat OpenShift(ARO)에 프라이빗 이미지 레지스트리를 설치하지 마십시오.
다음 가이드를 사용하여 프라이빗 이미지 레지스트리와 함께 설치할 개인 Microsoft Azure 클러스터를 준비합니다.
사전 요구 사항
- 클러스터 관리자 액세스 권한이 있는 OpenShift Container Platform 계정에 액세스할 수 있습니다.
- OpenShift CLI(oc)가 설치되어 있습니다.
- 다음 정보가 포함된 - install-config.yaml을 준비했습니다.- 
								publish필드는Internal로 설정됩니다.
 
- 
								
- 프라이빗 스토리지 끝점을 생성할 수 있는 권한을 설정했습니다. 자세한 내용은 "설치 관리자 프로비저닝 인프라에 대한 Azure 권한"을 참조하십시오.
프로세스
- 이전에 설치 매니페스트 파일을 생성하지 않은 경우 다음 명령을 실행하여 수행합니다. - ./openshift-install create manifests --dir <installation_directory> - $ ./openshift-install create manifests --dir <installation_directory>- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - 이 명령은 다음 메시지를 표시합니다. - 출력 예 - INFO Consuming Install Config from target directory INFO Manifests created in: <installation_directory>/manifests and <installation_directory>/openshift - INFO Consuming Install Config from target directory INFO Manifests created in: <installation_directory>/manifests and <installation_directory>/openshift- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
- 이미지 레지스트리 구성 오브젝트를 만들고 Microsoft Azure에서 제공하는 - networkResourceGroupName,- subnetName,- vnetName을 전달합니다. 예를 들면 다음과 같습니다.- touch imageregistry-config.yaml - $ touch imageregistry-config.yaml- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 참고- 설치 프로세스 중에 - imageregistry-config.yaml파일이 사용됩니다. 필요한 경우 설치 전에 백업해야 합니다.
- 다음 명령을 실행하여 - imageregistry-config.yaml파일을 <- installation_directory/manifests> 폴더로 이동합니다.- mv imageregistry-config.yaml <installation_directory/manifests/> - $ mv imageregistry-config.yaml <installation_directory/manifests/>- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
다음 단계
- 
						imageregistry-config.yaml파일을 <installation_directory/manifests> 폴더로 이동하고 필요한 권한을 설정한 후 "클러스터 배포"를 진행합니다.