gpt4 book ai didi

azure - 如何配置容器的吞吐量?

转载 作者:行者123 更新时间:2023-12-01 13:14:44 25 4
gpt4 key购买 nike

我使用 this 创建了 Cosmos Db 帐户、数据库和容器。 ARM 模板。通过 Azure DevOps 发布管道进行的部署正在运行。

我用了this ARM 模板调整数据库吞吐量。它也在发布管道中并且正在运行。

目前,吞吐量是在数据库级别配置的,并在所有容器之间共享。如何在容器级别配置吞吐量?我尝试运行 this用于更新容器级别吞吐量的 ARM 模板。看起来,一旦在数据库级别配置了共享吞吐量,就无法在容器级别配置吞吐量。

我找到了this引用文档但未列出吞吐量。我是否遗漏了一些非常明显的东西,或者所需的功能尚未实现?

更新:当尝试使用上述模板更新容器时,我得到以下信息:

2019-05-29T20:25:10.5166366Z There were errors in your deployment. Error code: DeploymentFailed.
2019-05-29T20:25:10.5236514Z ##[error]At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
2019-05-29T20:25:10.5246027Z ##[error]Details:
2019-05-29T20:25:10.5246412Z ##[error]NotFound: {
"code": "NotFound",
"message": "Entity with the specified id does not exist in the system.\r\nActivityId: 7ba84...b52b2, Microsoft.Azure.Documents.Common/2.4.0.0"
} undefined
2019-05-29T20:25:10.5246730Z ##[error]Task failed while creating or updating the template deployment.

最佳答案

我也遇到了同样的错误:

  "code": "NotFound",
"message": "Entity with the specified id does not exist in the system.

我通过 DevOps 管道部署 ARM 模板,以更改 Azure 中现有资源的配置。

现有资源在容器/集合级别定义了专用吞吐量,而我的 ARM 模板试图在数据库级别定义吞吐量...

调整后我的部署管道就起作用了。

以下是有关我的吞吐量配置修复的一些信息:https://github.com/MicrosoftDocs/azure-docs/issues/30853

关于azure - 如何配置容器的吞吐量?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56367334/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com