CDK shutdown and removal
When you’re done working with the CDK, shut it down and remove it from your namespace:
-
Set the active namespace in your local Kubernetes context to the namespace that you created when you performed the setup task.
-
If you’ve made changes to the AM and IDM configurations in the Git repository on the CDK that you want to save, export the changes to your local
forgeops
repository clone. If you don’t export the configurations before you run the forgeops delete command, all the changes that you’ve made to the configurations will be lost.For more information on syncing changes to your local
forgeops
repository clone, see: -
Run the forgeops delete command, which deletes all CDK artifacts, including PVCs and the AM and IDM configurations in Git:
$ cd /path/to/forgeops/bin $ ./forgeops delete
Respond
Y
to all theOK to delete?
prompts.