KubeMarine icon indicating copy to clipboard operation
KubeMarine copied to clipboard

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

Open ilia1243 opened this issue 9 months ago • 0 comments

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 avatar May 07 '24 12:05 ilia1243