[英]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.