Deleting a cluster removes the cluster subscription and its fabric associations. The underlying instances are not destroyed, they remain on your account as standalone servers.
A cluster with attached instances cannot be deleted. Remove all instances from the cluster first.
This guide explains how to delete a cluster using the Vultr API.
Send a GET request to the Get Cluster endpoint to retrieve the cluster details and verify that no instances are attached. Replace {cluster-id} with the id of the cluster you want to delete.
Verify that the cluster has no attached instances. If instances are attached, remove them first using How to Remove Instances from a Cluster.
Send a DELETE request to the Delete Cluster endpoint to delete the cluster. Replace {cluster-id} with the cluster id.
A successful deletion returns an HTTP 204 No Content response with no response body.
Send a GET request to the List Clusters endpoint to retrieve all clusters.
Verify that the deleted cluster no longer appears in the list.
0 Comments
Be the first to comment and share your perspective with the community.