2.5.2. 기존 IAM 역할 지정
설치 프로그램에서 기본 권한으로 IAM 인스턴스 프로필을 생성하는 대신 install-config.yaml 파일을 사용하여 컨트롤 플레인 및 컴퓨팅 인스턴스에 대한 기존 IAM 역할을 지정할 수 있습니다.
사전 요구 사항
-
기존
install-config.yaml파일이 있습니다.
프로세스
컴퓨팅 시스템의 기존 역할로
compute.platform.aws.iamRole을 업데이트합니다.컴퓨팅 인스턴스의 IAM 역할이 있는 샘플
install-config.yaml파일compute: - hyperthreading: Enabled name: worker platform: aws: iamRole: ExampleRole컨트롤 플레인 시스템에 대한 기존 역할로
controlPlane.platform.aws.iamRole을 업데이트합니다.컨트롤 플레인 인스턴스에 대한 IAM 역할이 있는 샘플
install-config.yaml파일controlPlane: hyperthreading: Enabled name: master platform: aws: iamRole: ExampleRole- 파일을 저장하고 OpenShift Container Platform 클러스터를 설치할 때 참조합니다.
클러스터를 설치한 후 IAM 계정을 변경하거나 업데이트하려면 Cryostat 4 AWS cloud-credentials 액세스 키가 만료된 (Red Hat 지식베이스)를 참조하십시오.