๐Upgrades and rollbacks
This document will guide you through the recommended process and best practices for upgrading a Helm release in a Kubernetes cluster to minimize the risk of service disruption or deployment failure.
Procedure
Review the changelog for the new version.
helm pull --version <version> oci://quay.io/toucantoco/charts/toucan-stack tar -xzf toucan-stack-*.tgz --strip-components=1 toucan-stack/CHANGELOG.md toucan-stack/README.md
The README.md contains instructions on how to upgrade the release and handle breaking changes. The CHANGELOG.md contains a summary of the changes made in the release.
(optional) For safety, you can check the difference in Kubernetes resources before upgrading the release.
helm diff upgrade toucan-stack --version <version> oci://quay.io/toucantoco/charts/toucan-stack -f ./values.override.yaml
Upgrade the release.
helm upgrade --install toucan-stack oci://quay.io/toucantoco/charts/toucan-stack \
--namespace toucan \
--values ./values.override.yaml
(optional) Check the logs of the deployment to ensure the upgrade was successful.
Failed to upgrade the release?
Run:
helm rollback toucan-stack
Last updated
Was this helpful?