Azure AKS Update from Helm2 to Helm3

Introduction

What is HELM ?

Helm2 End Of Life

Upgrade Helm2 to Helm3

Preparation

kubectl get ns
kubectl get all -n kube-system
kubectl get all -n example-namespace
root@vagrant:/home/vagrant# helm  version
Client: &version.Version{SemVer:"v2.16.10", GitCommit:"bceca24a91639f045f22ab0f41e47589a932cf5e", GitTreeState:"clean"}
root@vagrant:/home/vagrant# helm3 version
version.BuildInfo{Version:"v3.6.2", GitCommit:"ee407bdf364942bcb8e8c665f82e15aa28009b71", GitTreeState:"clean", GoVersion:"go1.16.5"}
root@vagrant:/home/vagrant#

Migration

root@vagrant:/home/vagrant# helm3  plugin install https://github.com/helm/helm-2to3
root@vagrant:/home/vagrant# helm3 plugin list
NAME VERSION DESCRIPTION
2to3 0.9.0 migrate and cleanup Helm v2 configuration and releases in-place to Helm v3
root@vagrant:/home/vagrant# helm3 2to3 move config
root@vagrant:/home/vagrant# helm3 2to3 convert --dry-run [Release Name]

Post-status check

kubectl get ns
kubectl get all -n kube-system
kubectl get all -n example-namespace

Delete old data

root@vagrant:/home/vagrant# helm3 2to3 convert cleanup

Post-work

DevOps Consultant. I’m strongly focused on automation, security, and reliability.