## How to find a pod by UID? ### Option #1 ``` kubectl get pods -A -o json | jq -r '.items[] | select(.metadata.uid == "") | .metadata.name, .metadata.namespace' ``` ### Option #2 ``` kubectl get pods -A -o custom-columns=NAMESPACE:.metadata.namespace,NAME:.metadata.name,UID:.metadata.uid | grep ``` ### Option #3 > If you're using Docker, run this on _each_ node ``` docker ps -a --format '{{.Names}}' | grep ```