4 videos 📅 2022-11-21 09:00:00 Africa/Blantyre
1:04:49
2022-11-21 11:28:21
44:16
2022-11-21 13:36:53
44:08
2022-11-21 14:41:53
10:27
2022-11-21 15:56:25

Visit the Certified Kubernetes Administrator - Exam Preparation course recordings page

United Arab Emirates - Certified Kubernetes Administrator (CKA) - exam preparation

                WEBVTT

00:00:00.000 --> 00:00:04.340
So who is this again who reported this show I can directly log into your machine

00:00:06.260 --> 00:00:10.760
Malos, right? Okay. Let me connect your mission. Okay, Cuba Nets

00:00:12.280 --> 00:00:17.440
Annotations is this all spaces or use the tab? Okay, if you stabbed obviously it will throw your ears

00:00:17.440 --> 00:00:21.060
Well, you're up a cubanets.io slash change cause

00:00:22.120 --> 00:00:23.740
Or looks good

00:00:24.660 --> 00:00:25.180
Yep

00:00:26.100 --> 00:00:32.720
Can you modify another different version and try apply again? Okay, save the file and then

00:00:33.580 --> 00:00:35.140
Apply it. It's

00:00:35.140 --> 00:00:37.720
Nothing difference if you are going to apply at

00:00:39.140 --> 00:00:41.140
Deployment level or at

00:00:43.080 --> 00:00:45.620
Template level because anyways a system result key

00:00:45.620 --> 00:00:48.320
It's going to pick it and then it's going to use it

00:00:48.320 --> 00:00:54.500
So there is no difference you can deploy that at the deployment you deploy at the deployment metadata level

00:00:55.180 --> 00:01:00.960
Right. Yeah, you can you can have it there also. That's okay. I think my loss. It's reflected, right?

00:01:00.980 --> 00:01:04.580
There is no problem with the with the key. Okay, okay

00:01:07.220 --> 00:01:09.220
Revision number yes

00:01:10.700 --> 00:01:14.960
Revision revision number is associated with a specific application version

00:01:14.960 --> 00:01:19.660
The revision number will be continuously incrementing. Yeah, any other questions?

00:01:19.660 --> 00:01:26.500
Okay, so the concepts that we learned on day one, which is the base for all other day two and day three topics

00:01:26.500 --> 00:01:32.700
Remaining topics you will we will simply discuss the use cases. We won't again deep dive into hey this works by label

00:01:32.700 --> 00:01:33.760
This is how it's going to do it

00:01:33.760 --> 00:01:38.580
I will simply touch on it saying hey this works by labels and then we will deep there the use cases for each

00:01:38.580 --> 00:01:43.900
Of this right in tomorrow's session. So tomorrow's session the pace will this is going to be

00:01:45.260 --> 00:01:47.320
Little bit fast compared to today

00:01:47.840 --> 00:01:53.600
Because we got our basics right that out on day one, so it's going to be a little bit fast

00:01:53.600 --> 00:01:56.220
So please be prepared for that again

00:01:56.220 --> 00:02:01.280
We can adjust it if you feel it's going too fast or way too slow something like that, right?

00:02:01.560 --> 00:02:05.040
So we started with the overview on

00:02:05.040 --> 00:02:10.880
Why containers so far that we had an understanding on the challenges that we face

00:02:12.280 --> 00:02:14.420
Maintaining and monolith application

00:02:15.140 --> 00:02:21.400
Which is also in legacy one and then how we move to so one then micro services

00:02:21.400 --> 00:02:25.380
Because we have micro services how to run it as and containers

00:02:26.100 --> 00:02:28.620
Because we have containers everywhere

00:02:28.620 --> 00:02:34.080
relying on it software like our kubernetes to manage it all and

00:02:34.080 --> 00:02:39.640
What it all takes to form a kubernetes cluster by grouping the host machine

00:02:39.640 --> 00:02:44.140
So all those things we will cover it covered it under the overview section, isn't it?

00:02:44.140 --> 00:02:49.540
and then we started with our first kubernetes resource and atomic unit parts and

00:02:50.620 --> 00:02:53.420
Here we learned all the lifecycle commands

00:02:53.420 --> 00:02:56.100
as well as

00:02:56.100 --> 00:02:58.460
Writing and part specification from scratch

00:02:58.980 --> 00:03:06.820
Including the probes resources volumes, right all those things we discussed and then we created a deployment and replica set

00:03:06.820 --> 00:03:13.620
We learned what is the role of replica set how it works by labels and label sector how to assign and assign a label

00:03:13.620 --> 00:03:19.940
using the labels in the selector queries how this hierarchy is using that CS equals DS and

00:03:21.180 --> 00:03:23.160
finally on the deployment

00:03:23.700 --> 00:03:25.700
specifying the strategy and

00:03:27.040 --> 00:03:32.360
And the rollout features and for all of these topics. We also tried some hands-on

00:03:33.420 --> 00:03:41.180
Okay, so that's all for day one. Congratulations. You successfully completed day one. Good job guys

00:03:42.490 --> 00:03:51.230
So tomorrow we have another set of interesting topics and hands-on should try so please keep the same excitement and

00:03:51.230 --> 00:03:53.290
Commitment so

00:03:53.290 --> 00:03:59.390
That's it. If you have any questions, I can address it now and for those

00:04:01.450 --> 00:04:02.170
who

00:04:02.170 --> 00:04:06.590
Went out and in because of some power failures or some

00:04:07.550 --> 00:04:13.450
Important calls if you want to have a quick connect with me, please drop an email to me

00:04:13.450 --> 00:04:18.870
With some teams link or whatsoever so that I can join here and we can have a quick one-to-one connect

00:04:18.870 --> 00:04:23.050
And I can I will make sure I will address all your queries. Okay

00:04:23.710 --> 00:04:24.210
Any?

00:04:24.830 --> 00:04:29.870
Yep. Yep. Yep. Sorry. What is what is that? Sorry. Go ahead. What's the question? Mm-hmm

00:04:29.870 --> 00:04:31.170
Correct. Correct

00:04:37.170 --> 00:04:43.290
Okay, okay, okay, so two questions you asked right number one number two number one is related to

00:04:44.430 --> 00:04:50.050
The replica said the component behind it and all those stuff, right? So I already addressed for one of the question

00:04:50.050 --> 00:04:51.630
So keep it in mind

00:04:51.630 --> 00:04:57.250
The important components involved is AP server cube controller

00:04:58.910 --> 00:05:05.010
Cube scheduler, okay, so which means for all the resources we see in part we have one part controller

00:05:05.730 --> 00:05:13.670
Replica set replica set controller is that deployment deployment controller is that deployment controller is taking care of executing that strategy?

00:05:14.170 --> 00:05:18.490
Handling the rollout and all those stuff replica set controller is responsible for

00:05:19.050 --> 00:05:21.190
executing an infinite while loop

00:05:21.190 --> 00:05:25.690
To perform CS equals DS job. So all those controller

00:05:25.690 --> 00:05:34.170
Code is all rolled up into one binary and it is running as an cube controller part in the cube system namespace

00:05:34.170 --> 00:05:37.030
So this is the one that has that logic

00:05:37.610 --> 00:05:38.130
Okay

00:05:38.130 --> 00:05:44.250
So if you are doing scale up or if it is something is missing and you want to schedule more parts for a specific

00:05:44.250 --> 00:05:49.090
replica set let's say you have a replica set with 3s replicas you modify to 5 then

00:05:49.870 --> 00:05:54.630
Cube controller is going to update the specification all these components relies on the

00:05:54.630 --> 00:05:58.670
HCD database to maintain the state information of the resources and the cluster

00:05:59.190 --> 00:06:03.250
So if you modify it to 3 to 5 in the etc database

00:06:03.250 --> 00:06:11.110
For the three for the three parts you will already have a node for example part 1 node 1 part 2 node 1 part 3

00:06:11.110 --> 00:06:12.030
node 2

00:06:12.030 --> 00:06:18.910
You will already have this assignments already you created two more parts and then for this the node is yet to be assigned

00:06:18.910 --> 00:06:22.090
so that's where cube scheduler will kick in and

00:06:22.090 --> 00:06:26.510
it will look into the current cluster state the node the resource availability and

00:06:26.510 --> 00:06:32.390
Then it will consider various interacting factors for example. We are going to talk about

00:06:32.390 --> 00:06:37.690
Pod affinity anti affinity node affinity so it will consider various interacting factors

00:06:37.690 --> 00:06:44.570
And this will finally say hey assign part 4 in node 3 part 5 in node 1 so it will put that information here

00:06:44.570 --> 00:06:49.550
So once this information is here, which means a node is assigned, but this part is yet to be

00:06:50.290 --> 00:06:55.950
Scheduled on this mode right so that's where again this instruction will be passed by one of the master component

00:06:55.950 --> 00:07:01.030
let's say scheduler to the node 3 cubelet and

00:07:01.030 --> 00:07:05.310
also an instruction will be passed to node 1 cubelet and

00:07:05.310 --> 00:07:11.390
These guys are going to create work with the underlying container runtime to create the container and wrap it as a part

00:07:11.390 --> 00:07:17.710
Create a container rapid test and port and then do all the liveness and readiness from here right so the

00:07:17.710 --> 00:07:22.790
component behind the scene that that's the reconciliation logic are

00:07:22.790 --> 00:07:29.470
Managing that resources if it is a deployment deployment controller is managing it if it is a replica set replica set is managing

00:07:29.470 --> 00:07:31.850
controller is managing it and

00:07:31.850 --> 00:07:36.310
For the scheduling decision where to schedule if you delete a part a replacement is going to be created

00:07:36.850 --> 00:07:40.110
where in which node that purely depends on the

00:07:41.070 --> 00:07:42.830
cluster state in that moment

00:07:43.670 --> 00:07:45.130
that cube scheduler knows

00:07:45.670 --> 00:07:52.770
So if you are not happy with the scheduling decision that cube scheduler does you can also run your own custom scheduler

00:07:52.770 --> 00:07:55.210
along with the cube scheduler and

00:07:55.210 --> 00:08:02.330
For the applications XYZ ABC you can configure it to use the custom scheduler all are all other applications

00:08:02.330 --> 00:08:08.090
Cube scheduler can make the scheduling decision you can have one or more scheduler components running in the cluster

00:08:08.090 --> 00:08:13.210
You can even have your own own custom scheduler logic for your custom applications

00:08:14.030 --> 00:08:20.110
Okay, but all the state informations are ATCD and the APA server is is a stateless

00:08:20.110 --> 00:08:29.110
Component it persists every changes to the ATCD right and if the replica set controller is executing a command write kubectl get parts

00:08:29.110 --> 00:08:35.470
With all the parts with the label so actually your controller will make a call to APA server

00:08:35.470 --> 00:08:37.870
To execute the cut to query the cluster

00:08:38.510 --> 00:08:41.270
That is my thing. I think it went

00:08:41.270 --> 00:08:43.750
so controller will make a call to

00:08:45.860 --> 00:08:51.920
APA server and it will get a response and then it's going to put an entry in the ATCD database

00:08:51.920 --> 00:08:55.460
So that's how the interaction between the master components happens

00:08:55.460 --> 00:09:00.760
Okay, so that is for your question number one. Is it clear on the question number one?

00:09:02.340 --> 00:09:09.820
Question number two is if if if in the node if I have two same application part running my web my web

00:09:09.820 --> 00:09:12.800
Both are going to use port number 80 80 80

00:09:13.440 --> 00:09:18.860
So is it going to be a conflict? Yes, you're right. It's a conflict, but this is not the way

00:09:18.860 --> 00:09:20.620
We are going to access the parts

00:09:20.620 --> 00:09:26.040
we have one service that is our that is the first thing that we are going to discuss tomorrow morning and

00:09:26.980 --> 00:09:31.240
we are we will expose this part and we will access it via service and

00:09:32.240 --> 00:09:36.760
you won't get into this scenario still you can have many parts of the same application and

00:09:38.500 --> 00:09:45.860
We will never get into this poor context scenario or that first you need to learn what service resources how it works

00:09:45.860 --> 00:09:48.860
Right. So answer for this. We are going to discuss tomorrow

00:09:51.080 --> 00:09:51.600
Okay

00:09:51.600 --> 00:09:54.440
Yep. Yep. Yep. Welcome

00:09:54.440 --> 00:09:59.760
Okay, did the guys are there? Okay, if you still you guys are that thanks for your time

00:09:59.760 --> 00:10:04.940
And do you have any specific feedback that you want me to correct for the day to all right?

00:10:04.940 --> 00:10:09.960
I will take this silences and no and

00:10:09.960 --> 00:10:15.700
Enjoy your rest of the evening and see you guys tomorrow morning 9 a.m. Again. Bye. Bye. Take care

00:10:16.420 --> 00:10:18.340
it will be there until the

00:10:19.400 --> 00:10:19.900
Wednesday

00:10:20.900 --> 00:10:26.620
Evening right so you can access it after the course time also it will be there until the end of the day 3

00:10:26.620 --> 00:10:27.680
Thank you. Bye. Bye