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.11. 베어 메탈에서 지원되는 설치 프로그램 서비스 활성화
AIS(Assisted Installer Service)는 OpenShift Container Platform 클러스터를 배포합니다. RHACM(Red Hat Advanced Cluster Management)에는 AIS가 포함되어 있습니다. AIS는 RHACM 허브 클러스터에서 MultiClusterHub Operator를 활성화하면 배포됩니다.
DC(분산 단위)의 경우 RHACM은 단일 베어 메탈 호스트에서 실행되는 OpenShift Container Platform 배포를 지원합니다. 단일 노드 클러스터는 컨트롤 플레인과 작업자 노드 역할을 합니다.
사전 요구 사항
- 허브 클러스터에 OpenShift Container Platform 4.9를 설치합니다.
-
RHACM을 설치하고
MultiClusterHub
리소스를 생성합니다. - 데이터베이스 및 파일 시스템 스토리지에 사용할 영구 볼륨 CR(사용자 정의 리소스)을 생성합니다.
-
OpenShift CLI(
oc
)가 설치되어 있습니다.
절차
HiveConfig
리소스를 수정하여 Assisted Installer의 feature Gate를 활성화합니다.oc patch hiveconfig hive --type merge -p '{"spec":{"targetNamespace":"hive","logLevel":"debug","featureGates":{"custom":{"enabled":["AlphaAgentInstallStrategy"]},"featureSet":"Custom"}}}'
$ oc patch hiveconfig hive --type merge -p '{"spec":{"targetNamespace":"hive","logLevel":"debug","featureGates":{"custom":{"enabled":["AlphaAgentInstallStrategy"]},"featureSet":"Custom"}}}'
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 베어 메탈 Operator가 모든 네임스페이스를 조사할 수 있도록
프로비저닝
리소스를 수정합니다.oc patch provisioning provisioning-configuration --type merge -p '{"spec":{"watchAllNamespaces": true }}'
$ oc patch provisioning provisioning-configuration --type merge -p '{"spec":{"watchAllNamespaces": true }}'
Copy to Clipboard Copied! Toggle word wrap Toggle overflow AgentServiceConfig
CR을 생성합니다.다음 YAML을
agent_service_config.yaml
파일에 저장합니다.Copy to Clipboard Copied! Toggle word wrap Toggle overflow 다음 명령을 실행하여
AgentServiceConfig
CR을 생성합니다.oc create -f agent_service_config.yaml
$ oc create -f agent_service_config.yaml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 출력 예
agentserviceconfig.agent-install.openshift.io/agent created
agentserviceconfig.agent-install.openshift.io/agent created
Copy to Clipboard Copied! Toggle word wrap Toggle overflow