Merge pull request #120118 from Ithrael/doc/kubectl-restart-without-specific-deployment-will-restart-all-deployments

doc(kubectl): Kubectl restart command without specific deployment wil…
This commit is contained in:
Kubernetes Prow Robot 2023-09-01 06:52:31 -07:00 committed by GitHub
commit 5dd4f1245c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,9 @@ var (
Resource rollout will be restarted.`))
restartExample = templates.Examples(`
# Restart all deployments in test-namespace namespace
kubectl rollout restart deployment -n test-namespace
# Restart a deployment
kubectl rollout restart deployment/nginx