Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # get all evicted pods in the cluster
- 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