The cluster is resolved in the following priority order:
2. From metadata.name in the ksail.yaml config file (if present)
3. From the current kubeconfig context
The provider is resolved in the following priority order:
1. From the --provider flag
2. From the ksail.yaml config file (if present)
The kubeconfig is resolved in the following priority order:
1. From the --kubeconfig flag
2. From the KUBECONFIG environment variable
3. From the ksail.yaml config file (if present)
4. Defaults to ~/.kube/config
ksail cluster delete [flags]
--delete-storage Delete storage volumes when cleaning up (registry volumes for Docker, block storage for Hetzner)
-f, --force Skip confirmation prompt and delete immediately
-k, --kubeconfig string Path to kubeconfig file for context cleanup
-n, --name string Name of the cluster to delete
-p, --provider Provider Provider to use (Docker, Hetzner, Omni, AWS, GCP, Azure, Kubernetes)
--benchmark Show per-activity benchmark output
--config string Path to config file (default: ksail.yaml found via directory traversal)
--experimental Enable experimental (unstable) commands and features