DevOps kubernetes
Some nice k8s one-liner:

Get pods with a certain status:
kubectl get pods | grep Evicted | awk '{print $1}' | \ 
xargs kubectl delete pod

Force terminate:
kubectl get pods | grep Terminating | awk '{print $1}' | \
xargs kubectl delete pod --grace-period=0 --force

Which node runs what:
kubectl get pod -o=custom-columns=NAME:.metadata.name,\
STATUS:.status.phase,NODE:.spec.nodeName --all-namespaces \
| grep Run|sort -k 3,3