Teardown
Follow these steps to delete your Liquid Metal Cluster and Platform.
Step by step cleanup
The "step by step cleanup" is useful if you still want to re-use the environment.
If you don't care about or intend to keep any part of the local and remote infrastructure, you can follow the "Just destroy everything" section below.
Delete the cluster using
kubectl
and the cluster name:kubectl delete cluster $CLUSTER_NAME
cautionDo NOT delete a CAPI-created workload cluster with
kubectl delete -f cluster.yaml
.This may take a moment as the CAPMVM controller reconciles all the MicroVMs.
Output:
cluster.cluster.x-k8s.io "lm-demo" deleted
Delete the management cluster.
kind delete cluster --name lm-management
Tear down the Equinix infrastructure.
terraform destroy
tipSometimes this destroy will attempt to delete some networking attributes before the associated devices are removed, and the command will error. Simply re-run the command to kill any remaining resources.
Just destroy everything
Delete the management cluster.
kind delete cluster --name lm-management
Tear down the Equinix infrastructure.
terraform destroy
tipSometimes this destroy will attempt to delete some networking attributes before the associated devices are removed, and the command will error. Simply re-run the command to kill any remaining resources.