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

This commit is contained in:
ithrael 2023-08-23 11:22:53 +08:00
parent fb785f1f42
commit 79466886a1

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