command to delete a service in kubernetes command prompt code example Example: kubectl restart deployment kubectl rollout restart deployment yourDeploymentName