get yaml file from kubernetes code example
Example 1: kubectl get pod by node
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=
Example 2: kubectl describe to yaml
kubectl describe -o yaml
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=
kubectl describe -o yaml