gardener / autoscaler

Customised fork of cluster-autoscaler to support machine-controller-manager
Apache License 2.0
16 stars 25 forks source link

Populate instance status state when `machine.Status.LastOperation.Type` is `Create` #309

Closed rishabh-11 closed 4 months ago

rishabh-11 commented 4 months ago

What this PR does / why we need it: This PR modifies the code to make sure that the instance status is populated with a state in case where machine is in Creation stage.

Which issue(s) this PR fixes: Fixes #307

Special notes for your reviewer:

Release note:

Fixed a bug where the instance status was nil when `machine.Status.LastOperation.Type` = `Create` causing it to not be considered as an unregistered Node and thereby cluster autoscaler never removing it