Destroying What We Created
This lesson contains the instructions on how to delete the used resources to free up space.
This was a short and uneventful section. I thought you might want a break from destruction and to do something other than staring at the terminal all the time. Nevertheless, this section should be beneficial since you learned how to generate outputs (reports) that can be distributed throughout the rest of your organization.
Now, just as with any other section, we are going to remove everything we created.
We went one directory back, and deleted the namespace go-demo-8
.
You might want to stop Docker daemon. We will not need it anymore, unless you’re using Docker Desktop as your Kubernetes cluster.
Now you need to make a decision. Do you want to go straight into the next section? If you do, just go there. On the other hand, you might want to take a break. If that’s what you prefer, I suggest you destroy the cluster. You can use the commands from the same Gist you used to create it.
The choice is yours. Destroy the cluster and take a break or move forward to the next section right away.
In the next chapter, we will learn how to transfer the execution of our chaos experiments from our laptops into a Kubernetes cluster.