To remove your CDM cluster when you’re done working with it:
KUBECONFIGenvironment variable so that your Kubernetes context references the cluster in which you deployed the CDM.
Set the active namespace in your local Kubernetes context to the namespace in which you deployed the CDM.
Use the forgeops command
Use Helm (technology preview)
If you installed the CDM with the forgeops install command, remove all CDM artifacts with the forgeops delete command:
$ cd /path/to/forgeops/bin $ ./forgeops delete
Yto all the
OK to delete?prompts.
If you installed the CDM with the helm upgrade --install command, remove the CDM with the helm uninstall command:
$ cd /path/to/forgeops/charts/identity-platform $ helm uninstall identity-platform
Running helm uninstall identity-platform does not delete PVCs from your namespace. If you want to delete PVCs, use the kubectl command:
$ kubectl delete pvc data-ds-idrepo-0 $ kubectl delete pvc data-ds-cts-0
Remove your cluster:
Change to the directory in your
forgeops-extrasrepository clone that contains Terraform artifacts:
$ cd /path/to/forgeops-extras/terraform
Run the tf-destroy script to create your cluster:
Do you really want to destroy all resources?prompt.