kubectl rollout status deployment/myapp. What output indicates the deployment has successfully rolled out?The command kubectl rollout status deployment/myapp shows the current rollout status. The message deployment "myapp" successfully rolled out means the deployment finished updating all pods successfully.
kubectl rollout history deployment/myapp show?The kubectl rollout history command lists all previous revisions of a deployment, showing when and why changes were made.
kubectl describe deployment myapp shows detailed info including events and pod status that help diagnose rollout issues.
myapp to revision 2. Which command correctly performs this rollback?The correct syntax to rollback to a specific revision is kubectl rollout undo deployment/myapp --to-revision=2.
Combining kubectl rollout history with GitOps practices ensures deployment changes are tracked both in Kubernetes and version control, enabling audit and rollback.
