27.3.4.2.6. 예: 통합 OpenShift Container Registry를 사용한 통합 모드


  1. 인벤토리 파일에서 [OSEv3:vars] 섹션 아래에 다음 변수를 설정하고 구성에 필요한 대로 조정합니다.

    [OSEv3:vars]
    ...
    openshift_hosted_registry_storage_kind=glusterfs 
    1
    
    openshift_hosted_registry_storage_volume_size=5Gi
    openshift_hosted_registry_selector='node-role.kubernetes.io/infra=true'
    Copy to Clipboard Toggle word wrap
    1
    인프라 노드에서 통합된 OpenShift Container Registry를 실행하는 것이 좋습니다. 인프라 노드는 관리자가 OpenShift Container Platform 클러스터에 서비스를 제공하기 위해 배포한 애플리케이션을 실행하는 전용 노드입니다.
  2. [OSEv3:children] 섹션에 glusterfs_registry 를 추가하여 [glusterfs_registry] 그룹을 활성화합니다.

    [OSEv3:children]
    masters
    nodes
    glusterfs_registry
    Copy to Clipboard Toggle word wrap
  3. GlusterFS 스토리지를 호스팅할 각 스토리지 노드에 대한 항목으로 [glusterfs_registry] 섹션을 추가합니다. 각 노드에서 glusterfs_devices 를 GlusterFS 클러스터의 일부로 완전히 관리되는 원시 블록 장치 목록으로 설정합니다. 장치가 하나 이상 나열되어야 합니다. 각 장치는 파티션 또는 LVM PV가 없는 베어 상태여야 합니다. 변수를 지정하려면 다음 형식을 사용합니다.

    <hostname_or_ip> glusterfs_devices='[ "</path/to/device1/>", "</path/to/device2>", ... ]'
    Copy to Clipboard Toggle word wrap

    예를 들면 다음과 같습니다.

    [glusterfs_registry]
    node11.example.com glusterfs_devices='[ "/dev/xvdc", "/dev/xvdd" ]'
    node12.example.com glusterfs_devices='[ "/dev/xvdc", "/dev/xvdd" ]'
    node13.example.com glusterfs_devices='[ "/dev/xvdc", "/dev/xvdd" ]'
    Copy to Clipboard Toggle word wrap
  4. [glusterfs_registry] 아래에 나열된 호스트를 [nodes] 그룹에 추가합니다.

    [nodes]
    ...
    node11.example.com openshift_node_group_name="node-config-infra"
    node12.example.com openshift_node_group_name="node-config-infra"
    node13.example.com openshift_node_group_name="node-config-infra"
    Copy to Clipboard Toggle word wrap
    참고

    앞의 단계에서는 인벤토리 파일에 추가해야 하는 일부 옵션만 제공합니다. 전체 인벤토리 파일을 사용하여 Red Hat Gluster Storage를 배포합니다.

  5. 플레이북 디렉터리로 변경하고 설치 플레이북을 실행합니다. 인벤토리 파일의 상대 경로를 옵션으로 제공합니다.

    • 새로운 OpenShift Container Platform 설치의 경우 다음을 수행합니다.

      $ cd /usr/share/ansible/openshift-ansible
      $ ansible-playbook -i <path_to_inventory_file> playbooks/prerequisites.yml
      $ ansible-playbook -i <path_to_inventory_file> playbooks/deploy_cluster.yml
      Copy to Clipboard Toggle word wrap
    • 기존 OpenShift Container Platform 클러스터에 설치하려면 다음을 수행합니다.

      $ cd /usr/share/ansible/openshift-ansible
      $ ansible-playbook -i <path_to_inventory_file> playbooks/openshift-glusterfs/config.yml
      Copy to Clipboard Toggle word wrap
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat