This is the solution video for the minority dueling lap so for the first question and engine next door
the ammo file is given.
We have to create a port using this file.
So let's go to the terminal and type.
Alice and use the engine Xstrata and we'll fall.
We can create it using cube C deal apply dash f engine Xstrata Amel to port has been created.
So let's move on to the next question so for the second question we have to inspect the status of the
pod so let's run cube C diesel get ports and you can see that the state is spending
next year to figure out why the port is now pending state who will inspect the environmental of various
gov does control plane components
so let's run cube steel dash and cube system get pods
as you can see we have different control plane components listed here.
The cube EPA over at City master cube controller manager but there is one pod which is missing which
is the cube scheduler and there is a reason why the port that we created earlier is now pending state
so the correct answer is no scheduler.
Present
now for the next question we have to manually should use the port on Node 0 1 so we'll delete and recreate
the port as necessary so let's go back and the first thing we'll do is delete the existing pod and next
let's update the pod ammo file and under the spec section will add a field for node name as equal to
node 0 1.
This will ensure that the board is manually scheduled on Node 0 1 and in this case it will not make
use of the scheduler and it is not present in the system anyway
so let's recreate the pod
and now let's say the status is in CubeSat you'll get ports you can see it's an all running script now
now for the last question we are to schedule the same port on the master node so let's do the same steps
again full delete the port make sure it's completely deleted and wait for the prompt to reappear again
and now let's update the ammo file and change it from N0 one to master
now save the file and recreate it using cube to apply
wait for the port to be in a running state
now it's not running yet so let's check it again and that was the last question.
Well thank you for joining me in this video.
Well see you in the next one.