Skip to content

Commit 20ef60f

Browse files
committed
Add comment
1 parent 7fcb519 commit 20ef60f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cluster-autoscaler/cloudprovider/azure/azure_cache.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ type azureCache struct {
108108

109109
func newAzureCache(client *azClient, cacheTTL time.Duration, config Config) (*azureCache, error) {
110110
nodeResourceGroup := config.ResourceGroup
111+
// Hosted (on-behalf-of) system pool node resources are in the AKS internal resource group within AME tenants,
112+
// which differs from the MC_* resource group found in the customer subscription.
111113
if config.HostedResourceGroup != "" {
112114
nodeResourceGroup = config.HostedResourceGroup
113115
}

0 commit comments

Comments
 (0)