Azure Kubernetes - 作为 AKS 安装程序的一部分创建的额外资源组的自定义名称?

Azure Kubernetes - Customized Name for the Extra Resource group created as a part of the AKS Setup?

我创建了一个 Azure Kubernetes 服务 (AKS) 实例,发现除了我在其中创建 AKS 实例的资源组外,还为我创建了另一个资源组。

例如:

我的 AKS 资源组:Production_MyAKSInstance 其他资源组:MC_MyResourceGroup-Production_MyAKSInstance_westeurope

有没有办法将附加资源组重命名为 Production_MyAKSInstance_Supportive?

您不能重命名它,但是您可以在创建集群时指定一个名称。

https://docs.microsoft.com/en-us/azure/aks/faq

By default, AKS will name the node resource group MC_resourcegroupname_clustername_location, but you can also provide your own name.

To specify your own resource group name, install the aks-preview Azure CLI extension version 0.3.2 or later. When you create an AKS cluster by using the az aks create command, use the --node-resource-group parameter and specify a name for the resource group. If you use an Azure Resource Manager template to deploy an AKS cluster, you can define the resource group name by using the nodeResourceGroup property.

The secondary resource group is automatically created by the Azure resource provider in your own subscription. You can specify a custom resource group name only when you're creating the cluster. As you work with the node resource group, keep in mind that you cannot:

Specify an existing resource group for the node resource group. Specify a different subscription for the node resource group. Change the node resource group name after the cluster has been created. Specify names for the managed resources within the node resource group. Modify or delete Azure-created tags of managed resources within the node resource group.