1
00:00:00,450 --> 00:00:03,450
This is the solution video for the static parts lab.

2
00:00:05,700 --> 00:00:11,030
For the first question, we have to find the number of static pots in the cluster and all living spaces.

3
00:00:11,310 --> 00:00:12,630
So let's go to the Domhnall.

4
00:00:14,040 --> 00:00:19,050
And will on Kuby still get parts all named Spaceless?

5
00:00:21,520 --> 00:00:28,390
Now, one of the tricks to identify a static pod is look for the suffix, so most of the time the static

6
00:00:28,390 --> 00:00:35,950
parts would have the name of the node and the suffix or in this case, look for master or node 01 and

7
00:00:35,950 --> 00:00:40,720
you would find that there are four parts which have these effects of the master.

8
00:00:41,290 --> 00:00:49,810
And these are the Cremaster Cube API server, Dash Master Cube Controller Manager, Ness Monster and

9
00:00:49,810 --> 00:00:51,200
Cube scheduler master.

10
00:00:51,790 --> 00:00:56,200
So you can check by grabbing dockmaster and running a word count.

11
00:00:58,610 --> 00:01:01,760
Well, let us keep that and there you go.

12
00:01:01,800 --> 00:01:03,200
We've got four pods and total.

13
00:01:08,230 --> 00:01:10,210
So the correct answer is for.

14
00:01:17,280 --> 00:01:22,160
For the next question, we have to find the components which is not deployed as a static port.

15
00:01:22,350 --> 00:01:27,510
So we already know the four parts which are static ports, and the one which is not in this question

16
00:01:27,510 --> 00:01:28,830
is the core DNS.

17
00:01:34,660 --> 00:01:36,250
So select the gaudiness option.

18
00:01:39,530 --> 00:01:43,960
The next question is quite similar, which of the components is not deployed as a static port?

19
00:01:44,690 --> 00:01:49,840
And here again you'll see that Q proxy was not on that list, your proxy as deployed as a demon said.

20
00:01:50,120 --> 00:01:51,950
So use that option.

21
00:01:57,820 --> 00:02:00,520
On what north are these static pots created?

22
00:02:01,540 --> 00:02:02,860
So let's go and check that.

23
00:02:05,360 --> 00:02:11,630
Is the same gunman as before, use the dash or wide to lose the notes and you'll see that all of them

24
00:02:11,630 --> 00:02:13,160
are running on M..

25
00:02:14,190 --> 00:02:18,420
And this is the reason why all the parts have the suffix of dockmaster.

26
00:02:28,390 --> 00:02:33,700
For the next question, we have to find out the part of the directory holding the static pod definition

27
00:02:33,700 --> 00:02:34,120
files.

28
00:02:35,580 --> 00:02:43,890
To do this, we will check the process for Cubitt and find out the location of the configuration file

29
00:02:44,400 --> 00:02:45,300
that it uses.

30
00:02:49,150 --> 00:02:52,270
So, Ron Pasdar, if and great for cumulate.

31
00:02:54,670 --> 00:02:57,460
And search for dash dash config.

32
00:03:00,390 --> 00:03:08,220
And you'll see in this case that it does slash water slash lab, Kubelik slash config, not YAML.

33
00:03:10,610 --> 00:03:11,620
So let's copy that.

34
00:03:14,450 --> 00:03:22,900
And we have to prep for the static pod parameter in this file, so just grab for static and that file

35
00:03:22,910 --> 00:03:28,160
and it should show you the part where the static pod configuration is stored.

36
00:03:28,190 --> 00:03:30,150
So in this case, it is execution.

37
00:03:30,200 --> 00:03:32,720
It is manifest directly on the master.

38
00:03:33,440 --> 00:03:35,540
So let's go into that location.

39
00:03:36,650 --> 00:03:41,810
And Leslie files were just underneath, so you can see all the four files here, so that's the correct

40
00:03:41,810 --> 00:03:43,700
option, execution of this manifests.

41
00:03:46,160 --> 00:03:50,690
How many poor definition files are present in the manifest folder, so we already know that there are

42
00:03:50,690 --> 00:03:55,160
four static parts, so there should be four files in that directory.

43
00:04:00,660 --> 00:04:05,080
What is the Docker image used to deploy decubitus over as a static port?

44
00:04:05,100 --> 00:04:11,790
So let's inspect the file for Cuba server grep for image in the Cuba episode or YAML file.

45
00:04:13,370 --> 00:04:17,270
And the answer is Cuba server version one, not 16, not zero.

46
00:04:24,430 --> 00:04:31,720
Next, we have to create a static part by the name of static busy box that uses the Xbox image and it

47
00:04:31,720 --> 00:04:33,790
should run the command sleep one thousand.

48
00:04:35,390 --> 00:04:37,250
So to do this, we will create the.

49
00:04:38,600 --> 00:04:44,780
Pod definition file within the same directory, which is when it is manifest and will use inoperative

50
00:04:44,780 --> 00:04:49,640
command to create the file, copy the name of the pod.

51
00:04:49,820 --> 00:04:52,100
So it should be static dash Zyvox.

52
00:04:55,090 --> 00:04:57,160
And the image should be Zyvox.

53
00:04:59,460 --> 00:05:04,730
We'll use the dash dash command to specify the command that the port is supposed to run, which is leap

54
00:05:04,740 --> 00:05:05,330
one thousand.

55
00:05:07,740 --> 00:05:12,810
And finally, we will use the dash dash dry, run dash oyamel.

56
00:05:18,790 --> 00:05:26,620
Don't forget to use the dash actually to never so that it creates the file for the pot and let's redirect

57
00:05:26,620 --> 00:05:31,240
that to a file by the same name with a static dash, busy box dot yaml.

58
00:05:36,630 --> 00:05:42,330
Now, as soon as you create that file, since it's a static pot, it should automatically create the

59
00:05:42,330 --> 00:05:42,630
pot.

60
00:05:43,040 --> 00:05:44,280
Wait for a couple of seconds.

61
00:05:50,550 --> 00:05:51,930
In this case, I made a mistake.

62
00:05:52,200 --> 00:05:54,900
I did not use the actual YAML.

63
00:05:57,900 --> 00:05:59,760
So I'm going to remove this file.

64
00:06:02,360 --> 00:06:03,740
And recreated.

65
00:06:05,550 --> 00:06:08,580
But this time I will specify the natural yaml.

66
00:06:17,430 --> 00:06:19,660
Now, if you check it, you'll get pots.

67
00:06:19,680 --> 00:06:21,510
You should find the static pot running.

68
00:06:22,620 --> 00:06:29,660
But you do not have to specify accuracy to create or still apply against the file that we created as

69
00:06:29,660 --> 00:06:34,760
long as it has been created in the correct directory, which is specified in the Kubelik configuration

70
00:06:34,760 --> 00:06:35,100
file.

71
00:06:35,600 --> 00:06:37,730
It should automatically create the pod.

72
00:06:39,620 --> 00:06:43,730
It's also important to note that static polls do not make use of the scheduler.

73
00:06:45,490 --> 00:06:46,620
Let's check the answer.

74
00:06:52,000 --> 00:07:00,430
Now, let's edit the image on this report to the Xbox One twenty four, so to do this, we can directly

75
00:07:00,430 --> 00:07:07,540
update the file that we created earlier, change the image to the Xbox One to eight.

76
00:07:07,540 --> 00:07:08,170
Not for.

77
00:07:11,960 --> 00:07:16,490
And save an exit, and that should automatically make the changes.

78
00:07:29,380 --> 00:07:32,500
The goods and our earnings shape now, so does Re-created the port.

79
00:07:34,780 --> 00:07:37,110
Let's move on to the final question.

80
00:07:38,740 --> 00:07:44,800
So for the final question, there has been a new static poll that has been created by the name of static

81
00:07:44,800 --> 00:07:48,520
dash green box, where to find it and delete it.

82
00:07:49,540 --> 00:07:52,450
So let's go to the terminal and check out this new pod.

83
00:07:54,030 --> 00:08:00,270
So there is a new report by the name of Static Dash, Green Box National TSRA one which has been created,

84
00:08:01,140 --> 00:08:06,720
and you can see that the suffix of the static part is not the one, which is a good indication that

85
00:08:06,720 --> 00:08:08,650
it is created on the wheel.

86
00:08:08,670 --> 00:08:09,840
Cannabinoids are one.

87
00:08:12,500 --> 00:08:16,910
So we'll have to assess and to know that we want to look the.

88
00:08:18,090 --> 00:08:20,070
Configuration file for the static pod.

89
00:08:21,400 --> 00:08:25,810
To do that, let's first try to get the IP address of the Nozawa.

90
00:08:30,470 --> 00:08:32,180
We will use the additional white option.

91
00:08:33,240 --> 00:08:39,950
If I try a succession of 01, it is not able to assess because it's not added to the DNS or the Horsfall,

92
00:08:40,440 --> 00:08:43,950
so we'll have to use the IP address or copy the internal IP address.

93
00:08:45,560 --> 00:08:53,360
And then it's a search using that IP address, so you can see that the password list is already set

94
00:08:53,360 --> 00:08:53,630
up.

95
00:08:53,640 --> 00:08:59,030
So from the Marsano, you can just search and provide the IP address and it should take you directly

96
00:08:59,030 --> 00:09:02,060
to node 01 non-specified any user.

97
00:09:02,090 --> 00:09:02,920
We don't know which user.

98
00:09:03,380 --> 00:09:08,570
We are making use of road user by default and that's what has been used for setting up the password

99
00:09:08,570 --> 00:09:09,220
less SSL.

100
00:09:10,280 --> 00:09:15,080
So now that we are on that one, let's inspect the Kubelik process just like before.

101
00:09:15,410 --> 00:09:16,580
We will find the.

102
00:09:17,580 --> 00:09:22,140
Kubelik configuration file so great for Ashutosh Config.

103
00:09:26,760 --> 00:09:33,810
And you can see that it's using the same location as the master, which is slash water slash lab cumulate

104
00:09:34,080 --> 00:09:35,710
slash conflict dot Yamal.

105
00:09:36,390 --> 00:09:45,060
So let's look for static in that file to look at the location of the static pot pot and hear the static

106
00:09:45,060 --> 00:09:46,500
pot is different from the master.

107
00:09:46,530 --> 00:09:52,150
It was created under Slash Slash, a directory called Just to Mess With You.

108
00:09:52,170 --> 00:09:56,000
So let's go to that pot and check out the contents.

109
00:09:56,010 --> 00:10:02,310
So there should be a file here which is responsible for the static pot, which we have to delete.

110
00:10:03,910 --> 00:10:08,680
So here is the definition file called Green Box Yamal, so just go ahead and remove it.

111
00:10:10,010 --> 00:10:11,840
Now, exit out of North one.

112
00:10:12,110 --> 00:10:17,990
Well, we are back at the master note, and on Cuba, you'll get pots and hopefully that pot should

113
00:10:17,990 --> 00:10:19,120
have been gone by now.

114
00:10:22,030 --> 00:10:24,530
So there you go, the part has been deleted.

115
00:10:24,550 --> 00:10:30,340
We had just left with the one static pod that we created earlier, so go ahead and check the solution.

116
00:10:32,840 --> 00:10:34,460
Thank you for joining me this lap.

117
00:10:34,640 --> 00:10:36,100
I'll see you the next one.
