docs: clarify node removal strategies for IP recovery#21
Conversation
WalkthroughThis PR expands the Node Management docs (docs/en/node.mdx), adding detailed workflows for scaling down and removing worker nodes, two removal strategies (Random and Targeted), IP pool expansion instructions, data-loss warnings, and examples/commands for annotation-based deletions and IP recovery. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@docs/en/node.mdx`:
- Around line 490-499: Add a clarifying note immediately after the "Scale Down
the MachineDeployment" kubectl patch example explaining that the replica
reduction must equal the number of previously annotated machines: if you
annotate N machines, reduce replicas by N to have exactly those annotated
machines deleted; reducing by fewer deletes fewer annotated machines, and
reducing by more deletes all annotated machines plus additional (random)
machines. Reference the section title "Scale Down the MachineDeployment" and the
kubectl patch command in the note so readers know where this behavior applies.
🧹 Nitpick comments (1)
docs/en/node.mdx (1)
520-526: Consider moving the data-loss warning earlier so it applies visibly to both strategies.Currently, a reader following the "Random Removal" path linearly will not encounter this warning until after the entire "Targeted Removal" section. Moving it immediately after the intro (after line 395) would ensure both paths benefit from the warning before the user executes any commands.
Deploying alauda-immutable-infra with
|
| Latest commit: |
f9f3698
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9074dd23.alauda-immutable-infra.pages.dev |
| Branch Preview URL: | https://ait-65863-fix.alauda-immutable-infra.pages.dev |
- Add IP pool expansion step before scaling up worker nodes - Move Data Loss Warning to apply to both removal strategies - Add replica count guidance for targeted machine removal - Update info callout for template rollout behavior - Move version compatibility warning to proper section Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Summary by CodeRabbit