Recommendation against the use of --atomic flag for Rancher upgrades
This document (000021304) is provided subject to the disclaimer at the end of this document.
Environment
Helm
Situation
Resolution
Cause
Hypothetically, if the Rancher portion of the upgrade succeeds and the new Rancher Pods start running and making configuration state changes to the Rancher custom resources but then the helm upgrade fails on another part of the chart for any reason, a helm rollback is automatically performed due to the `--atomic` flag.
Because Helm rollbacks are not supported for Rancher you may end up in a broken state, with partially upgraded Rancher state, but with the older Rancher version running.
For Rancher rollbacks in the case of a failed upgrade you should refer to the Rancher rollback documentation using the Rancher backup operator, or a cluster-level backup .
Additional Information
https://rancher.com/docs/rke/latest/en/etcd-snapshots/restoring-from-backup/
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021304
- Creation Date: 20-Dec-2023
- Modified Date:10-Jan-2024
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com