Migrate Releases from Helm v2 to Helm v3¶
About this task
After upgrading a cluster, end users’ Helm releases are not upgraded from version 2. Run a custom script to migrate the end users’ Helm releases or installs to Helm v3.
Procedure
Install the /helm-2to3 plugin.
export HELM_LINTER_PLUGIN_NO_INSTALL_HOOK=true helm plugin install /usr/local/share/helm/plugins/2to3
Move the helm2 config to helm3.
~(keystone-admin)]$ helm 2to3 move config
Choose a Helm v2 release to migrate.
~(keystone-admin)]$ helmv2-cli -- helm list -a
Migrate a helm2 release, for example, myApplication.
~(keystone-admin)]$ migrate_helm_release.py myApplication
Check if it migrated successfully.
~(keystone-admin)]$ helm list -A -a
The migrated release should not appear in helm2.
~(keystone-admin)]$ helmv2-cli -- helm list -a