Created
January 9, 2020 12:45
-
-
Save vi7/69a4a835dbf4f66b48ffcbaeed93e874 to your computer and use it in GitHub Desktop.
kubectl cheat sheet
This file contains 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
# Get all Evicted Pods (for the namespace 'default') | |
kubectl get po -ojsonpath="{.items[?(@.status.reason=='Evicted')].metadata.name}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment