1
00:00:01,010 --> 00:00:04,610
This is the solution video for the teens and toleration slap.

2
00:00:06,020 --> 00:00:10,370
So for the first question, we have to check the number of notes on the system.

3
00:00:16,260 --> 00:00:21,510
And to do this, will you still get notes and as you can see, there are two notes.

4
00:00:22,140 --> 00:00:23,850
The notes are one and the master.

5
00:00:25,160 --> 00:00:27,650
Do any tents exist on Northera one?

6
00:00:29,230 --> 00:00:34,060
Detectives will use QC to describe no, not the one.

7
00:00:36,120 --> 00:00:42,240
We can either scroll through the result of that command or we can make use of by grep tain't.

8
00:00:44,420 --> 00:00:47,360
And here there are no 10 set for not the one.

9
00:00:50,890 --> 00:00:57,910
Create a tent or not, the one with the key of Spray Valley of Motin, an effect of no schedule.

10
00:01:03,740 --> 00:01:07,550
So let's use the command to taint node node 01.

11
00:01:09,490 --> 00:01:15,880
And it needs at least one tent, so we'll use that option from the question, the key should be spray.

12
00:01:16,960 --> 00:01:19,450
And the value is Motin effectors, nor should you.

13
00:01:19,570 --> 00:01:24,220
So let's define that Sprey is equal to Martin.

14
00:01:25,330 --> 00:01:29,800
And the operator can be defined with a colon and it's not a schedule.

15
00:01:36,580 --> 00:01:42,490
So let's check that the paint has been set sprays across the mountain and the effect, not the operator,

16
00:01:42,520 --> 00:01:44,140
the effect is no schedule.

17
00:01:49,790 --> 00:01:55,730
Now let's create a new board with an engine image and the name of the port is Mosquito, so we'll use

18
00:01:55,730 --> 00:01:56,180
the imperative.

19
00:01:56,180 --> 00:01:57,800
Come on, keep still run.

20
00:02:01,250 --> 00:02:02,900
The name should be Mosquito.

21
00:02:04,590 --> 00:02:07,500
And the image as they call the Ingenix.

22
00:02:12,450 --> 00:02:15,030
Restart is equal to never to create the board.

23
00:02:17,330 --> 00:02:21,470
Let's check the status of the port and you can see that it's a never ending state.

24
00:02:23,700 --> 00:02:24,990
What is the state of the party?

25
00:02:25,020 --> 00:02:27,270
We already checked that it is an opinion said.

26
00:02:30,390 --> 00:02:36,510
And what do you think the parties are now pending state, so we know that we assigned a taint to not

27
00:02:36,780 --> 00:02:44,220
one so we can check the status using Cutesie to describe tripod mosquito and look at the events.

28
00:02:44,640 --> 00:02:50,820
And it will say that two notes which are available already have Tienes, which is in the NEWSROOM,

29
00:02:50,830 --> 00:02:54,870
1:00 a.m. So they are not available for scheduling support.

30
00:02:54,870 --> 00:02:57,260
Mosquito does not tolerate the taint.

31
00:02:59,220 --> 00:03:05,340
Next, create another pod named V with the Engine X image, which has a television set to taint.

32
00:03:06,480 --> 00:03:08,700
So let's use the same command as before.

33
00:03:10,000 --> 00:03:11,950
We'll just replace the name of the pod.

34
00:03:12,830 --> 00:03:13,490
To be.

35
00:03:15,120 --> 00:03:23,430
But we will not create the pod yet, we'll use the dash, dash dry run and dash Oyamel to create up

36
00:03:23,430 --> 00:03:24,540
your definition file.

37
00:03:29,700 --> 00:03:35,580
So now I would like to check the cubicle, explain what's dash dash, recursive command to look up all

38
00:03:35,580 --> 00:03:38,430
the options available for the toleration.

39
00:03:39,390 --> 00:03:41,600
So I'm just going to search for toleration.

40
00:03:42,210 --> 00:03:47,310
And here you can see the different options which can be used along with the toleration.

41
00:03:47,310 --> 00:03:49,890
So it has got the key operator and value.

42
00:03:52,780 --> 00:03:59,470
So I'm just going to use grep bash a five to print the lines underneath toleration.

43
00:04:02,070 --> 00:04:08,250
So this has printed fire lines below the key word toleration, so I'm just going to copy and paste it

44
00:04:08,250 --> 00:04:12,900
in the broad YAML file and we can edit it according to our question.

45
00:04:18,000 --> 00:04:25,500
So let's get inside the definition fun and need the container section we can create.

46
00:04:26,530 --> 00:04:27,440
A new.

47
00:04:29,030 --> 00:04:30,310
Definition photography.

48
00:04:30,360 --> 00:04:32,300
So this is under this section.

49
00:04:33,380 --> 00:04:36,650
And you can see that the toleration is an array.

50
00:04:38,520 --> 00:04:45,150
So we'll define it as an array can also make use of cabinet as documentation and make sure that the

51
00:04:45,330 --> 00:04:47,680
options that you're using are correct.

52
00:04:48,540 --> 00:04:51,250
So the first right element is effect.

53
00:04:51,360 --> 00:04:57,900
So we'll define it as no schedule matching the we said on one.

54
00:04:59,310 --> 00:05:05,700
Now, let's also update the remaining values we do not need be told and second, so I'm going to remove

55
00:05:05,700 --> 00:05:05,960
that.

56
00:05:06,630 --> 00:05:08,310
That's not answering the question.

57
00:05:08,670 --> 00:05:12,000
So key should be spray.

58
00:05:15,800 --> 00:05:19,450
Make sure that the syntax is correct, it's all aligned properly.

59
00:05:22,370 --> 00:05:25,580
And also update the operator and the value.

60
00:05:31,230 --> 00:05:33,210
The value should be Motin.

61
00:05:42,250 --> 00:05:44,140
So now let's try to create the part.

62
00:05:47,960 --> 00:05:52,510
Looks like I made a mistake with the value of the operator.

63
00:05:52,660 --> 00:05:55,340
It should not be in it should be equal.

64
00:05:55,660 --> 00:05:56,740
So let's see that.

65
00:06:01,830 --> 00:06:04,110
And now we should be able to create the port.

66
00:06:05,220 --> 00:06:06,030
The board has been.

67
00:06:06,390 --> 00:06:13,380
Let's check the status and you'll see that it is an Kadina greeting, it should soon be running St..

68
00:06:14,900 --> 00:06:18,020
So it's running now, so let's move on to the next question.

69
00:06:20,580 --> 00:06:24,670
So we can see that the part was, you know, that one despite the pain.

70
00:06:24,750 --> 00:06:28,170
That's because we added the toleration specifically.

71
00:06:28,170 --> 00:06:30,210
So it is running on Najara one.

72
00:06:33,220 --> 00:06:35,530
Do you see any tents on the M.A.?

73
00:06:36,820 --> 00:06:40,630
So let's check that using Ctrl describe node.

74
00:06:42,200 --> 00:06:45,050
Monster and grab for tain't.

75
00:06:46,620 --> 00:06:49,710
And here we can see that it indeed does have attained.

76
00:06:51,100 --> 00:06:55,230
So the answer is yes, and it does Naushad, you.

77
00:06:58,210 --> 00:07:04,170
Detained on Masser, which currently has detained effect of no schedule, so to do this, we can see

78
00:07:04,240 --> 00:07:13,140
detained Naude master and we can just copy detained and put a minus or subtract symbol in the end and

79
00:07:13,140 --> 00:07:14,550
that will remove detained.

80
00:07:16,180 --> 00:07:17,820
So now it does not have any taint.

81
00:07:19,850 --> 00:07:21,960
What is this state of the pot mosquito?

82
00:07:21,990 --> 00:07:28,520
So if everything is all right, it should be Chatila monster because we have removed it and I can see

83
00:07:28,520 --> 00:07:29,930
that it wasn't running straight.

84
00:07:31,580 --> 00:07:33,020
And it is running on Masra.

85
00:07:35,810 --> 00:07:41,680
Should note as the pod mosquito running on, so we know that it's on Demus A. So that's because we were

86
00:07:41,900 --> 00:07:42,390
detained.

87
00:07:42,400 --> 00:07:47,650
So now both Bee and the mosquito pod are running on the cluster.

88
00:07:47,800 --> 00:07:55,420
The people it has detained specified for this equal to Martiens was running another one and the pod

89
00:07:55,420 --> 00:07:57,030
mosquito is running on the master.

90
00:07:57,190 --> 00:07:58,440
So that was an easy lap.

91
00:07:58,450 --> 00:08:00,380
So I hope that you find it useful.

92
00:08:00,400 --> 00:08:01,510
I'll see in the next one.
