mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
doc(kubectl): Kubectl restart command without specific deployment will restart all deployments
This commit is contained in:
parent
fb785f1f42
commit
79466886a1
@ -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 default namespace
|
||||||
|
kubectl rollout restart deployment
|
||||||
|
|
||||||
# Restart a deployment
|
# Restart a deployment
|
||||||
kubectl rollout restart deployment/nginx
|
kubectl rollout restart deployment/nginx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user