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

feat: add drain delay #852

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

MerlinDMC
Copy link
Contributor

This PR adds a --drain-delay flag.
The duration given will delay the node draining process to allow for other controllers in the cluster to complete work.

We are using --pre-reboot-node-labels=node.kubernetes.io/exclude-from-external-load-balancers=true to signal the load balancer controller to start draining connections from the node as it is about to be drained.
With the flag added we can delay the draining process to ensure the load balancer controller has enough time to remove the node from active traffic flow before the draining starts.

@MerlinDMC
Copy link
Contributor Author

any idea why the E2E for 1.27 is failing? is it a transient problem - can we retry the job?

@ckotzbauer
Copy link
Member

Sometimes single test-run's are failing. This is unrelated to your changes.

Copy link
Member

@ckotzbauer ckotzbauer left a comment

Choose a reason for hiding this comment

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

Can you please open additional PRs to the website and chart-repo?
Thanks for the addition!!

@MerlinDMC
Copy link
Contributor Author

I've opened two additional PR to add the flag to the configuration properties and parameter docs.

Copy link
Collaborator

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

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

/lgtm

Signed-off-by: Daniel Malon <[email protected]>
@jackfrancis
Copy link
Collaborator

@MerlinDMC FYI I rebased on top of main and force-pushed to attempt to overcome unexplained E2E errors. Will merge when we get a green signal.

@jackfrancis jackfrancis merged commit d51258f into kubereboot:main Dec 11, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants