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.3.3.3. Azure Government の場合のレジストリーストレージの設定
インストール時に、Azure Blob Storage を作成するにはクラウド認証情報を使用でき、レジストリー Operator がストレージを自動的に設定します。
前提条件
- Government リージョンのユーザーによってプロビジョニングされるインフラストラクチャーでの Azure 上のクラスター。
- Azure のレジストリーストレージを設定するには、レジストリー Operator クラウド認証情報を指定する必要があります。
AWS ストレージの場合、シークレットには 1 つのキーが含まれることが予想されます。
-
REGISTRY_STORAGE_AZURE_ACCOUNTKEY
-
手順
- Azure ストレージコンテナー を作成します。
configs.imageregistry.operator.openshift.io/clusterにストレージ設定を入力します。oc edit configs.imageregistry.operator.openshift.io/cluster
$ oc edit configs.imageregistry.operator.openshift.io/clusterCopy to Clipboard Copied! Toggle word wrap Toggle overflow 設定例
storage: azure: accountName: <storage-account-name> container: <container-name> cloudName: AzureUSGovernmentCloudstorage: azure: accountName: <storage-account-name> container: <container-name> cloudName: AzureUSGovernmentCloud1 Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
cloudNameは、適切な Azure API エンドポイントで Azure SDK を設定するために使用できる Azure クラウド環境の名前。デフォルトでAzurePublicCloudに設定されます。また、適切な認証情報を使用してcloudNameをAzureUSGovernmentCloud、AzureChinaCloud、またはAzureGermanCloudに設定することもできます。