-
Notifications
You must be signed in to change notification settings - Fork 48
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
Decreasing number of replicas in K0sControlPlane is not working properly #459
Comments
The question here is what is the proper process of node deletion? IMO, theoretically, the most proper way would be to cordon/drain node first, then delete the node (similar to |
The right way to specify the peer address that should be removed is |
@twz123 Thank you for PR! Just a question - won't it make more sense to use same syntax for |
I've thought about that, but removing the |
@nekwar we have just released the new k0smotron v0.9.0 with a bunch of improvements and the downscaling should work properly |
Details
v0.8.0
1.28.5
and1.29.1
-- behaviour is similarProblem summary
Downscaling controllers managed by
K0sContolPlane
is not working properly. Behaviour of deletion is quite unpredictable -- some times node is deleted on a Kubernetes level, some times it is not. But what is common between all deletion cases is thatk0s etcd leave <node-ip>
due to etcd cluster "being unhealthy":But, what is more interesting is that node can be removed from etcd member list with
etcdctl
:After that manipulation the node is not a member list in
k0s etcd member-list
command output.Expected behaviour
Controller node to be properly deleted (at least on Kubernetes level, I understand that etcd membership is another issue) by downscaling replicas in
K0sControlPlane
The text was updated successfully, but these errors were encountered: