Skip to content

Commit

Permalink
Update 14_cheatsheet.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mtspn authored Jul 27, 2023
1 parent a804226 commit 98c9c76
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 101-lab/content/14_cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
This is a placeholder to work with the students and determine what they find valuable in this sheet.

## Deleting your lab
- Don't delete your lab work yet if you're planning to complete the 'pod lifecycle' and 'templates' sections of the course! Move on to those first.

__WARNING__: You should ALWAYS validate the output before using `oc delete`. You can do that by replacing `oc delete` with `oc get`, or if using with xargs prefix with `echo`.

__WARNING__: Always double check, and triple check before running `oc delete`!!!
Expand All @@ -25,4 +27,4 @@ oc -n [-dev] get all -o name --no-headers | grep -i -F -e '-[username]' | xargs
oc -n [-dev] get pvc,secret,configmap -o name --no-headers | grep -i -F -e '-[username]' | xargs -I {} oc -n [-dev] delete '{}'
```
Next page - [Pod Lifecycle](./15_pod_lifecycle.md)
Next page - [Pod Lifecycle](./15_pod_lifecycle.md)

0 comments on commit 98c9c76

Please sign in to comment.