doc: Add example for restarting all deployments in a namespace
Kubernetes-commit: f4fc4b16b1d9837b4980850480421da318db04eb
This commit is contained in:
parent
e01bb717e0
commit
3225b852aa
|
|
@ -63,8 +63,8 @@ var (
|
|||
Resource rollout will be restarted.`))
|
||||
|
||||
restartExample = templates.Examples(`
|
||||
# Restart all deployments in default namespace
|
||||
kubectl rollout restart deployment
|
||||
# Restart all deployments in test-namespace namespace
|
||||
kubectl rollout restart deployment -n test-namespace
|
||||
|
||||
# Restart a deployment
|
||||
kubectl rollout restart deployment/nginx
|
||||
|
|
|
|||
Loading…
Reference in New Issue