This is the solution video for the teens and toleration slap.
So for the first question, we have to check the number of notes on the system.
And to do this, will you still get notes and as you can see, there are two notes.
The notes are one and the master.
Do any tents exist on Northera one?
Detectives will use QC to describe no, not the one.
We can either scroll through the result of that command or we can make use of by grep tain't.
And here there are no 10 set for not the one.
Create a tent or not, the one with the key of Spray Valley of Motin, an effect of no schedule.
So let's use the command to taint node node 01.
And it needs at least one tent, so we'll use that option from the question, the key should be spray.
And the value is Motin effectors, nor should you.
So let's define that Sprey is equal to Martin.
And the operator can be defined with a colon and it's not a schedule.
So let's check that the paint has been set sprays across the mountain and the effect, not the operator,
the effect is no schedule.
Now let's create a new board with an engine image and the name of the port is Mosquito, so we'll use
the imperative.
Come on, keep still run.
The name should be Mosquito.
And the image as they call the Ingenix.
Restart is equal to never to create the board.
Let's check the status of the port and you can see that it's a never ending state.
What is the state of the party?
We already checked that it is an opinion said.
And what do you think the parties are now pending state, so we know that we assigned a taint to not
one so we can check the status using Cutesie to describe tripod mosquito and look at the events.
And it will say that two notes which are available already have Tienes, which is in the NEWSROOM,
1:00 a.m. So they are not available for scheduling support.
Mosquito does not tolerate the taint.
Next, create another pod named V with the Engine X image, which has a television set to taint.
So let's use the same command as before.
We'll just replace the name of the pod.
To be.
But we will not create the pod yet, we'll use the dash, dash dry run and dash Oyamel to create up
your definition file.
So now I would like to check the cubicle, explain what's dash dash, recursive command to look up all
the options available for the toleration.
So I'm just going to search for toleration.
And here you can see the different options which can be used along with the toleration.
So it has got the key operator and value.
So I'm just going to use grep bash a five to print the lines underneath toleration.
So this has printed fire lines below the key word toleration, so I'm just going to copy and paste it
in the broad YAML file and we can edit it according to our question.
So let's get inside the definition fun and need the container section we can create.
A new.
Definition photography.
So this is under this section.
And you can see that the toleration is an array.
So we'll define it as an array can also make use of cabinet as documentation and make sure that the
options that you're using are correct.
So the first right element is effect.
So we'll define it as no schedule matching the we said on one.
Now, let's also update the remaining values we do not need be told and second, so I'm going to remove
that.
That's not answering the question.
So key should be spray.
Make sure that the syntax is correct, it's all aligned properly.
And also update the operator and the value.
The value should be Motin.
So now let's try to create the part.
Looks like I made a mistake with the value of the operator.
It should not be in it should be equal.
So let's see that.
And now we should be able to create the port.
The board has been.
Let's check the status and you'll see that it is an Kadina greeting, it should soon be running St..
So it's running now, so let's move on to the next question.
So we can see that the part was, you know, that one despite the pain.
That's because we added the toleration specifically.
So it is running on Najara one.
Do you see any tents on the M.A.?
So let's check that using Ctrl describe node.
Monster and grab for tain't.
And here we can see that it indeed does have attained.
So the answer is yes, and it does Naushad, you.
Detained on Masser, which currently has detained effect of no schedule, so to do this, we can see
detained Naude master and we can just copy detained and put a minus or subtract symbol in the end and
that will remove detained.
So now it does not have any taint.
What is this state of the pot mosquito?
So if everything is all right, it should be Chatila monster because we have removed it and I can see
that it wasn't running straight.
And it is running on Masra.
Should note as the pod mosquito running on, so we know that it's on Demus A. So that's because we were
detained.
So now both Bee and the mosquito pod are running on the cluster.
The people it has detained specified for this equal to Martiens was running another one and the pod
mosquito is running on the master.
So that was an easy lap.
So I hope that you find it useful.
I'll see in the next one.