Guest User

Untitled

a guest
Jul 16th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. # get all evicted pods in the cluster
  2. kubectl get pod --all-namespaces --field-selector status.phase=Failed --show-all -o json | jq -r '.items[] | select(.status.reason == "Evicted") | "\(.metadata.namespace)/\(.metadata.name)"'
Add Comment
Please, Sign In to add comment