Hi
Let us understand how to install a chart once the repository is configured with the client. In our installation
We do have the stable repository.
I can list the repositories available.
Helm repo list
So I do have one repository that is stable and this is the url from where it is going to pick the charts.
And this url is a constant one.
We can get this from the helm documentation as well and all the commands that I'm executing
I will be adding it as a part of the resources so that you can download the resource from the corresponding
lecture and execute the commands
Real easy and quickly.
Now, let me go ahead and update this particular repository so that any future charts available
as a part of this particular repository will get added and get cached within this particular client
location helm repo update
So it's going to be called the latest information, and update the cache.
All the charts are off. Latest one now.
Now I can go ahead and search for the repository say mysql, helm search repo stable/mysql
So I do have the chart and that's going to use the version 5.7.30 of mysql
Let me go ahead and do the installation of this particular latest version.
In case if I wanted any specific version, I can go ahead and do the installation. To get started quickly
I'm going to use the stable and latest version helm install stable/mysql and I will request
helm to generate a name for this particular installation.
Generate name
The installation is done.
and it is going to provide the nodes in terms of how to access the mysql that is getting deployed within
the kubernetes cluster and how I can test this particular mysql installation.
And in the same machine I do have the kubernetes client installation that is kubectl
I can check the entities that got deployed as a part of this specific cluster kubectl get all
Please make yourself comfortable with the basics of kubernetes commands.
And in case, if you wanted a revision, you can verify the other course I have posted related to kubernetes
So this particular chart deployed a pod
and the service mysql
And a deployment, so automatically it configured the replica set
deployment, service and the pod. For the time being
Let's not worry about this particular details from where
these details are configured and how the details will be provided to the kubernetes.
The same way let me go ahead and do another installation helm install stable/airflow
And let me give a name to it, myairflow
In the earlier command we asked the helm to generate a name, this time I'm giving my own name for this particular chart
For the time being, let's not worry about this particular chart
What it does and get into the details of this particular chart
So it's going to provide information on how this particular entity is getting deployed within the cluster
and how to access them.
I can get the details about these parts and services using the kubectl command get all
So all the required pods
Services, deployment, replica set everything got deployed and all the required information will be available.
So basically, the charts, it's going to facilitate deploying various components of kunernetes
And in one single go, using a single command, we can deploy the entire infrastructure that is required
for the application to be up and running within kubernetes
And I can list what are all the charts that got deployed helm ls
here we have 2 charts myairflow
And what's the version
And what is the revision currently one revision and
The application version.
Those informations will be available now in case if I wanted to delete any specific chart, I can
go ahead and do that.
Let me delete one helm and install myairflow so all the
entities related to this particular chart will be removed from the kubernetes cluster as well.
So the last one it is getting terminated so all the parts related to that specific chart got terminated.
This is a quick demonstration on how to use the charts and deploy the entities into the kubernetes and
to have a quick revision on kubernetes
And the related components I have added the lecture at the end of this particular course.
You can very well refer to them.
And if you want a detailed understanding on the kubernetes, you can refer to my other course that I
have posted related to the kubernetes
So in a quick summary, we have seen how to import the repositories, how to verify the charts within
the repository and use a chart and do a quick release into the kubernetes cluster using the helm install command.
Again, let me remind you all this is a quick introduction
We are going to have detailed discussion on each and every command
And their syntax in the future lecture.