kubectl restart rollout code example
Example 1: kubectl restart deployment
kubectl rollout restart deployment yourDeploymentName
Example 2: kubectl run create service
service/my-nginx exposed
kubectl rollout restart deployment yourDeploymentName
service/my-nginx exposed