how to restart api pod in kubernetes code example Example: restart a pod kubernetes kubectl rollout restart deployment [deployment_name]