kubectl get pods output code example
Example 1: kubectl run pod
kubectl run <pod-name> --image=<image> --restart=Never
Example 2: kubectl describe to yaml
kubectl describe <type> <name> -o yaml
kubectl run <pod-name> --image=<image> --restart=Never
kubectl describe <type> <name> -o yaml