1
00:00:00,690 --> 00:00:07,080
This is the solution video for the Monitoring Lab. It's the first question we have deployed, a few

2
00:00:07,080 --> 00:00:09,540
pots are running workload's inspected.

3
00:00:09,990 --> 00:00:13,770
So let's go to the terminal and type ducktail, get pods.

4
00:00:14,950 --> 00:00:17,620
And here we have three parts which have been created.

5
00:00:20,430 --> 00:00:26,490
Now let's deploy a Matrix server to monitor reports and not pull the git repository, which is given

6
00:00:26,490 --> 00:00:26,790
below.

7
00:00:27,980 --> 00:00:29,630
So let's copy this link here.

8
00:00:30,710 --> 00:00:33,170
And we'll clone this repository first.

9
00:00:35,400 --> 00:00:40,180
Technically, we are in the root directory, which is the default one, so just their.

10
00:00:45,800 --> 00:00:50,720
Now, the plot Imitrex over by creating all the components and the downloaded directory, so will you

11
00:00:50,990 --> 00:00:55,010
still create dash f dot within the directory?

12
00:00:55,040 --> 00:01:02,240
So we are already in the directory, so let's run the same command Inside Communities Matrix Dash Server.

13
00:01:03,230 --> 00:01:07,340
And let's type in Cuba to get ports.

14
00:01:09,130 --> 00:01:11,350
And you see that all the three clothes are running.

15
00:01:12,560 --> 00:01:15,480
And The Matrix has been created in the cube system namespace.

16
00:01:15,500 --> 00:01:16,430
If you want to check it out.

17
00:01:18,220 --> 00:01:25,360
So now let's wait for the metric server to be up and running, so we are going to use the watch command

18
00:01:25,810 --> 00:01:29,050
and includes the capacity of top node button double codes.

19
00:01:29,860 --> 00:01:36,280
And we'll wait for this particular command to show an output of the capability still top node.

20
00:01:36,310 --> 00:01:40,330
So this is quite handy to make sure that it is working.

21
00:01:41,020 --> 00:01:46,570
So this might take a couple of minutes for all the pods that we created for the Matrix over to come

22
00:01:46,570 --> 00:01:48,090
up, all the objects.

23
00:01:48,970 --> 00:01:50,260
So give it a minute or two.

24
00:01:52,790 --> 00:01:59,840
So we see these changing here and soon, yep, we have the metrics available so we can control all of

25
00:02:00,080 --> 00:02:00,540
this.

26
00:02:00,560 --> 00:02:01,010
Come on.

27
00:02:02,600 --> 00:02:06,710
So now we have to identify the part which uses the most CPU.

28
00:02:08,620 --> 00:02:12,100
So let's just run the command cubicle, top node.

29
00:02:13,690 --> 00:02:17,790
So this is the note which is running the most c.p.u.

30
00:02:17,830 --> 00:02:20,440
So not everyone is using 100 percent CPU.

31
00:02:21,310 --> 00:02:22,690
So that secret option.

32
00:02:24,360 --> 00:02:27,090
Now identify the note that consumes the most memory.

33
00:02:29,150 --> 00:02:33,710
So, again, using the same come on, you'll see that the Senate is using more memory compared to another

34
00:02:33,740 --> 00:02:35,930
one, so that 60 percent memory.

35
00:02:37,460 --> 00:02:39,590
So the option is Mascia.

36
00:02:41,040 --> 00:02:45,990
I defy the power that consumes the most memory, so let's try and kill Topdog.

37
00:02:54,280 --> 00:03:01,300
You'll notice that the part called elephant uses the most memory compared to the other two.

38
00:03:07,080 --> 00:03:10,890
And for the final question, identify the pot that consumes more CPU.

39
00:03:12,100 --> 00:03:18,250
So if you see the part called Robert uses more C.P.U compared to the other two, so that's the correct

40
00:03:18,910 --> 00:03:19,470
option.

41
00:03:20,430 --> 00:03:22,530
So that was a quick and easy lap.

42
00:03:22,560 --> 00:03:23,490
Thank you for joining me.

43
00:03:23,520 --> 00:03:24,900
I'll see you in the next one.
