Hi, Let us understand how to do the installation of helm and connect with minikube to test with chart
deployments. Already we did the installation of minikube
and saw how to start the minikube and check the status.
Now let us go ahead and do the installation of helm
Let me go ahead and open another power shell.
The dashboard is running over here and check the status of minikube
with the command minikube status, the host is running.
kubelet is also running, API server is also running and kubeconfig is also configured.
So I can make use of this minikube installation.
Now lets understand how to do the installation of helm. When it comes to the installation of helm
There are two major versions.
That is version two and version three. Within helm quickstart guide page here
I do have the instruction on how to do the installation, the binary can be downloaded from this specific
location. As a part of the official releases
We will be having releases for both version two and version three.
So this is for version three at the same time
we will have the releases for version two as well.
So please be careful when you are downloading. In this particular course we are using version three.
So if you download version two, you will have the tiller server as well and I'm going to download version three
that will be available as a zip file for Windows.
Once this is downloaded, I can extract enough folder, say for example, here I do have the downloads for version three.
Within that I will be having the helm executable, this needs to be executed within the command prompt.
And in case if you download version two, you will have the executable for tiller server as well. You need to
to start tiller server as well and configure the tiller server to get that executed within the kubernetes
cluster. As this is a old version
Let's not worry about this.
Let's get into the version 3 and I need to execute this particular executable and it needs to get executed
within the command prompt, so I can execute the command helm or what I can do
I can add this particular path as a part of the system environmental variable
path. So within system properties advanced settings environmental variables
within path. I do have the version 3 added as a part of the path so I can execute the helm command from any location.
I'm going to use this specific folder to create the charts and here I should be in a position to execute
helm command and it'll understand provide the help message that means helm configuration is well and good.
Let me go ahead and create a chart and deploy that within the minikube
The details about how to do the chart creation
Everything we have discussed in a separate lecture.
This is a quick test on
whether the configuration and installation is good or not.
Let me go ahead and create a chart helm create mychart, so it will create mychart.
So I do have mychart as a folder.
Let me go ahead and install mychart within
minikube and by default minikube
is configured so automatically it's going to connect to the minikube because kubectl is configured to
interact with API
server of minikube. Let me do the installation helm install and name of the installation./mychart. Go ahead and do the installation.
Now I can get whether all the components deployed within the kubernetes or not using kubectl
command kubectl get all. So it deployed a pod
And I should be in a position to check the list of deployments using helm list
Yes, it is deployed.
Let me get into the dashboard and check the status.
I can get the list of pods.
So I should have the pod for the chart as well.
Yes, I do have a pod
And that got deployed 47 seconds ago, the same way I can deploy anything that I wanted.
And within this specific course, we discussed in detail about how to work with various environments
charts. So this confirms the configuration of helm is well and good.
Now let's say how to uninstall this helm installation.
I can issue the command helm uninstall and name of the installation.
minikube test. So it should remove the pod.
That was deployed as a part of this specific helm installation.
There are no pods. It is removed.
Now let's stop the minikube, minikube stop
So it should stop the virtual pulse corresponding to the minikube
And the system should be clean.
So in a quick summary we saw how to do the installation of helm and connect with minikube and try out the chart deployments.