[英]Can I avoid that Azure creates new resource groups for Kubernetes?
[英]Azure Kubernetes Service Creates Extra Resource Groups
我创建了一个Azure Kubernetes Service(AKS)实例,并且发现,除了我在其中创建AKS实例的资源组之外,还为我创建了两个其他资源组。 我的资源组及其内容如下所示:
MyResourceGroup-Production
MyAKSInstance
-Azure Kubernetes服务(AKS) DefaultResourceGroup-WEU
ContainerInsights(MyAKSInstance)
-解决方案 MyAKSInstance
日志分析 MC_MyResourceGroup-Production_MyAKSInstance_westeurope
agentpool-availabilitySet-36219400
可用性集 aks-agentpool-36219400-0
虚拟机 aks-agentpool-36219400-0_OsDisk_1_09469b24b1ff4526bcfd5d00840cfbbc
磁盘 aks-agentpool-36219400-nic-0
网络接口 aks-agentpool-36219400-nsg
网络安全组 aks-agentpool-36219400-routetable
路由表 aks-vnet-36219400
虚拟网络 我对这两个独立的资源组有一些疑问:
DefaultResourceGroup-WEU
的内容移动到MyResourceGroup-Production
吗? DefaultResourceGroup-WEU
。 我可以使用该实例来接受其他实例的日志吗? 我设法预先创建了一个日志分析资源,并将其用于Kubernetes。 但是,我在进入资源组时遇到了第三个资源:
{
"type": "Microsoft.Resources/deployments",
"name": "SolutionDeployment",
"apiVersion": "2017-05-10",
"resourceGroup": "[split(parameters('omsWorkspaceId'),'/')[4]]",
"subscriptionId": "[split(parameters('omsWorkspaceId'),'/')[2]]",
"properties": {
"mode": "Incremental",
"template": {
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {},
"resources": [
{
"apiVersion": "2015-11-01-preview",
"type": "Microsoft.OperationsManagement/solutions",
"location": "[parameters('workspaceRegion')]",
"name": "[concat('ContainerInsights', '(', split(parameters('omsWorkspaceId'),'/')[8], ')')]",
"properties": {
"workspaceResourceId": "[parameters('omsWorkspaceId')]"
},
"plan": {
"name": "[concat('ContainerInsights', '(', split(parameters('omsWorkspaceId'),'/')[8], ')')]",
"product": "[concat('OMSGallery/', 'ContainerInsights')]",
"promotionCode": "",
"publisher": "Microsoft"
}
}
]
}
},
"dependsOn": []
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.