1
00:00:00,390 --> 00:00:04,020
This was the solution video for the it continues lap.

2
00:00:06,950 --> 00:00:12,230
The first question is for us to identify the part that has an innate container configured.

3
00:00:14,910 --> 00:00:18,060
So let's go to the Domhnall and Ron Kubasik, he'll get Pott's.

4
00:00:20,580 --> 00:00:26,080
And under the status, you'll see that the blue pod has an inside container running.

5
00:00:26,970 --> 00:00:28,500
So the answer is blue.

6
00:00:34,270 --> 00:00:41,170
What is the image used by the init container on the blue pod, so we'll make use of the cubes that you

7
00:00:41,200 --> 00:00:42,820
describe command here.

8
00:00:45,510 --> 00:00:47,130
For the blue part.

9
00:00:48,990 --> 00:00:53,820
And if you scroll up, we can look at the init container.

10
00:00:55,680 --> 00:00:59,700
And the image which it's using is the Xbox.

11
00:01:06,830 --> 00:01:10,310
What is the state of the container on the blue pod?

12
00:01:12,060 --> 00:01:13,490
So let's run that command again.

13
00:01:15,880 --> 00:01:19,570
And you'll see that the cities terminated, reasoners completed.

14
00:01:27,730 --> 00:01:30,370
Why is the container terminated?

15
00:01:30,460 --> 00:01:31,110
What is the reason?

16
00:01:31,130 --> 00:01:36,790
So we already saw that the status was completed, so the process is complete.

17
00:01:39,370 --> 00:01:44,560
We just created a new app called Purple Harmony, and it continues, does it have?

18
00:01:46,580 --> 00:01:49,120
So let's run QTL, get pots again.

19
00:01:52,480 --> 00:01:57,920
And you'll see that there is a new port called purple and under the state, as you can see, it has

20
00:01:57,920 --> 00:02:00,150
zero are of two containers.

21
00:02:00,310 --> 00:02:02,020
So the answer is to.

22
00:02:04,200 --> 00:02:11,520
We can also verify that by you describe part purple, scroll up and look under the continuous section.

23
00:02:12,470 --> 00:02:16,300
And you'll see that there's a warm up to and a warm up one continues.

24
00:02:16,340 --> 00:02:20,210
Those are the two and it continues and stories to.

25
00:02:25,360 --> 00:02:27,030
What is the state of the pot?

26
00:02:31,320 --> 00:02:32,470
A lesson there again.

27
00:02:36,340 --> 00:02:42,340
You'll see that the and it continues are now running straight, the warm up one is running, stayed

28
00:02:42,820 --> 00:02:44,220
warm up to is waiting.

29
00:02:46,130 --> 00:02:50,720
And the actual container is also waiting for the injured continues to complete.

30
00:02:55,300 --> 00:02:59,530
And if Iran could still get Potts, you'll see that the status of the port.

31
00:03:01,820 --> 00:03:04,520
Is also not ready, so it's on a waiting state.

32
00:03:06,800 --> 00:03:12,620
How long after the creation of the port will the application come up and be available to the users?

33
00:03:14,990 --> 00:03:19,580
So let's inspect the commands which are being run by the two inhered containers.

34
00:03:21,340 --> 00:03:26,920
So there are two containers under the net containers, one is running a sleep on for twelve hundred

35
00:03:26,920 --> 00:03:33,550
seconds, which is the warm up two and IT container and the warm up one in that container is running

36
00:03:33,700 --> 00:03:35,340
a sleep for 600 seconds.

37
00:03:35,710 --> 00:03:39,460
So in total, they both are sleeping for eight hundred seconds.

38
00:03:40,900 --> 00:03:42,700
So the answer is 30 minutes.

39
00:03:44,760 --> 00:03:51,900
Now, let's update the pod right to use an Internet container that uses the Xbox image and sleeps for

40
00:03:51,900 --> 00:03:52,770
20 seconds.

41
00:03:55,110 --> 00:03:57,060
Allowed to delete and recreate the part.

42
00:03:58,210 --> 00:04:05,770
So first, let's get the YAML format of the pot read, they will use the Oyamel and redirected to red

43
00:04:05,770 --> 00:04:06,460
dot yaml.

44
00:04:07,820 --> 00:04:10,370
I will delete the red pod.

45
00:04:11,670 --> 00:04:19,410
Wait for it to terminate completely and then we can insert an IT container to the YAML file and recreate

46
00:04:19,410 --> 00:04:19,860
the pod.

47
00:04:21,310 --> 00:04:23,410
The image that will users but Zyvox.

48
00:04:28,130 --> 00:04:31,550
So now let's update the poor definition for.

49
00:04:41,250 --> 00:04:45,390
So let's add an inert continues section underneath this back.

50
00:04:47,120 --> 00:04:49,040
Very similar to the continued section.

51
00:04:51,320 --> 00:04:57,230
And will add the name and the image to the image as Zyvox.

52
00:05:00,970 --> 00:05:02,860
Well, copy that from the question.

53
00:05:04,490 --> 00:05:07,760
And the name can be anything, the question does not specify that so.

54
00:05:09,180 --> 00:05:12,480
We'll call it Red Dash, and it continues.

55
00:05:13,260 --> 00:05:16,590
And next, we'll add the command that it's supposed to run.

56
00:05:18,280 --> 00:05:21,690
And it's supposed to sleep for 20 seconds.

57
00:05:23,020 --> 00:05:24,030
That looks all right.

58
00:05:26,870 --> 00:05:28,190
We can save this file.

59
00:05:32,090 --> 00:05:34,640
And recreate the red pod.

60
00:05:43,420 --> 00:05:45,760
And you'll see that the container is running.

61
00:05:47,470 --> 00:05:49,260
So let's check the answer.

62
00:05:54,830 --> 00:06:00,410
And for the last question, a new application called Orange is deployed, there is something wrong with

63
00:06:00,410 --> 00:06:02,450
it, identify and fix the issue.

64
00:06:10,670 --> 00:06:14,390
So let's run CTL describe poured orange.

65
00:06:15,820 --> 00:06:17,170
And see what's wrong with that.

66
00:06:19,220 --> 00:06:27,200
So it's innervating state the container inside the port, but you can see that there is then another

67
00:06:27,530 --> 00:06:33,770
container, which is another crashed, look back of it and if you inspect the command, you'll see what's

68
00:06:33,770 --> 00:06:34,960
wrong with it immediately.

69
00:06:34,970 --> 00:06:37,460
So if you see the command, it's running a sleep.

70
00:06:37,460 --> 00:06:39,380
Two part sleeper's.

71
00:06:40,340 --> 00:06:43,600
Misspelled, so that's the thing that we have to correct.

72
00:06:44,910 --> 00:06:48,870
So first, let's get the Yamal definition file using national Yamal.

73
00:06:50,650 --> 00:06:52,600
And then we can delete the part.

74
00:06:55,760 --> 00:06:58,580
And now let's correct the come on.

75
00:07:11,760 --> 00:07:13,350
So under the and it continues.

76
00:07:14,760 --> 00:07:15,930
Fixie, come on.

77
00:07:17,490 --> 00:07:18,750
To sleep to.

78
00:07:26,270 --> 00:07:32,210
Now, let's save it and recreate the part you think you still apply that if Orange Dot Yama?

79
00:07:35,830 --> 00:07:37,040
Now, let's check the answer.

80
00:07:38,050 --> 00:07:43,150
OK, it looks like I was impatient, so let's wait for the application to run, let's say so on the

81
00:07:43,150 --> 00:07:43,660
question.

82
00:07:50,400 --> 00:07:52,090
Now it looks like it's running.

83
00:07:52,110 --> 00:07:53,370
So check that again.

84
00:07:54,950 --> 00:07:56,540
And that was the last question.

85
00:07:56,900 --> 00:07:57,850
Thanks for joining me.

86
00:07:57,890 --> 00:07:59,330
The solution we do.

87
00:07:59,540 --> 00:08:01,070
I'll see you in the next one.
