diff --git a/cluster-autoscaler/cloudprovider/mcm/mcm_manager.go b/cluster-autoscaler/cloudprovider/mcm/mcm_manager.go index c9fcd1c1d30..23ee0b5c642 100644 --- a/cluster-autoscaler/cloudprovider/mcm/mcm_manager.go +++ b/cluster-autoscaler/cloudprovider/mcm/mcm_manager.go @@ -254,6 +254,7 @@ func createMCMManagerInternal(discoveryOpts cloudprovider.NodeGroupDiscoveryOpti m := &McmManager{ namespace: namespace, interrupt: make(chan struct{}), + machineDeployments: make(map[types.NamespacedName]*MachineDeployment), deploymentLister: deploymentLister, machineClient: controlMachineClient, machineClassLister: machineClassLister,