1
00:00:00,000 --> 00:00:10,966
Hi, Now we have installed the chart museum repository and lets understand how to use that particular repository

2
00:00:10,966 --> 00:00:18,666
as a part of our helm client. The chart museum it's running and it's listening in port 8080

3
00:00:18,666 --> 00:00:23,099
Now it's time to recall the repository discussion that we had in the beginning.

4
00:00:23,100 --> 00:00:28,700
We had a quick overview on what is a repository and how it works. Repository is very similar to

5
00:00:28,700 --> 00:00:34,200
the APT or yum repository that we have as a part of the linux systems where it is going to

6
00:00:34,200 --> 00:00:36,166
have a collection of packages.

7
00:00:36,166 --> 00:00:38,632
And whenever I wanted to install a package

8
00:00:38,633 --> 00:00:45,833
First, I need to add the reference to the repository where it is located and gave an alias name to it

9
00:00:45,833 --> 00:00:52,033
once the reference is added that is to the list of repositories, any package that I wanted to install

10
00:00:52,033 --> 00:00:56,799
It's going to search within that specific repository list that we have.

11
00:00:56,800 --> 00:01:01,800
And for that we do have a command called repo

12
00:01:01,800 --> 00:01:07,466
I can provide helm repo list

13
00:01:07,466 --> 00:01:12,599
In the beginning, we added the stable repository so that we can try out few of the charts

14
00:01:12,600 --> 00:01:15,433
And this is what the url that we had provided.

15
00:01:15,433 --> 00:01:19,766
If you remember, this is the url where the charts are added.

16
00:01:19,766 --> 00:01:24,232
The location for our own repository is it is running in node 2.

17
00:01:24,233 --> 00:01:30,933
So I can provide the IP address of node 2 and add this particular repository with the name.

18
00:01:30,933 --> 00:01:38,599
So I'm going to use the helm repo add command and give a name to it helm repo add and give a name

19
00:01:38,600 --> 00:01:43,366
and the url. So I'm giving the name mychartmuseumrepo

20
00:01:43,366 --> 00:01:47,199
And the url where I do have the chart museum running.

21
00:01:47,200 --> 00:01:51,866
It is running in this specific IP address that is node 2. I'm providing the IP address

22
00:01:51,866 --> 00:01:57,732
The reason because I wanted that to get access from any location in case if you're running it in the local

23
00:01:57,733 --> 00:02:00,466
machine, you can provide local host as well.

24
00:02:00,466 --> 00:02:02,366
So the repository will get added.

25
00:02:02,366 --> 00:02:08,699
Now I can go ahead and list the repositories available so I do have mychart museum repo that

26
00:02:08,699 --> 00:02:13,966
got added just now. Now I can go ahead and search the charts available.

27
00:02:13,966 --> 00:02:23,599
It's going to search in both the repositories helm search repo nginx.

28
00:02:23,600 --> 00:02:26,166
It's going to search for the chart with the name nginx.

29
00:02:26,166 --> 00:02:34,632
And as of now, it is available only within the stable and there are no charts available within the mychart museum repo.

30
00:02:34,633 --> 00:02:40,133
So nothing getting listed. Since the repository that we have is a new repository

31
00:02:40,133 --> 00:02:46,833
There will not be any chart. I can go ahead and search as well using the command helm search repo and name of

32
00:02:46,833 --> 00:02:49,799
the repo that doesn't have any chart.

33
00:02:49,800 --> 00:02:54,600
In case, if I search for stable its going to search

34
00:02:54,600 --> 00:02:56,466
What are all the charts available within it

35
00:02:56,466 --> 00:02:59,899
And their name and version will get listed.

36
00:02:59,900 --> 00:03:06,366
In a quick summary we discussed about how to add the repo and refer to the chart museum that we had created

37
00:03:06,366 --> 00:03:11,366
And in the next lecture we will create a chart and add it to our own repository and manage them.

