Cleanup The Lab

This workshop has been deprecated and archived. The new Amazon EKS Workshop is now available at www.eksworkshop.com.

Remove The Namespace

Let’s delete the namespace for this exercise:

rm -f test-creds
rm -f podconsumingsecret.yaml
kubectl delete ns secretslab

Output:


namespace "secretslab" deleted

This cleans up the secret and pod we deployed for this lab.