Kubernetes Architecture in 7 minutes | K8s explained — Transcript
Full transcript
- 0:00in this video I will explain you
- 0:01kubernetes architecture in simplest
- 0:03manner possible we go deep down in the
- 0:06kubernetes cluster understanding
- 0:07different components and how they
- 0:09actually work so make sure you watch
- 0:10this video till the end let's start so
- 0:13we start with creating a cluster you can
- 0:15create a kubernetes cluster locally
- 0:17either using tools like mini Cube or
- 0:19cube ADM optionally you can also use
- 0:21probably cloud provider services like
- 0:23eks and AWS AKs in aure gka in Google
- 0:26Cloud to create kubernetes clusters
- 0:29inside this kubernetes this cluster we
- 0:30have two different types of machines or
- 0:32as we call them nodes so we have a
- 0:35master node which is responsible to
- 0:37handled everything inside the cluster
- 0:40along with Master node we also have
- 0:42another kind of node known as worker
- 0:44node this worker node is actually
- 0:47responsible to run your application
- 0:49containers inside kubernetes cluster so
- 0:52you have Master node that is when to
- 0:54handle everything inside the cluster and
- 0:56you have worker notes which are
- 0:57responsible to run your application
- 0:59containers inside the kubernetes cluster
- 1:02let's start with worker nodes and look
- 1:03at different components inside it as we
- 1:06all know worker nodes are responsible to
- 1:08run application containers and they run
- 1:10this application containers inside
- 1:11something known as pods pods are
- 1:14smallest Deployable units in the
- 1:15kubernetes tester and the Pod can hold
- 1:18one or more containers a single worker
- 1:20node can have more than one pods or it
- 1:22can have a single pod as well so these
- 1:25containers are actually running inside
- 1:28object kuet is object known as pods to
- 1:31deploy and manage pods inside this
- 1:33worker node we have an agent named as
- 1:35cuet this cuet agent is running on all
- 1:38worker nodes and it gets information
- 1:40from the master node to decide where
- 1:42should be the P running and how to
- 1:44manage it along with this for a worker
- 1:46machine to create and manage containers
- 1:48we need to have a container runtime
- 1:50interface or a software like Docker so
- 1:52worker machine will also contain CRI or
- 1:55container Endtime interface such as
- 1:57Docker here other options are container
- 1:59d locket Etc which is supported by cetes
- 2:02as well also to enable communication
- 2:05between these two ports or to make these
- 2:07pods or application accessible to the Ed
- 2:09users we have another networking
- 2:11component in the worker node which is
- 2:13known as cube proxy qoxy is used for
- 2:17Port toport communication also for load
- 2:19balancing service proxy and to make your
- 2:21application accessible to the end users
- 2:24so these are different components inside
- 2:26the worker nodes you have q proxy for
- 2:28port-to-port communication and expose
- 2:30your application you have container
- 2:31runtime interface to create and delete
- 2:33containers you have cuet an agent that
- 2:36is running on every worker node which
- 2:38get information from the master node and
- 2:40handle the workloads inside the worker
- 2:42nodes along with this you can have more
- 2:44add-ons or plugins that you install on
- 2:46your worker notes but these are all the
- 2:48important components inside your worker
- 2:50notes now that we have understood the
- 2:52different components inside worker nodes
- 2:54and how they actually work let's look at
- 2:56the different components inside Master
- 2:58node so so Master node or control plane
- 3:01has four very important components that
- 3:03are responsible to manage everything
- 3:05inside the cluster the first component
- 3:07is the cube API server this Cube API
- 3:10server is like an entry point for
- 3:12everything you do inside the cluster so
- 3:14let's say you are a devops engineer and
- 3:15you want to create a new pod or maybe
- 3:17delete a pod or just get the status if
- 3:19you want to do anything inside cluster
- 3:20you will have to talk to the cube API
- 3:23server so you can talk to cube API
- 3:25server either by running commands using
- 3:27Cube CTL command line tool either using
- 3:29Cube uh Cube it is dashboard or maybe
- 3:31using sdks or anything so you will talk
- 3:34to the cube API server Cube API server
- 3:36will validate if the request is okay if
- 3:38the user is authenticated or not and if
- 3:41it works then it will get the
- 3:42information from the other components
- 3:44and provide it to the end user or to the
- 3:46dev
- 3:48optionor so API server is like an entry
- 3:51point which validates the request and
- 3:52also authenticates the user next Master
- 3:55node component is the scheduler
- 3:57scheduler is used to assign pods to the
- 4:00worker nodes let's say you made a
- 4:01request to the API server to create a
- 4:03new pod scheder is going to check which
- 4:06nodes have enough capacity to launch
- 4:08this new
- 4:09pod once the nodes on which the pods are
- 4:11going to be run is decided by the
- 4:13scheduler scheduler provides this
- 4:14information to the cube API server Cube
- 4:16API server gives this information to the
- 4:19cubet running on that particular node
- 4:22and thus it creates the new pod on the
- 4:25worker note so scheder is used to assign
- 4:27pods on the notes based on resource
- 4:29capacity all the Manifest files that you
- 4:31have defined for your
- 4:33cluster now what if there's an issue
- 4:35inside the cluster or one of these ports
- 4:37shows an error or gets deleted that's
- 4:40when the next kubernetes Master node
- 4:41components comes into play so next
- 4:43kubernetes component is the controller
- 4:45manager controller manager is used to
- 4:47monitor the entire cluster and it makes
- 4:49sures that everything is as you have
- 4:51defined inside your manifested files so
- 4:54let's say you have said you want to have
- 4:55four pods running it will make sure that
- 4:57the four pods are running all the times
- 4:59if that's not the case it'll tell API
- 5:01server which will recreate the P
- 5:03following the same procedure with the
- 5:04scheduler first decides what nodes to
- 5:06create the pods on then gives the
- 5:08information to API server and then cuade
- 5:10creates it so controller manager is used
- 5:13to Monitor and make sure everything is
- 5:14working as you have defined and it does
- 5:16that by comparing the desired state with
- 5:19the actual state of the cluster but
- 5:21where is this cluster information or
- 5:23cluster data stored it is stored inside
- 5:25the new it is stored inside the next
- 5:27Master node component which is hcd hcd
- 5:30is a key value store that stores all the
- 5:32information about the cluster what
- 5:34application is running what pods are
- 5:36running on which nodes and everything
- 5:37else one thing to note is hcd can only
- 5:40talk to the cube API server so if you
- 5:42want to get any information from the hcd
- 5:44it has to be through the cube API server
- 5:47so you can see Cube API server is like a
- 5:49center of communication for every
- 5:51component inside the master node as well
- 5:53as to the CET which is running on the
- 5:55worker node so this is the kubernetes
- 5:58architecture we have Master node and the
- 6:01worker node Master node is responsible
- 6:03for handling workloads inside the
- 6:04cluster worker nodes are actually
- 6:06running the application workloads here
- 6:08inside worker node we have the parts
- 6:10which is the smallest unit responsible
- 6:12to run the application container we have
- 6:14cuate and agent which is going to run on
- 6:16all the worker nodes and also
- 6:18responsible to create pods next we have
- 6:20con the runtime interface and we also
- 6:22have q proxy for networking and for
- 6:24exposing our application inside Master
- 6:26node we have QBE API server which is the
- 6:28entry point and the authentic ation
- 6:29system for every request that you make
- 6:31it also exposes a kubernetes API for the
- 6:34end user to start using it next
- 6:36component is a scheder which is used to
- 6:37assign ports to the notes then we have
- 6:40controller manager that makes sure
- 6:42everything is working as you want or as
- 6:44you have desired and all the cluster
- 6:46information is stored inside hcd so so
- 6:48this is a simplified explanation on ku's
- 6:50architecture I hope this video was
- 6:52informative if you have any questions
- 6:54any doubt do let me know in the comment
- 6:55section and for more information I would
- 6:57recommend checking out my another video
- 6:59which explains what is kubernetes and
- 7:01how it actually works do check it out
- 7:03thank you and have a good day
About this transcript
This page contains the full transcript of Kubernetes Architecture in 7 minutes | K8s explained by Cloud Champ, generated from the public captions YouTube serves with the video. The transcript has 1,371 words across 202 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.