This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.19.5.23. 컨트롤 플레인 노드 생성
masters.yml
Playbook을 실행하여 컨트롤 플레인 노드를 생성합니다. 이 Playbook은 각 가상 머신에 master.ign
Ignition 파일을 전달합니다. Ignition 파일에는 https://api-int.ocp4.example.org:22623/config/master
와 같은 URL에서 Ignition을 가져 오는 컨트롤 플레인 노드에 대한 지시문이 포함되어 있습니다. 이 URL의 포트 번호는 로드 밸런서에 의해 관리되며 클러스터 내에서만 액세스할 수 있습니다.
프로세스
컨트롤 플레인 노드를 생성합니다.
ansible-playbook -i inventory.yml masters.yml
$ ansible-playbook -i inventory.yml masters.yml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Playbook이 컨트롤 플레인을 생성하는 동안 부트스트랩 프로세스를 모니터링합니다.
openshift-install wait-for bootstrap-complete --dir $ASSETS_DIR
$ openshift-install wait-for bootstrap-complete --dir $ASSETS_DIR
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 출력 예
INFO API v1.23.0 up INFO Waiting up to 40m0s for bootstrapping to complete...
INFO API v1.23.0 up INFO Waiting up to 40m0s for bootstrapping to complete...
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 컨트롤 플레인 노드 및 etcd의 모든 pod가 실행 중이면 설치 프로그램에 다음과 같은 출력이 표시됩니다.
출력 예
INFO It is now safe to remove the bootstrap resources
INFO It is now safe to remove the bootstrap resources
Copy to Clipboard Copied! Toggle word wrap Toggle overflow