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
kubectland the cluster name:kubectl delete cluster $CLUSTER_NAMEcautionDo 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" deletedDelete the management cluster.
kind delete cluster --name lm-managementTear down the Equinix infrastructure.
terraform destroytipSometimes 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-managementTear down the Equinix infrastructure.
terraform destroytipSometimes 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.