how to restart a deployment in kubernetes code example Example: kubectl restart deployment kubectl rollout restart deployment yourDeploymentName