FahamLah

Commands

kubectl rollout history deployment/<name>

kubectl rollout history deployment/<name> [--revision=n]

Risk: Safe

What it does

Lists the revisions: one per version of the pod template.

When to use it

To pick a version to go back to.

Example

$ kubectl rollout history deployment/shop

Which versions has the shop had?