statefulset
The delete statefulset command removes a specified StatefulSet from the Kubernetes cluster. This command deletes the StatefulSet and its associated pods. However, persistent storage volumes may remain and need to be cleaned up separately.
Usage
cldkctl delete statefulset [name] [flags]Steps
Follow the steps below to run and view the result of this command:
If you want to view the list of StatefulSets before deleting, refer to the get statefulset section.
Run the following command in your terminal:
cldkctl delete statefulset [statefulset-name]Replace
[staefulset-name]with the name of the StatefulSet you want to delete.Once completed successfully, a message “✓ StatefulSet deleted” will appear in your terminal.

Flags
Flag
Description
-h, --help
Help for delete statefulset command.
Last updated
