WEBVTT

00:01.890 --> 00:04.950
Hello and welcome to this lecture. In this lecture

00:04.950 --> 00:07.130
we will look at kubelet.

00:07.530 --> 00:12.840
Earlier we discussed that the kubelet is like the captain on the ship. They lead all activities on

00:12.840 --> 00:13.580
a ship.

00:13.600 --> 00:19.370
They're the ones responsible for doing all the paperwork necessary to become part of the cluster,

00:19.390 --> 00:22.420
They're the sole point of contact from the master ship.

00:22.470 --> 00:27.900
They load or unload containers on the ship as instructed by the scheduler on the master.

00:27.900 --> 00:33.690
They also send back reports at regular intervals on the status of the ship and the containers on them.

00:33.840 --> 00:39.780
The kubelet in the kubernetes worker node, registers the node with the kubernetes cluster.

00:39.810 --> 00:45.510
When it receives instructions to load a container or a POD on the node, it requests the container run time

00:45.510 --> 00:50.640
engine, which may be Docker, to pull the required image and run an instance.

00:50.640 --> 00:56.300
The kubelet then continues to monitor the state of the POD and the containers in it and reports to the kube-api

00:56.300 --> 00:59.120
server on a timely basis.

00:59.210 --> 01:06.560
So how do you install the kubelet? If you use kubeadm tool to deploy your cluster, it  does not

01:06.710 --> 01:08.860
automatically deploy the kubelet.

01:09.080 --> 01:12.170
Now that's the difference from the other components.

01:12.380 --> 01:19.530
You must always manually install the kubelet on your worker nodes. Download the installer, extract

01:19.530 --> 01:22.200
it and run it as a service.

01:22.270 --> 01:27.990
You can view the running kubelet process and the effective options by listing the process on the worker

01:28.000 --> 01:30.310
node and searching for kubelet.

01:30.580 --> 01:35.620
We will look more into kubelets, how to configure kubelets, generate certificates, and finally how

01:35.620 --> 01:39.620
to TLS bootstrap kubelets later in this course.

01:39.670 --> 01:40.410
That's it for now.

01:40.890 --> 01:42.460
Will see you in the next lecture.

