kubectl cheatsheet authorizationpolicy code example
Example 1: kubectl get pod by node
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node>
Example 2: kubectl describe to yaml
kubectl describe <type> <name> -o yaml
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node>
kubectl describe <type> <name> -o yaml