This is the solution video for the Monitoring Lab. It's the first question we have deployed, a few
pots are running workload's inspected.
So let's go to the terminal and type ducktail, get pods.
And here we have three parts which have been created.
Now let's deploy a Matrix server to monitor reports and not pull the git repository, which is given
below.
So let's copy this link here.
And we'll clone this repository first.
Technically, we are in the root directory, which is the default one, so just their.
Now, the plot Imitrex over by creating all the components and the downloaded directory, so will you
still create dash f dot within the directory?
So we are already in the directory, so let's run the same command Inside Communities Matrix Dash Server.
And let's type in Cuba to get ports.
And you see that all the three clothes are running.
And The Matrix has been created in the cube system namespace.
If you want to check it out.
So now let's wait for the metric server to be up and running, so we are going to use the watch command
and includes the capacity of top node button double codes.
And we'll wait for this particular command to show an output of the capability still top node.
So this is quite handy to make sure that it is working.
So this might take a couple of minutes for all the pods that we created for the Matrix over to come
up, all the objects.
So give it a minute or two.
So we see these changing here and soon, yep, we have the metrics available so we can control all of
this.
Come on.
So now we have to identify the part which uses the most CPU.
So let's just run the command cubicle, top node.
So this is the note which is running the most c.p.u.
So not everyone is using 100 percent CPU.
So that secret option.
Now identify the note that consumes the most memory.
So, again, using the same come on, you'll see that the Senate is using more memory compared to another
one, so that 60 percent memory.
So the option is Mascia.
I defy the power that consumes the most memory, so let's try and kill Topdog.
You'll notice that the part called elephant uses the most memory compared to the other two.
And for the final question, identify the pot that consumes more CPU.
So if you see the part called Robert uses more C.P.U compared to the other two, so that's the correct
option.
So that was a quick and easy lap.
Thank you for joining me.
I'll see you in the next one.