第3章 コンテナーイメージの取得
個別の heat スタックによるデプロイメントに必要なコンテナーイメージを取得するには、以下の手順およびサンプルファイルのコンテンツを使用ます。詳細については、「Preparing container images」を参照してください。
手順
containers.yaml
にレジストリーサービスアカウントの認証情報を追加します。Copy to Clipboard Copied! Toggle word wrap Toggle overflow parameter_defaults: NeutronMechanismDrivers: ovn ContainerImagePrepare: - push_destination: 192.168.24.1:8787 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
parameter_defaults: NeutronMechanismDrivers: ovn ContainerImagePrepare: - push_destination: 192.168.24.1:8787 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
環境ファイルを
~/containers-env-file.yaml
として生成します。Copy to Clipboard Copied! Toggle word wrap Toggle overflow openstack tripleo container image prepare -e containers.yaml --output-env-file ~/containers-env-file.yaml
$ openstack tripleo container image prepare -e containers.yaml --output-env-file ~/containers-env-file.yaml
中央コントローラーの デプロイ および HCI ノードの分散コンピュートノード(DCN)サイトへ のデプロイ では、作成される
~/containers-env-file.yaml
ファイルはオーバークラウドのデプロイメント手順の一部として含まれます。