Skip to content

Update the node removal with one known issue - #1108

Merged
w13915984028 merged 2 commits into
harvester:mainfrom
w13915984028:doc11349
Aug 20, 2026
Merged

Update the node removal with one known issue#1108
w13915984028 merged 2 commits into
harvester:mainfrom
w13915984028:doc11349

Conversation

@w13915984028

@w13915984028 w13915984028 commented Aug 19, 2026

Copy link
Copy Markdown
Member

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/agent label to steer fleet-agent scheduling 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.

Comment thread docs/host/host.md Outdated
Comment thread docs/host/host.md Outdated
Comment thread docs/host/host.md Outdated
Comment thread docs/host/host.md Outdated
@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown
Name Link
🔨 Latest commit 56c6fa7
😎 Deploy Preview https://6a86adb6c309b837b922305d--harvester-preview.netlify.app

@w13915984028
w13915984028 force-pushed the doc11349 branch 4 times, most recently from 1908fa8 to 63f6e7d Compare August 19, 2026 13:31
Signed-off-by: Jian Wang <jian.wang@suse.com>
@w13915984028

w13915984028 commented Aug 19, 2026

Copy link
Copy Markdown
Member Author

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.

@jillian-maroket jillian-maroket left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review done

Comment thread docs/host/host.md Outdated
Comment thread docs/host/host.md Outdated
Comment thread docs/host/host.md Outdated
Comment thread docs/host/host.md Outdated
Comment thread docs/host/host.md Outdated
Comment thread docs/host/host.md Outdated
Comment thread docs/host/host.md Outdated
Comment thread docs/host/host.md Outdated
Comment thread docs/host/host.md Outdated
@mergify

mergify Bot commented Aug 20, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Comment thread docs/host/host.md Outdated

@jillian-maroket jillian-maroket left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok except for the duplicated sentence. See comment.

Signed-off-by: Jian Wang <jian.wang@suse.com>
@w13915984028
w13915984028 merged commit 444e030 into harvester:main Aug 20, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants