Skip to content

[Backport release-1.33] Remove timeout from dynamic cluster config initializer #5882

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

k0s-bot
Copy link

@k0s-bot k0s-bot commented May 26, 2025

Automated backport to release-1.33, triggered by a label in #5873.
See .

For some nodes, initializing the cluster configuration can take
quite a while, especially during the initial bootstrap phase, if many
user-supplied stacks are applied. Moreover, if the cluster has a stale
leader lease, it will take at least 60 seconds until it gets reacquired
by Kubernetes leader election, hence the existing 20 second timeout will
lead to a crash loop.

Remove the timeout completely and rely on external cancellation.
Increase the log level for the error in the retry loop once every
minute from debug to info so the retry loop is visible in non-debug logs
without flooding them every second.

Signed-off-by: Tom Wieczorek <[email protected]>
(cherry picked from commit 05f7867)
@k0s-bot k0s-bot requested review from a team as code owners May 26, 2025 13:57
@k0s-bot k0s-bot requested review from ncopa and kke May 26, 2025 13:57
@twz123 twz123 added bug Something isn't working area/controlplane backport/release-1.32 PR that needs to be backported/cherrypicked to release-1.32 branch labels May 26, 2025
@twz123 twz123 merged commit 52dc197 into release-1.33 Jun 3, 2025
95 checks passed
@twz123 twz123 deleted the backport-5873-to-release-1.33 branch June 3, 2025 11:30
@k0s-bot
Copy link
Author

k0s-bot commented Jun 3, 2025

Successfully created backport PR for release-1.32:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controlplane backport/release-1.32 PR that needs to be backported/cherrypicked to release-1.32 branch bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants