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

Reboot does kubectl uncordon tolerating to its failure thus leaving the node unschedulable #654

Open
ilia1243 opened this issue May 7, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@ilia1243
Copy link
Contributor

ilia1243 commented May 7, 2024

We kubectl uncordon with warn=True https://github.com/Netcracker/KubeMarine/blob/v0.29.0/kubemarine/system.py#L367

res = first_control_plane.sudo(f'kubectl uncordon {node_name}', warn=True)

This may leave nodes unschedulable that is especially relevant for All-in-One scheme.

Potential remediation is to use kubernetes.wait_uncordon.

Reproduced on:
Kubernetes v1.29.1
OS: Ubuntu 22.04
Schema: All-in-One

@ilia1243 ilia1243 added bug Something isn't working good first issue Good for newcomers labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant