In this chapter we will use Pulumi to destroy our Civo Kubernetes Cluster we created during the workshop
- The Pulumi CLI
If you did not the Chapter 2
, you can use following Pulumi commands to destroy both stacks:
Start with the GitOps stack
cd civo-navigate-gitops
pulumi destroy -y -f
For 100% you will get stuck in the Finalizer of some of the namespaces we just created. If this happens, discard the stack complety using:
pulumi stack rm --force
Then head over to destroy the infrastructure stack in the civo-navigate
folder:
pulumi destroy -y -f
Look in the Civo dashboard and double check that the cluster is being terminated.
./civo-navigate-cli destroy