kubectl restart all pods in deployment code example Example: kubectl restart deployment kubectl rollout restart deployment yourDeploymentName