Hi, Let us understand how to do the installation of helm.
Helm is available as a binary file where the tar file can be downloaded and it can be extracted.
And once it is added into the binary directory, it can be directly executed. Before getting into the installation
We need to have an understanding of the helm architecture as well as the major difference between version
two and version three. As a part of this particular course
We are going to discuss about version 3
But still understanding of version two is important.
First, let's understand how version two was designed where
Once the helm is installed, say I do have helm over here and the user can interact with the helm
and within the kubernetes cluster where I am going to use the helm I need to install a service called tiller
service and all the interaction between the helm and to the kubernetes cluster will be happening through
this particular tiller service and within the kubernetes cluster
The tiller service will be getting executed and the communication will happen only between Helm and
the tiller service and tiller service will take care of deploying various components within the kubernetes cluster.
As per the charts available within the repository.
So I'll be having the repository.
And from here, I will be getting different charts.
This charts will be used by the helm
This is in version two, and in version three
There was a major change where this particular tiller
service was remote.
And the helm will be interacting with the kubernetes cluster directly and the access will be provided
using role based access control.
So once if I have the kubernetes cluster and have access to any client like helm, I can use the helm to
deploy any service within the kubernetes
cluster and I can use the chart and deploy the entire application into the kubernetes cluster.
So this is a major change in version three.
So the one that we are going to see as a part of this particular course is helm version three, where
I need to install only this helm client
And that is available as a binary file and the entire binary file will be available within this specific location.
I can choose whatever the version that is available. As a part of this particular recording, the version 3.2.1 is the latest one.
So I can download from this specific location and the binary is divided for various platforms, whatever
the platform that we wanted
We can download and install over here.
All I need is copy the url.
And the one that I have is a kubernetes cluster.
And I'm going to use the master machine as the client.
So before doing the installation, I need to have a quick understanding on the kubernetes cluster architecture
as well where I do have a master and three worker machines.
In case if you doesn't have any access to the cluster
You can go ahead and do the installation of minikube
how to do the installation of minikube
and the instruction to do the setup
I have provided as a part of a lecture at the end of this specific course you can refer to that.
And once the access to the cluster is available, you can make use of it and the client can be installed
in any location. And to get started quickly, I have installed the helm as a part of the master machine.
So once the helm is installed, it can directly interact with the kubectl commands as a part of
the master. So within the master machine that is available over here
So this is the master machine where it is marked with node 2 and node 3, node 4 and node 1
are the worker machines within the master
I can download the helm using the command wget and then the link over here
So the download should be available.
And once the download is available, I can extract this particular download using the command provided that is
tar - xvf
And then extract this specific file.
Once the file is extracted, the helm executable will be available as a part of the Linux A and B slash helm
I do have the tar file. Let me go ahead and extract this specific file.
tar - zxvf and then the file name.
So the file will get extracted.
And within this specific folder, I should have the helm executable
I can move this specific file as a part of the
bin available so that I can execute the helm, command from any location.
So I can use the command move the helm executable into the local bin helm
I'm getting this warning because already helm is existing over here.
I can go ahead and over write and I can provide the command helm from any location.
Once if I get the instructions for helm, that means the installation of helm is working fine.
So in a quick summary we have seen how to do the installation as well as the architectural difference between
version two and version three and in version three installation of helm client is sufficient enough
And this particular helm client should have access to the kubernetes cluster.
In our case, we did the installation as a part of the master itself so directly it can have the access.
In future lectures I will demonstrate how to use the helm with the minikube as well.