What does a Helm rollback NOT undo?
AdvancedConceptRelease Lifecycle, Repositories & OCI
Answer
- Database schema changes and data written by migrations or the app.
- Effects of hooks (a backup was taken, a message was published).
- Resources Helm does not manage: CRDs in
crds/, hook resources, objects withresource-policy: keep, things created by operators. - External state: DNS records, cloud resources created by controllers, cache contents.
- PVCs resized larger (volumes cannot shrink).
That is why we design upgrades to be backward compatible and treat rollback as a fast path for code issues, not a time machine.
More on Release Lifecycle, Repositories & OCI
Why is `helm upgrade --install` the standard CI command?BeginnerWhat does `--wait` actually wait for?IntermediateWhat does `--atomic` do?BeginnerWhat is `--cleanup-on-fail`?AdvancedHow does `helm rollback` work?BeginnerExplain release statuses you might see in `helm list -a` or `helm history`.Intermediate