Update the node removal with one known issue - #1108
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the Harvester documentation for host/node removal to better explain an intermittent “node stuck draining” issue and provide a concrete workaround, improving operator guidance during cluster maintenance.
Changes:
- Adds a safety warning before running
rke2-uninstall.sh(target node only, no confirmation prompt). - Expands the node removal steps and documents a known issue where removal can get stuck in a draining loop.
- Documents a workaround leveraging the
fleet.cattle.io/agentlabel to steerfleet-agentscheduling away from the draining node.
Suppressed comments (2)
docs/host/host.md:183
- “re-schedule” is inconsistent with other docs in this repo (which use “reschedule/rescheduled”). Also, using passive voice here reads more naturally.
In the backend, `fleet-agent` pods continuously re-schedule onto the node, triggering an endless Terminating loop that halts node removal.
docs/host/host.md:194
- This sentence mixes a modal verb (“might”) with a conjugated verb (“re-deploys”). It should use the base form, and “redeploy” is also the spelling used elsewhere in these docs.
During node removal the cluster topology changes, and it triggers the `fleet-controller` to roll out new revisions of the `fleet-agent` deployment. Because `fleet-agent` carries broad tolerations (`node.kubernetes.io/unreachable:NoSchedule`, `node.kubernetes.io/unschedulable:NoSchedule` and more), `kube-scheduler` might continue to select the draining node as a valid target and re-deploys agent pods onto it.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
1908fa8 to
63f6e7d
Compare
Signed-off-by: Jian Wang <jian.wang@suse.com>
|
PR is ready for review, thanks. There is cross refer between this PR and KB harvester/harvesterhci.io#114; document will be updated further to ref the KB after KB is published. |
|
Tick the box to add this pull request to the merge queue (same as
|
There was a problem hiding this comment.
Ok except for the duplicated sentence. See comment.
Signed-off-by: Jian Wang <jian.wang@suse.com>
Problem:
Node removal is not always smooth on Harvester.
Solution:
Update the document about the known issue and workaround.
Related Issue(s):
harvester/harvester#11349
Test plan:
Additional documentation or context