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

Don't cordon all workers at once when upgrading #672

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Don't cordon all workers at once when upgrading #672

merged 1 commit into from
Mar 28, 2024

Conversation

kke
Copy link
Contributor

@kke kke commented Mar 28, 2024

Fixes #670

There was a mistake in #595 that made worker upgrading cordon all the workers before an upgrade. The intention was to cordon only the current batch, so that workloads don't migrate to the nodes in the same batch.

@kke kke added the bug Something isn't working label Mar 28, 2024
jnummelin
jnummelin previously approved these changes Mar 28, 2024
@kke kke merged commit 0a6a075 into main Mar 28, 2024
33 checks passed
@kke kke deleted the fix-cordoning branch March 28, 2024 11:49
@walf443
Copy link
Contributor

walf443 commented Jun 1, 2024

I used k0sctl v0.17.8 and I confirmed that all workers cordoned before upgrading.

Why does you create another BatchedParallelEach? @kke
https://github.com/k0sproject/k0sctl/pull/672/files#diff-1eafa28461253d6be29ff9ff2ef59982fe5193b2cdc0f507e68a56683c47ec36L90

@kke
Copy link
Contributor Author

kke commented Jun 3, 2024

Why does you create another BatchedParallelEach?

Yes I don't see any reason why it couldn't be in the existing one looking at it now with fresh eyes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Worker upgrading seems to cordon all the nodes at once
3 participants