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