restarting a pod using kubernetes api code example Example: restart a pod kubernetes kubectl rollout restart deployment [deployment_name]