kubectl recreate pod code example
Example 1: kubectl restart deployment
kubectl rollout restart deployment yourDeploymentName
Example 2: kubectl describe to yaml
kubectl describe <type> <name> -o yaml
kubectl rollout restart deployment yourDeploymentName
kubectl describe <type> <name> -o yaml