Hi, Let us understand more about the public repository available as a part of Helm Hub and how to browse
the charts available within the public repository and make use of the repository available from
the helm hub to our local installation.
Helm host the hub at this location hub.helm.sh
where all the charts and the repositories are added, I can browse the list of charts available in public repository.
over here and these are all the list of repositories and the charts within it.
And since I have selected all, all the charts available in all the repositories will be displayed in
case if I wanted to filter for the charts available within any specific repository, I can go ahead
and do that. Here I do have the list of charts available as a part of stable repository.
The same way I can browse the other repositories as well and through the helm client, I can
browse the repositories.
Also, if I get into the master node where I have installed helm client, I can provide the command helm.
This is going to provide the help information as well as all the options that can be put in within the helm. Here
One thing to be noted, the default value for the cache path, configuration path and the data path is available.
Since this is a Linux system, it is available within the home directory.cache/helm
If I want to change this, I can very well go ahead and change it.
I am leaving all these values as default.
The reason why I'm explaining about this specific environmental variable, because that's where the charts
going to get stored. Now I can
search the entire hub using the command helm search and then hub.
So that's going to search all the charts available within the hub.
thats the public repository location and it's going to list all the helm charts, their versions
available within it, in case if I wanted to search for any specific chart, I can provide the command helm search hub.
And if I wanted to search mysql chart, I can search mysql
So it's going to list all the charts as a part of mysql
or having the keyword mysql.
Now I can search any specific repository
Say, I wanted to search the repository stable helm search repo stable and I'm getting the error no
repositories configured. The reason
because in case if I want to search any specific repository, I need to configure the repository say where it is located.
I can add the repository using the command repo, helm repo add I wanted to add the stable repository and provide the repository.
url. Now I can list all the repositories available using the helm repo command list
So I have the cache of the repository that is stable available over here and any chart that I wanted
to add it's going to provide the information on how I can add this particular repository
And the url corresponding to it.
Stable is a very popular public repository where most of the stable charts are available as a part of the stable repository.
Now I can search the repository stable and look for the charts available within it.
helm search repo stable.
So I'm going to search the repository stable.
So I do have the list of charts
And their versions within it.
So it's going to list the chart version and the application version within it.
Say if I wanted to search for mysql chart within stable repository, I can use the command helm search
repo I wanted to search a stable.
Within that, I wanted to search for mysql
So it's going to list all the charts with the keyword mysql
And the chart version and the application version.
In this case, I have two records mysql and mysql dump with the corresponding chart version and
the application version.
The same thing can be browsed within the hub as well. For example, if I get into the stable, I
can search for the chart, mysql. And within the mysql
We will be having the clear instruction on how to add this particular repository as a part of our installation.
Here I do have the instruction on the installation chart, as we discussed in the beginning, the repositories
that we are adding will get stored as a part of the configuration location.
If I provide the help command, here I will be in a position to find where the cache will be stored.
So in this case, Linux system, it's going to get stored within the home directory.cache/helm
I can get into that specific location. Here I can search for the directories
I will be having a repository. Here
All the repositories will be available, in my case
I have these repositories because earlier it was added and I can go ahead and refresh this particular
repository or import the latest version from the helm hub.
The location of this particular chart cache is for informational purpose.
We are not going to change the files available over here directly.
I'll explain the detailed way of how to update the values and provide the updated values to the chart in the future lecture.
So in a quick summary, we have seen how to browse the charts within the public repository
As a part of Helm Hub and how to add a repository within the helm client and browse the charts
available within the repository.
Don't worry about the terminologies. Few of the terminologies
We will be connecting the dots in future lecture.
This is a quick introduction so that we can get started quickly and create our own chart and deploy it within the cluster.