Skip to content

Merge to main: do not always undrain node#2120

Merged
itechdima merged 2 commits intomainfrom
merge-to-main-from/pr-2113/SCHED-869/do-not-always-undrain-node
Feb 2, 2026
Merged

Merge to main: do not always undrain node#2120
itechdima merged 2 commits intomainfrom
merge-to-main-from/pr-2113/SCHED-869/do-not-always-undrain-node

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 2, 2026

This is merge back of the Pull Request #2113 by @itechdima

Original PR Description

Problem

K8S nodes are always undrained by our nodeconfigurator. So in case of k8s needs to replace node softly with drain, our configurator interferes in that flow and doesn't allow it. Also, there's a race with node restarts, so instead of restarting one time it could go several times in a row.

Solution

  • Undrain nodes only in case it was our restart
  • Fix race that leads to several restarts in a row

Testing

Dev cluster

Release Notes

Fix: race during node restart process. Now nodes are restarted only once.
Fix: nodeconfigurator undrains k8s nodes only after restart and once.

@github-actions github-actions bot added the ignore-for-release Don't include this PR into changelog label Feb 2, 2026
@itechdima itechdima merged commit 3218d53 into main Feb 2, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-for-release Don't include this PR into changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant