KubernetesCommand
Rollback a Deployment
Type this command
kubectl rollout undo deployment/frontendRolls back to the previous deployment revision.
Tip: Add --to-revision=2 to roll back to a specific revision.
The Kubernetes command to rollback a deployment is kubectl rollout undo deployment/frontend.
kubectl rollout undo deployment/frontendkubectl rollout undo deployment/frontendRolls back to the previous deployment revision.
Tip: Add --to-revision=2 to roll back to a specific revision.
Tip: Add --to-revision=2 to roll back to a specific revision.
Run kubectl rollout undo deployment/frontend.
Run kubectl rollout undo deployment/frontend.
Type it in the terminal or command-line interface used by Kubernetes.
Yes. The command text is the same on both platforms when the tool is installed.