doc(kubectl): Kubectl restart command without specific deployment will restart all deployments

Kubernetes-commit: 79466886a179d61b94e0ba0aa9bc39622849448f
This commit is contained in:
ithrael 2023-08-23 11:22:53 +08:00 committed by Kubernetes Publisher
parent 30772740ee
commit e01bb717e0
1 changed files with 3 additions and 0 deletions

View File

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