kubectl generate pod code example
Example 1: kubectl restart deployment
kubectl rollout restart deployment yourDeploymentName
Example 2: kubectl create pod
kubectl run <pod-name> --image=<image> --restart=Never
kubectl rollout restart deployment yourDeploymentName
kubectl run <pod-name> --image=<image> --restart=Never