-
Notifications
You must be signed in to change notification settings - Fork 370
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
ControlNode improvements #3808
Comments
Right. Node removal is generally not automated in the k0s ecosystem, currently. Thanks for pointing out the missing docs about this (#3809).
This custom resource is merely an implementation detail of the k0s autopilot functionality, and is therefore limited to supporting what is required to implement automatic upgrades in k0s. |
Is it something we could extend? As far as I've checked, this seems to be the only API available for operators to query cluster status, and it'd be reasonable for some aspects to be reachable within k8s APIs. |
The issue is marked as stale since no activity has been recorded in 30 days |
I think we should rather design custom resources dedicated for these purposes, otherwise we make the autopilot related ones like swiss army knives. :) We have some working ideas, need to finalize those into a specification form for further discussion and planning. |
The issue is marked as stale since no activity has been recorded in 30 days |
Before creating an issue, make sure you've checked the following:
Platform
Version
v1.28.3+k0s.0
Sysinfo
k0s sysinfo
What happened?
ControlNode
lists controllers that were removed from cluster using eitherk0s etcd leave
(and follow-up commands from https://docs.k0sproject.io/v1.28.4+k0s.0/remove_controller/) or k0sctl run withreset
flag and then removal from YAMLMoreover
ControlNode
has limited usability with current fields. Only IP and hostname are available.Steps to reproduce
k0s kubectl get ControlNode
Expected behavior
Removed node is not there. Data about controllers is more useful.
Actual behavior
k0s etcd member-list
doesn't show it.k0s kubectl get ControlNode
shows only creation date, hostname and IP addressScreenshots and logs
No response
Additional context
See k0sproject/k0sctl#603 (comment) for context and some logs.
The text was updated successfully, but these errors were encountered: