Note: It is recommended that you upgrate from Helm v2 to v3 as v2 is at end-of-life. Refer to Deployment with (Deprecated) Helm v2 if you still require information on using Helm v2.
This document provides instructions on how to migrate existing Mojaloop installations from Helm v2 to v3, and is based of the official Helm (Migrating Helm v2 to v3) document.
Deployment and Setup
1. Helm configuration
Install Helm v3
Follow the Installation Helm documentation to download and install Helm v3, but ensure to rename to binary as helm3 before storing it in your path (i.e. on linux moving it to the usr/local/bin folder). This will ensure that the existing Helm v2 binary is still accessible.
Validate that Helm3 has been installed correctly Run the following command to ensure that it is functioning:
$helm3repolistError:norepositoriestoshow
You should receive the following response Error: no repositories to show which is expected, and indicates that the Helm3 binary is working.
Optionaly add --delete-v2-releases to the above command if you do not wish to retain the release information for the existing Helm v2 installation. This can be cleaned up later using the helm3 2to3 cleanup.
This section will show you how to remove Tiller and any existing configuration or metadata from existing Helm v2 deployments.
NOTE: This may impact any Helm v2 deployments that have not been migrated. It is recommended that you only run these commands if you have migrated all existing Helm v2 to v3 deployments!
$helm32to3cleanup--dry-run2019/11/1415:06:59NOTE:Thisisindry-runmode,thefollowingactionswillnotbeexecuted.2019/11/1415:06:59Runwithout--dry-runtotaketheactionsdescribedbelow:2019/11/1415:06:59WARNING:"Helm v2 Configuration""Release Data""Release Data"willberemoved.ThiswillcleanupallreleasesmanagedbyHelmv2.Itwillnotbepossibletorestorethemifyouhaven't made a backup of the releases. Helm v2 may not be usable afterwards. 2019/11/14 15:07:01 Helm v2 data will be cleaned up. 2019/11/14 15:07:01 [Helm 2] Releases will be deleted. 2019/11/14 15:07:01 [Helm 2] ReleaseVersion "moja.v1" will be deleted. 2019/11/14 15:07:01 [Helm 2] Home folder "/Users/user/.helm" will be deleted.
This will show a list of all what will be removed & deleted during the cleanup process:
Tiller service to be removed from kube-system namespace
Remote Helm v2 deployments
Local Helm v2 home configuration folder will be deleted
If you are happy to proceed run the following command: