mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 23:03:40 +00:00
doc: Add example for restarting all deployments in a namespace
This commit is contained in:
parent
79466886a1
commit
f4fc4b16b1
@ -63,8 +63,8 @@ var (
|
|||||||
Resource rollout will be restarted.`))
|
Resource rollout will be restarted.`))
|
||||||
|
|
||||||
restartExample = templates.Examples(`
|
restartExample = templates.Examples(`
|
||||||
# Restart all deployments in default namespace
|
# Restart all deployments in test-namespace namespace
|
||||||
kubectl rollout restart deployment
|
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