The DaemonSet and StatefulSet controllers use ControllerRevisions to work out the previous desired state when rolling back - how do Deployments do this?
1 Answer
ReplicaSets, which one can see listed at the bottom of a kubectl describe deployment $foo, and is -- to the best of my knowledge -- how kubectl rollout status and kubectl rollout undo works under the covers
deploymentsbrings up the new instances and when it's ready it kills the old one, one at a time" like this example: kubernetes.io/docs/tutorials/kubernetes-basics/update/…. Is this what you want to know?