Skip to content

Unable to export AKS nodepool #25636

@rguptar

Description

@rguptar

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command
works: az group export --name $RG --resource-ids /subscriptions/$SUB/resourcegroups/$RG/providers/Microsoft.ContainerService/managedClusters/$CLUSTER

does not work: az group export --name $RG --resource-ids /subscriptions/$SUB/resourcegroups/$RG/providers/Microsoft.ContainerService/managedClusters/$CLUSTER/agentPools/$POOL

Describe the bug
az group export works for the AKS cluster but fails for the agent pool. It returns an empty ARM template

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {},
  "resources": [],
  "variables": {}
}

To Reproduce
See above

Expected behavior
az group export shows the config for a single nodepool.

Environment summary
xplat

Additional context
n/a

Metadata

Metadata

Assignees

Labels

AKSaz aks/acs/openshiftAuto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.act-identity-squadneeds-team-attentionThis issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions