1
00:00:00,700 --> 00:00:04,450
This is the solution video for the logs lab.

2
00:00:05,710 --> 00:00:11,420
The first question, we have deployed a pod, hosting an application, inspect it, wait for it to start.

3
00:00:12,930 --> 00:00:16,770
So let's inspect it from the terminal will on it, you'll get pods.

4
00:00:18,630 --> 00:00:23,550
And we see that a board by the name of webapp dash one is now running St..

5
00:00:24,850 --> 00:00:31,390
A user called User Five has expressed concerns accessing the application, identify the cause of the

6
00:00:31,390 --> 00:00:34,920
issue, so allowed to inspect the logs for the part.

7
00:00:36,640 --> 00:00:40,540
So let's try and keep still logs and the name of the pod.

8
00:00:42,840 --> 00:00:50,010
And it's great for user five and you'll see that user five failed to login to the account as it's logged

9
00:00:50,010 --> 00:00:51,870
due to many failed attempts.

10
00:00:55,060 --> 00:00:56,050
So that's the reason.

11
00:00:57,320 --> 00:01:02,990
So user account log, due to multiple failed attempts, we have deployed a new part called Web Dash

12
00:01:02,990 --> 00:01:05,960
to hosting an application, inspect it and wait for it to start.

13
00:01:06,620 --> 00:01:08,590
So let's still get pods again.

14
00:01:10,510 --> 00:01:12,940
And it is also in our running state.

15
00:01:14,340 --> 00:01:19,680
So the final question, a user is reporting issues while trying to purchase an item identified the user

16
00:01:19,680 --> 00:01:20,930
and the cause of the issue.

17
00:01:22,470 --> 00:01:24,510
So we'll run the same commanders before.

18
00:01:26,420 --> 00:01:32,630
But you can see that the sport is running two containers, which is evident from the previous combine,

19
00:01:33,470 --> 00:01:34,490
two out of two already.

20
00:01:34,790 --> 00:01:37,840
So we'll have to use the Dashty to specify the container.

21
00:01:37,850 --> 00:01:41,860
And here we can see that it has got two containers called DBI and simple webapp.

22
00:01:42,260 --> 00:01:45,830
So we are going to look at the logs of the application webapp.

23
00:01:48,610 --> 00:01:53,860
So for that, we are using the Dashty option along with the logs, and here you'll see that there is

24
00:01:53,860 --> 00:02:00,790
a user called User 30 and the autofill, as the item is out of stock, there's a warning.

25
00:02:02,110 --> 00:02:04,000
So use the 30 item out of stock.

26
00:02:04,240 --> 00:02:06,230
So this was a quick and easy lap.

27
00:02:06,250 --> 00:02:07,210
Thank you for joining me.

28
00:02:07,240 --> 00:02:08,430
I'll see you in the next one.
