Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.09 KB

03-cluster-teardown.md

File metadata and controls

45 lines (28 loc) · 1.09 KB

Chapter 3 - Destroy the Civo Kubernetes Custer with Pulumi

In this chapter we will use Pulumi to destroy our Civo Kubernetes Cluster we created during the workshop

Prerequisites

  • The Pulumi CLI

Instructions

Step 1 - Destroy your cluster with Pulumi

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.

Step 2 - Destroy your cluster with your Civo Navigate CLI

./civo-navigate-cli destroy

Step 3 - Now Celebrate, You're Done!