Kubernetes Architecture Simplified | K8s Explained in 10 Minutes | KodeKloud

preview_player
Показать описание

The Kubernetes Architecture made easy using a ships analogy with illustrations and animations.

We first look at the architecture at a high level, and then we drill down into each of these components. We see what their roles and responsibilities are and how they are configured. Finally, you go through a practice test where you look at an existing cluster and are asked to identify various details with respect to these components in the cluster.

We are going to use an analogy of Ships to understand the architecture of Kubernetes. In this lecture we will look at it at a high level and we will look at each component in much more detail in the later videos.

We have two kinds of ships in this example. Cargo ships that does the actual work of carrying containers across the sea and control ships that are responsible for monitoring and managing the cargo ships.

The Kubernetes cluster consists of a set of nodes – which may be physical or virtual servers – on premise or on cloud - that host applications in the form of containers. These relate to the cargo ships in this analogy. The worker nodes in the cluster are ships that can load containers.

The control ships relate to the master node in the Kubernetes cluster. The master node is responsible for managing the kubernetes cluster, storing information regarding different nodes, planning which container goes where, monitoring the nodes and containers on them etc.

The master node does all of these using a set of components together known as the control plane components. We will look at each of those components now.

A scheduler identifies the right node to place a container on, based on the containers resources requirements, the worker nodes capacity or any other policies or constraints such as taints and tolerations or node affinity rules that are on them. We will look at these in much more detail with examples and practice tests later in this course. We have a whole section on scheduling alone.

In Kubernetes, we have controllers available that take care of different areas. The node-controller takes care of nodes. They are responsible for onboarding new nodes to the cluster, handling situations where nodes become unavailable or gets destroyed etc. And the replication controller ensures that the desired number of containers are running at all times in a replication group.

The kube-apiserver is the primary management component of kubernetes. The kube-api server is responsible for orchestrating all operations within the cluster. It exposes the Kubernetes API which is used by externals users to perform management operations on the cluster, as well as the various controllers to monitor the state of the cluster and make the necessary changes as required, and by the worker nodes to communicate with the server.

The captain of the ship is the kubelet in Kubernetes. A kubelet is an agent that runs on each node in a cluster. It listens for instructions from the kube-api server and deploys or destroys containers on the nodes as required. The kube-api server periodically fetches status reports from the kubelet to monitor the state of nodes and the containers on them.

The kube-proxy service ensures that the necessary rules are in place on the worker nodes to allow the containers running on them to reach each other.

#Kubernetes #KubernetesArchitecture #KodeKloud
Рекомендации по теме
Комментарии
Автор

The best architecture video on kubernetes ever....great work mumshad

sathyachandru
Автор

Love those animations KodeKloud complete with the tanker, smaller container ships and even seagulls. I'm suprised nobody else has tried to explain k8's and docker this way?

JoeWong
Автор

Thank you Mumshad. This is the best intro to Kubernetes and Docker hands down! I have scoured through youtube and the internet in general and have seen many intros and tutorials. This explains the why's of Kubernetes architecture better than anything else I have seen.

sivaramakrishnan
Автор

Best explanation anyone can understand. This is how content should be.

AIBlockGenius-lwps
Автор

I was so interested in learning kubernetes, made my first step two years ago! The course I found then made it impossible for me to understand anything and I had thought I was just not cut out to be in DevOps. Gave up in the first chapter. Trying again now and so glad I found this resource

juustgowithit
Автор

Quite possibly the best explanation I've come across. I'm new to kubenetes and was struggling to understand the different it's components until I came across this video. Thank you so much for this. Much appreciated.

shakedj
Автор

me of "If you can't explain it simply, you don't understand it well enough." Thanks

koushk
Автор

I was so confused in learning containerization, especially clustering with k8s. I searched many times and finally saw your videos, the best inspiration and the best explanation I had seen ever.
Thank you very much, keep on stronger bro!

nimaghoroubi
Автор

This is so far the best explanation of kubernetes control-plane architecture. Following only your courses helped me get CKA and CKAD certs, Weldone team.

zahurulhaque
Автор

Man that was such a great tutorial! you should name it "How to become a k8s expert in 10 minutes" :)

adamzachary
Автор

Tried to understand Kubernetes Architecture through various videos but none of them explained the way you explained, One of the best Video, thanks a ton!

gauravharia
Автор

best simplified explanation. thanks dude

tridev
Автор

Superb Explanations, specially the graphics and animations, thank you

mrashad_com
Автор

Great Explanation Mumshad. I was searching for various blogs to understand the basics but no luck. Your video was clear and easy to understand with realtime examples. Good Job!!!

AllAroundmanac
Автор

So easily explained and with great clarity. you are a gem and a great inspiration. The animations are something that makes you very different and special. Thanks a lot for taking the pain to put those efforts in. Highly appreciated.

rohitmanchanda
Автор

I don't know if ships work that way, but this is a great analogy to make someone understand the roles and responsibilities of each daemon. Thanks a lot for the content. You've earned a subscriber.

andyk
Автор

Nice job explaining the whole architecture with ship analogy!

sonicluo
Автор

Watched many videos n read many blogs, nothing helped me in understanding the K8s architecture....my search ends here. hope I can find all info for my set up in upcoming videos. Kudos to u...you are an awesome have chosen the best example to make us understand. 👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👍👍👍👍

chandu
Автор

Excellent explanation. Thank you so much

venkateshboda
Автор

Illustration are bang on to conceptualise and relate. So simple and so pin point.

rachitmishra