Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix infinite deadline for machineDeployment fetch/update #216

Conversation

himanshu-kun
Copy link

@himanshu-kun himanshu-kun commented May 8, 2023

What this PR does / why we need it:

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

Special notes for your reviewer:

Release note:

Bug where deadline for machineDeployment fetch/update was not respected is resolved. Due to this bug , bulk removal of empty nodes was getting blocked, which in turn, blocked scale-ups for pending pods
Gardener autoscaler version is shown in logs of CA , earlier only upstream autoscaler version was shown

@gardener-robot gardener-robot added the needs/review Needs review label May 8, 2023
@gardener-robot gardener-robot added the size/s Size of pull request is small (see gardener-robot robot/bots/size.py) label May 8, 2023
@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label May 8, 2023
@gardener-robot-ci-1 gardener-robot-ci-1 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels May 8, 2023
@gardener-robot-ci-1 gardener-robot-ci-1 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label May 8, 2023
Copy link

@rishabh-11 rishabh-11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/review Needs review labels May 8, 2023
@gardener-robot-ci-2 gardener-robot-ci-2 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label May 8, 2023
@himanshu-kun himanshu-kun merged commit 0382966 into gardener:machine-controller-manager-provider May 9, 2023
@himanshu-kun himanshu-kun deleted the regression-infinite-deadline-for-mcd-update branch May 9, 2023 04:12
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label May 9, 2023
rishabh-11 pushed a commit that referenced this pull request May 9, 2023
* retry deadline respected

* reverted retryTimeout changed for testing

* updated getMachineDeploymentUntilDeadline fn implementation and docstring

* fixed unwanted rebase changes

* Modifying taint removal logic on startup to consider all nodes instead of ready nodes.

---------

Co-authored-by: Clint Fooken <clfooken@ea.com>
rishabh-11 pushed a commit that referenced this pull request May 9, 2023
* retry deadline respected

* reverted retryTimeout changed for testing

* updated getMachineDeploymentUntilDeadline fn implementation and docstring

* Modifying taint removal logic on startup to consider all nodes instead of ready nodes.

---------

Co-authored-by: Clint Fooken <clfooken@ea.com>
rishabh-11 pushed a commit that referenced this pull request May 9, 2023
* retry deadline respected

* reverted retryTimeout changed for testing

* updated getMachineDeploymentUntilDeadline fn implementation and docstring

* Modifying taint removal logic on startup to consider all nodes instead of ready nodes.

---------

Co-authored-by: Clint Fooken <clfooken@ea.com>
rishabh-11 pushed a commit that referenced this pull request May 9, 2023
* retry deadline respected

* reverted retryTimeout changed for testing

* updated getMachineDeploymentUntilDeadline fn implementation and docstring
rishabh-11 pushed a commit that referenced this pull request May 9, 2023
* retry deadline respected

* reverted retryTimeout changed for testing

* updated getMachineDeploymentUntilDeadline fn implementation and docstring

* Modifying taint removal logic on startup to consider all nodes instead of ready nodes.

---------

Co-authored-by: Clint Fooken <clfooken@ea.com>
rishabh-11 pushed a commit that referenced this pull request May 9, 2023
* retry deadline respected

* reverted retryTimeout changed for testing

* updated getMachineDeploymentUntilDeadline fn implementation and docstring

* Modifying taint removal logic on startup to consider all nodes instead of ready nodes.

---------

Co-authored-by: Clint Fooken <clfooken@ea.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) reviewed/lgtm Has approval for merging size/s Size of pull request is small (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Regression] MaxRetryTimeout should be respected while scaling machineDeployment
5 participants