Skip to content

Autoscaler 1.25 or later: If a node fails to be deleted, the lastScaleDownFailTime is not refresh. #6313

Open
@yaohuatj

Description

@yaohuatj

Which component are you using?:

cluster-autoscaler

What version of the component are you using?:
autoscaler 1.25

cluster-autoscaler-1.25.0

Component version:

What k8s version are you using (kubectl version)?:

kubectl version Output
$ kubectl version

What environment is this in?:
hws

What did you expect to happen?:
If a node fails to be deleted, the lastScaleDownFailTime will refresh.

What happened instead?:
image

If the go routine fails to delete a node, the error is not detected and the function still returns nil. Then the lastScaleDownFailTime is not refresh.

This indicates that the scale-down-delay-after-failure parameter does not take effect, but the scale-down-delay-after-delete parameter takes effect.

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Metadata

Metadata

Labels

area/cluster-autoscalerarea/core-autoscalerDenotes an issue that is related to the core autoscaler and is not specific to any provider.good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions