diff --git a/cluster-autoscaler/cloudprovider/azure/processors/nodegroupset/azure_nodegroups.go b/cluster-autoscaler/cloudprovider/azure/processors/nodegroupset/azure_nodegroups.go index 7496ad40a77..3b615a62067 100644 --- a/cluster-autoscaler/cloudprovider/azure/processors/nodegroupset/azure_nodegroups.go +++ b/cluster-autoscaler/cloudprovider/azure/processors/nodegroupset/azure_nodegroups.go @@ -69,7 +69,7 @@ func CreateAzureNodeInfoComparator(extraIgnoredLabels []string, ratioOpts config azureIgnoredLabels[resourceNameSuffix] = true azureIgnoredLabels[aksNodeImageVersion] = true azureIgnoredLabels[aksConsolidatedAdditionalProperties] = true - + for _, k := range extraIgnoredLabels { azureIgnoredLabels[k] = true }