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.4.3.3. 将数据存储至 Microsoft Azure 中
要将数据存储至 Azure blob 存储中,必须使用已有容器。
流程
编辑
azure-blob-storage.yaml
文件中的spec.storage
部分:azure-blob-storage.yaml
文件示例Copy to Clipboard Copied! Toggle word wrap Toggle overflow 使用以下
Secret
对象作为模板:Azure
Secret
对象示例Copy to Clipboard Copied! Toggle word wrap Toggle overflow 创建 secret:
oc create secret -n openshift-metering generic my-azure-secret \ --from-literal=azure-storage-account-name=my-storage-account-name \ --from-literal=azure-secret-access-key=my-secret-key
$ oc create secret -n openshift-metering generic my-azure-secret \ --from-literal=azure-storage-account-name=my-storage-account-name \ --from-literal=azure-secret-access-key=my-secret-key
Copy to Clipboard Copied! Toggle word wrap Toggle overflow