Hi, Now we have installed the chart museum repository and lets understand how to use that particular repository
as a part of our helm client. The chart museum it's running and it's listening in port 8080
Now it's time to recall the repository discussion that we had in the beginning.
We had a quick overview on what is a repository and how it works. Repository is very similar to
the APT or yum repository that we have as a part of the linux systems where it is going to
have a collection of packages.
And whenever I wanted to install a package
First, I need to add the reference to the repository where it is located and gave an alias name to it
once the reference is added that is to the list of repositories, any package that I wanted to install
It's going to search within that specific repository list that we have.
And for that we do have a command called repo
I can provide helm repo list
In the beginning, we added the stable repository so that we can try out few of the charts
And this is what the url that we had provided.
If you remember, this is the url where the charts are added.
The location for our own repository is it is running in node 2.
So I can provide the IP address of node 2 and add this particular repository with the name.
So I'm going to use the helm repo add command and give a name to it helm repo add and give a name
and the url. So I'm giving the name mychartmuseumrepo
And the url where I do have the chart museum running.
It is running in this specific IP address that is node 2. I'm providing the IP address
The reason because I wanted that to get access from any location in case if you're running it in the local
machine, you can provide local host as well.
So the repository will get added.
Now I can go ahead and list the repositories available so I do have mychart museum repo that
got added just now. Now I can go ahead and search the charts available.
It's going to search in both the repositories helm search repo nginx.
It's going to search for the chart with the name nginx.
And as of now, it is available only within the stable and there are no charts available within the mychart museum repo.
So nothing getting listed. Since the repository that we have is a new repository
There will not be any chart. I can go ahead and search as well using the command helm search repo and name of
the repo that doesn't have any chart.
In case, if I search for stable its going to search
What are all the charts available within it
And their name and version will get listed.
In a quick summary we discussed about how to add the repo and refer to the chart museum that we had created
And in the next lecture we will create a chart and add it to our own repository and manage them.