Destroying What We Created
This lesson contains the instructions on how to delete the used resources to free up space.
That’s it. We’re at the end of the section, and we’ll destroy everything we did. Bear in mind that, in this context, when I say “destroy,” I don’t mean run another chaos experiment, but delete the resources we created.
Every section will delete everything we created so that you can start a new section from a clean slate. You will be able to take a break unless you choose to continue straight away. In any case, we are going to remove the application by deleting the whole go-demo-8
namespace.
We went one directory back (out of the go-demo-8
repository) and deleted the Namespace.
Now, you need to make a decision. Do you want to take a break or not? If you do want to take a break, I suggest you destroy your cluster. If you created it using one of my Gists, at the bottom are instructions on how to destroy it. That way, if you’re using AWS, Google, or Azure, you will not pay more than what you use. Even if you’re using Minikube or Docker Desktop, you will not waste CPU and memory for no good reason.
So, destroy the cluster if you’re going to take a break. If you want to move forward to the next section immediately, then keep the cluster and just go for it.
In the next chapter, we will experiment with application availability.