Cleaning up

Overview

Teaching: 5 min
Exercises: 10 min
Questions
  • How do I clean my workspace?

  • How do I delete my cluster?

Objectives
  • Clean my workflows

  • Delete my storage volume

Cleaning workspace

Remember to delete your workflows: Run this until you get a message indicating there is no more workflows.

argo delete -n argo @latest

Cleaning resources

In respect to K8s, deleting the argo namespace will delete all the resources created in this pre-exercise:

kubectl delete ns argo

Do not forget to download/delete any files created in your /tmp/poddata/ local directory.

Minikube - Stop your cluster

Before closing Docker Desktop, from a terminal with administrator access (but not logged in as root), run:

minikube stop

Key Points

  • With a couple commands it is easy to get back to square one.