kubectl logs deployment follow label code example Example: kubectl restart deployment kubectl rollout restart deployment yourDeploymentName