How does k8s keeps track of all past revisions?

Not to be too general, but it is stored within the etcd database for the cluster.

As an example you can see the details with kubectl rollout history deployments - feel free to add kube-system or another namespace with any deployments. Hope that helps

2 Likes