How helm rollback works in kubernetes?

5/21/2018

While going through the helm documentation, i came across rollback feature. Its a cool feature, but i have some doubts about the implementation of that feature.

How they have implemented it? If they might have used some datastore to preserve old release config, what datastore it is?

Is there any upper limit on consecutive rollbacks? If so, Upto how many rollbacks will it support? Can we change this limit?

-- lokanadham100
kubernetes
kubernetes-helm

1 Answer

5/21/2018

As the documentation says, it rolls back the entire release. Helm generally stores release metadata in its own configmaps. Every-time you release changes, it appends that to the existing data. Your changes can have new deployment image, new configmaps, storages, etc. On rollback, everything goes to the previous version.

-- Amrit Bera
Source: StackOverflow