Skip to content

Instantly share code, notes, and snippets.

@sjenning
Created September 13, 2017 01:58
Show Gist options
  • Save sjenning/8bfd2b28550c8bd86321bb3be30a25f0 to your computer and use it in GitHub Desktop.
Save sjenning/8bfd2b28550c8bd86321bb3be30a25f0 to your computer and use it in GitHub Desktop.
#!/bin/bash
for i in $(crioctl pod list | grep ^ID: | cut -f2 -d' ')
do
crioctl pod stop --id $i
crioctl pod remove --id $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment