sveltosctl
sveltosctl copied to clipboard
Add deregister Command for Cluster Removal
Description
While sveltosctl provides a register command to add clusters to a Sveltos management namespace, there is currently no deregister command to remove a cluster.
Proposed Solution
Add a sveltosctl deregister command to simplify cluster removal. For example:
sveltosctl deregister cluster \
--namespace=<namespace> \
--cluster=<cluster-name>
Benefits
- Consistency: Provides symmetry with the existing register command.
- Ease of Use: Simplifies cluster management by reducing reliance on kubectl.
-
Improved User Experience: Allows users to manage cluster lifecycle entirely through
sveltosctl.
Will be part of next release (v0.44.0)