我已经创建了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": []
}
答案 0 :(得分:1)