mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 13:02:14 +00:00
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:
commit
5dd4f1245c
@ -63,6 +63,9 @@ var (
|
|||||||
Resource rollout will be restarted.`))
|
Resource rollout will be restarted.`))
|
||||||
|
|
||||||
restartExample = templates.Examples(`
|
restartExample = templates.Examples(`
|
||||||
|
# Restart all deployments in test-namespace namespace
|
||||||
|
kubectl rollout restart deployment -n test-namespace
|
||||||
|
|
||||||
# Restart a deployment
|
# Restart a deployment
|
||||||
kubectl rollout restart deployment/nginx
|
kubectl rollout restart deployment/nginx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user