kubernetes restart pod code example
Example 1: restart a pod kubernetes
kubectl rollout restart deployment [deployment_name]
Example 2: kubectl restart deployment
kubectl rollout restart deployment yourDeploymentName
Example 3: kubectl run pod
kubectl run --image= --restart=Never