Created
September 3, 2018 23:50
-
-
Save CalvinHartwell/4fd3fc489d882ad87440135c0055ee5e to your computer and use it in GitHub Desktop.
kubectl cheat sheet command list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Delete all pods stuck in Pending, useful if you cannot pull a specific image. | |
| kubectl get pods --all-namespaces | grep Pending | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment