View the status of a rollout with
kubectl rollout status deployment/my-deployment

View the history of a rollout with kubectl rollout history deployment/my-deployment

Deployment Strategy

stratagyType

Describe the deployment and look for StrategyType to determine the strategy that is being used for rollouts

Upgrade

Undo Rollout

Upgrading a deployment creates a new replicaset, the old replicaset has its replicas set to 0

To undo a rollout kubectl rollout undo deployment/my-deployment This sets the new replicaset replicas to 0 and the old one to the desired amount. Use kubectl get replicasets to view them