4.8. 컨테이너 이미지 검색

다음 절차 및 예제 파일 콘텐츠를 사용하여 별도의 heat 스택을 사용하여 배포에 필요한 컨테이너 이미지를 검색합니다. 에지 사이트의 환경 파일과 함께 openstack container image prepare 명령을 실행하여 선택 사항 또는 에지 관련 서비스의 컨테이너 이미지가 포함되어 있는지 확인해야 합니다.

자세한 내용은 컨테이너 이미지 준비를 참조하십시오.

절차

  1. containers.yaml 에 레지스트리 서비스 계정 인증 정보를 추가합니다.

    parameter_defaults:
      ContainerImagePrepare:
      - push_destination: true
        set:
          ceph_namespace: registry.redhat.io/rhceph
          ceph_image: rhceph-4-rhel8
          ceph_tag: latest
          name_prefix: openstack-
          namespace: registry.redhat.io/rhosp16-rhel8
          tag: latest
      ContainerImageRegistryCredentials:
        # https://access.redhat.com/RegistryAuthentication
        registry.redhat.io:
          registry-service-account-username: registry-service-account-password
  2. 환경 파일을 images-env.yaml로 생성합니다.

    sudo openstack tripleo container image prepare \
    -e containers.yaml \
    --output-env-file images-env.yaml

    결과 images-env.yaml 파일은 생성된 스택에 대한 오버클라우드 배포 절차의 일부로 포함됩니다.