CDM removal
To remove your CDM cluster when you’re done working with it:
-
Set the
KUBECONFIG
environment variable so that your Kubernetes context references the cluster in which you deployed the CDM. -
Remove your cluster:
-
Change to the directory in your
forgeops-extras
repository clone that contains Terraform artifacts:$ cd /path/to/forgeops-extras/terraform
-
Run the tf-destroy script to create your cluster:
$ ./tf-destroy
Respond
yes
to theDo you really want to destroy all resources?
prompt.
-