How to install and configure Helm 3 ?

How to install and configure Helm

Install and configure Helm 3

Through this post we are explaining “How to install and configure Helm 3” and deploy the helm chart on k8s cluster. Before this version, Helm 2 was having one component called tiller but due to security reasons tiller is removed from version 3. Now Helm 3 client directly interacts with the kubernetes API for the helm chart deployment.

What is Helm?

Helm is an open source tool which is help us to manage an application on kubernetes cluster. Helm is a tool that streamlines installing and managing Kubernetes applications. A single chart might be used to deploy something simple, like a memcached pod, or something complex, like a full web app stack with HTTP servers, databases, caches, and so on. From wherever we are running Helm command, kubectl should be installed and having cluster admin privileges for Helm to execute the manifests in the chart.


Prerequisites to install helm:-
Kubernetes Cluster
Kubectl utility with admin privileges

How to install Helm?

So, first we go to helm release page, copy and clone the package as per our requirements like linux amd64.
url :- https://github.com/helm/helm/releases

Now, we will download the package with the help of “wget command”

wget -o https://get.helm.sh/helm-v3.6.0-linux-amd64.tar.gz

After this, extract the file via “tar” command

tar -xvzf https://get.helm.sh/helm-v3.6.0-linux-amd64.tar.gz

Move the helm executable to the bin directory

mv linux-amd64/helm /usr/local/bin/helm

Now, validate the helm command is executable or not

helm

Now our helm utility is installed and working fine. After this we are going to add stable helm repo which has predefined charts.

ADD Stable Helm Repo

Now we are installing the stable helm chart which is developed by the community.

helm repo add stable https://charts.helm.sh/stable

We can search the available charts with the help of search command, like we want to search charts for the prometheus.

helm search repo stable (to get the list of charts)
helm search repo prometheus (to get the charts for particular service)

So, Today we learned “How to install and configure Helm 3” on Linux.

Leave a Reply

Your email address will not be published. Required fields are marked *