feat(plugin): add node delete command and opts#835
Conversation
d1a3c31 to
9d665cc
Compare
There was a problem hiding this comment.
Pull request overview
Adds a delete node command to the Kubernetes plugin with optional DiskPool CR cleanup, and renames the pool cleanup flag from --cleanup-cr to --cleanup-dsp.
Changes:
- Introduces
delete nodesupport (purge) with optional concurrent DiskPool CR cleanup (--cleanup-dsp). - Refactors DiskPool cleanup CLI options into a shared
CleanupDspArgsused by both pool and node delete flows. - Adds Kubernetes-side listing of DiskPool CRs by node and a high-level
cleanup_dsphelper to apply timeout + not-found semantics.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| k8s/plugin/src/resources/mod.rs | Adds node delete CLI wiring and integrates --cleanup-dsp behavior for pool/node deletes. |
| k8s/plugin/src/resources/diskpool_cleanup.rs | Adds DiskPool CR listing-by-node and a higher-level cleanup wrapper used by delete commands. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5740060 to
81e59c8
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Changes: - Adds node delete command and opts - Change --cleanup-cr to --cleanup-dsp Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
81e59c8 to
154949d
Compare
|
bors merge |
|
🕐 Waiting for PR status (GitHub check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set. |
835: feat(plugin): add node delete command and opts r=niladrih a=niladrih Changes: - Adds node delete command and opts - Change --cleanup-cr to --cleanup-dsp Co-authored-by: Niladri Halder <niladri.halder26@gmail.com>
Changes: