简体   繁体   English

Azure资源组中的最大部署限制

[英]Maximum limit of deployments in Azure Resource Group

Today I skimmed over the Azure subscription and service limits, quotas, and constraints. 今天,我浏览了Azure订阅和服务限制,配额和约束。 Then I noticed there is a limit for deployments in a resource group of Azure Resource Manager. 然后我注意到Azure Resource Manager 的资源组中部署存在限制 The default limit, as well as the maximum limit, is 800 deployments per resource group. 默认限制以及最大限制是每个资源组800个部署。

Does this mean I can run 800 deployments within the lifetime of a resource group and after I reached this limit this resource group cannot run any deployments? 这是否意味着我可以在资源组的生命周期内运行800个部署,并且在达到此限制后,此资源组无法运行任何部署? Or is this limit related to concurrent runs of deployments and addresses platform scalability aspects? 或者此限制是否与部署的并发运行相关并解决平台可伸缩性问题?

The "Deployments per resource group" in https://docs.microsoft.com/en-gb/azure/azure-subscription-service-limits#resource-group-limits specifies the limit of the deployments history. https://docs.microsoft.com/en-gb/azure/azure-subscription-service-limits#resource-group-limits中的“每个资源组的部署”指定了部署历史记录的限制。 The deployments history can be accessed in the resource group under Settings > Deployments. 可以在“设置”>“部署”下的资源组中访问部署历史记录。 Deletion of the resources does not remove the deployments from the history, and the other way round - deleting the deployments history does not affect the state of the resources in the resource group. 删除资源不会从历史记录中删除部署,反之亦然 - 删除部署历史记录不会影响资源组中的资源状态。 Once the limit of 800 deployments is reached, further deployments will not be possible. 达到800个部署限制后,将无法进一步部署。 Even if you have no resources in the resource group, the deployments history would need to be cleared in order to proceed with the further deployments. 即使资源组中没有资源,也需要清除部署历史记录以继续进一步部署。

Deployments history can be deleted manually or via powershell. 可以手动删除部署历史记录或通过PowerShell删除部署历史记录。 Check https://blogs.msdn.microsoft.com/cloud_solution_architect/2016/08/22/handling-azure-resource-manager-deployment-limits/ 检查https://blogs.msdn.microsoft.com/cloud_solution_architect/2016/08/22/handling-azure-resource-manager-deployment-limits/

A given resource group, at any moment in time, will have zero or more deployments. 任何时刻,给定资源组将具有零个或多个部署。 This has nothing to do with a lifetime counter, nor does it relate to scaling. 这与终身计数器无关,也与缩放无关。 It's simply how many deployments you currently have within that resource group. 它只是您在该资源组中有多少部署。

If you viewed your resource group (via portal/powershell/cli/api), you'd see a list of deployments, up to 800 of them. 如果您查看了资源组(通过portal / powershell / cli / api),您将看到最多800个部署的部署列表。

The blog post referenced above uses an older version of the Azure cmdlet Remove-AzureRmResourceGroupDeployment that allows a -Force parameter. 上面引用的博客文章使用旧版本的Azure cmdlet Remove-AzureRmResourceGroupDeployment,它允许使用-Force参数。 The current version (as of 11/2017) doesn't include that parameter (-Force) and as a result forces a confirmation dialog which will prevent automation from working. 当前版本(截至11月11日)不包含该参数(-Force),因此强制确认对话框将阻止自动化工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM