Kubernetes Architecture Explained

  Рет қаралды 32,119

School of Devops

School of Devops

Күн бұрын

This video explains you all the components of the Kubernetes Architecture. You are going to learn the following components,
- API Server
- Scheduler
- etcd
- Controller Manger
- Kubelet
- Runtime e.g. Docker, CRI-O, Rocker, Runc
- Kube Proxy
- CoreDNS
- CNI
If you like this video and want to learn more about Kubernetes, do subscribe and click on the bell icon above to get notifications on all new videos from School of Devops.
If you want to Master Container Based Software Delivery and All Aspects of it using a step by step, structured program, do check out the following courses
* Docker Mastery : hub.schoolofdevops.com/p/dock...
* Docker on Windows Mastery : hub.schoolofdevops.com/p/ci-a...
* Kuberentes Mastery: hub.schoolofdevops.com/p/kube...
* Openshift Mastery: hub.schoolofdevops.com/p/open...
* Istio Mastery : hub.schoolofdevops.com/p/isti...
If are not already part of the tribe of Elite Devops Ninjas, a private Facebook group, do join at / devop. .
To get started with Devops Careers join the webinar at roadmap.schoolofdevops.com
Video Transcript:
in this video i'm going to explain toyouthe kubernetes architecture nowkubernetes kubernetes has thesemaster and the nodesthe clients or the workers are called asnodes in kubernetes terminologyand the big box that you see here is themaster now kubernetes mastercontains many components starting withtheapi server api server is the interfaceto the outside world soanyone who wants to talk to the apikubernetesenvironment has to go through the apiserver it could be the usersit could be the kubernetes dashboards orit could beany third-party application let's sayopenshift sits on top of kubernetes soit has to go through the api serverin order to leverage the kubernetesfunctionalitieseven the nodes talk to the api serverthere's a component from the node whichwe're going to look at laterwhich talks to the api server api servercoordinates with all the othercomponentsand then gets things done the secondcomponent which is also very importantis the scheduler now let's look atwhat scheduler actually does so when youwant to launchyour container based workloads you mayhave you know maybe hundreds of nodes inyour clusterso how do you decide which containerruns on which node that you havenow for that you may have multipleconstraints so you may want to run aparticular typeof work workloads on particular type ofnodes may be cpu intensive operationson cpu optimized machines and so onor you may have constraints you may haveyou may define affinities and so on soscheduler isthe one which provides the intelligenceand makes those decisions for youintelligently and decideswhere to run which container the job issimplethe next component is the controllermanagernow controllers are the ones who areresponsible forproviding the application deployment theway the containers are launchedthe way they scale and uh the way theyare deployed the word new versions ofit and so on right and then there aremanydifferent controllers which areavailableinside kubernetes so when you want torunthose multiple replicas and run yourapplication with high availabilityit is the controller like deploymentwhich provides you with thatthe replication uh scalingand the strategy to go from one versionto anotheris all defined and controlled by thecontrollersand then there are different controllersthat kubernetes hasfor different types of workloads let'shave a look at thoseso when you want to run those statelessapplicationstypically your application servers andso onwith high availability you would use acontroller by name deploymentwhen you want to run agents let's sayyou want to run monitoring agents youwant to run somethingon every node in your cluster you woulduse something called as a demon setdemon set guarantees thatyou run one node one instance of thatapplicationon every node when you want to runstateful applications like databases andso onyou know where you need persistentstorage and certain way of deployingthose and so onuh you would use stateful sets to run adhoc jobsyou would use the controller called jobswhich is runto completion and when you want to runcron jobs there is a controller for ittoonow kubernetes actually even thoughthere are different controllers all ofthose are compiled intoone single binary and thatis the controller manager component thatyou seerunning on your kubernetes master so allof these arecombined into the controller managerand the one you saw in the architectureearlieris this component that's the one that'sthe controller managerso we talked about api server thescheduler controller manager and nowwe're going to look atone of the most important aspects andthe component of kubernetes the brain ofkubernetes that is the hcdwhy i call it's not really the brainbecause it's more like a storage....

Пікірлер: 22
@naveenramneni8533
@naveenramneni8533 4 ай бұрын
Thanks for your efforts K8s architecture now have cleared picture in mind ..
@AasimSiddiqui
@AasimSiddiqui 2 жыл бұрын
One of the most concise, and to the point explanation on this topic. Much appreciated for your efforts.
@rafaotetra
@rafaotetra 2 жыл бұрын
Thank you for this awesome video, I really appreciate your job, you help me a lot. Cheers
@rajeshsaxena18
@rajeshsaxena18 4 жыл бұрын
Super comprehensive yet simplified explanation...
@SchoolofDevops
@SchoolofDevops 4 жыл бұрын
Glad it was helpful!
@ghostx5206
@ghostx5206 Жыл бұрын
Found it very helpful for my exam today. Great work 😌
@vetri_vel
@vetri_vel 2 жыл бұрын
Thank you. Great explanation 😃👍
@darylallen2485
@darylallen2485 2 жыл бұрын
Thank you for making this video sir!
@juliuscaeser9834
@juliuscaeser9834 Жыл бұрын
Thanks for sharing such precise summary of k8s architecture *Update, docker has been deprecated, Container d is the container runtime for k8s now.
@SchoolofDevops
@SchoolofDevops Жыл бұрын
Yup. Thanks Julius for pointing out. I have published another video talking about kubernetes minus docker. will update the architecture with the new video.
@linujose2536
@linujose2536 2 жыл бұрын
nice explaination
@OmprakashYadavIIT
@OmprakashYadavIIT 2 жыл бұрын
Awesome
@suhail012
@suhail012 Жыл бұрын
@School of Devops Could you please share the tool or device your writing/editing as it appears to be writing over paper or whiteboard
@gkv2306
@gkv2306 3 жыл бұрын
hi good morning Brother feel free could you make a video for the following questions if time permits The customer is approaching u to deploy a highly secured infrastructure. What was the best practice to suggest So many aspects are they how you will implement in the cloud (AWS) from the scratch. So in that scenario what are the security best practices that u follow? How will we configure AWS infrastructure? How will u take from scratch to Kubernetes? How will you plan to implement the infrastructure? Best practices we follow for infrastructure? AWS Alb + ingress controller have u tried? How u can implement Autoscaling at pod level? On what component HPA relies on in order to bring up the Autos calling we have to bring up Some file or what the dependent controller for HPA What are k8s managed services u have used? Have u implemented any self-managed clusters? What are the security best practices that u follow in k8s? Where do u store secrets? Have u created any helm chats from scratch? What are the policies u used for k8s? What is the backend used for storing secrets? What are the monitoring and logging solutions u used for this? Have u used any lambda functions? Have u used the API gateway?API gateway what are the features or just like a router? Have u ever hosted a static website on AWS using S3 + cloud front or cloud formation? IAAC(Terraform) What are the best practices in terraform to bring up ur infra or developing the terraform Template? How u will secure Main.tf and state file mgmt? CI/CD tools u r familiar with? How do you reduce the docker image? Have u ever used docker-compose and docker swarm? Difference between k8s and docker swarm
@cksir9677
@cksir9677 4 жыл бұрын
Which software you are using for editing..tell..for this type of content
@OmprakashYadavIIT
@OmprakashYadavIIT 2 жыл бұрын
Which tool ur using for drawing? its cool
@prashantjha439
@prashantjha439 4 жыл бұрын
If i am using envoy+istio alongside my K8 cluster , then is it still kubelet doing all the probes/health checks or is it envoy now replacing the job of kubelet....
@SchoolofDevops
@SchoolofDevops 4 жыл бұрын
No. Envoy would not and can not replace kubelet. Kubelet is the client that you use to talk to kubernetes cluster. Envoy on the other hand runs as a sidecar container inside the pods.
@prashantjha439
@prashantjha439 4 жыл бұрын
@@SchoolofDevops , so Envoy do not perform any liveliness probes on the running containers ?
@tamilselvan8343
@tamilselvan8343 4 жыл бұрын
Hi Sir,my question is like whats the difference between docker and RUNc. Could you please elaborate on this to clarify.
@SchoolofDevops
@SchoolofDevops 4 жыл бұрын
I would recommend you read this article medium.com/tiffanyfay/docker-1-11-et-plus-engine-is-now-built-on-runc-and-containerd-a6d06d7e80ef
@tamilselvan8343
@tamilselvan8343 4 жыл бұрын
@@SchoolofDevops Thanks for ur valuable reply.
How to Design a High Available Kubernetes Cluster Control Plane
7:04
School of Devops
Рет қаралды 6 М.
Kubernetes Explained
10:59
IBM Technology
Рет қаралды 610 М.
УГАДАЙ ГДЕ ПРАВИЛЬНЫЙ ЦВЕТ?😱
00:14
МЯТНАЯ ФАНТА
Рет қаралды 3,6 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 31 МЛН
This is why you need Kubernetes
7:46
School of Devops
Рет қаралды 19 М.
Microservices Explained in 5 Minutes
5:17
5 Minutes or Less
Рет қаралды 714 М.
What is a Pod in kubernetes ? Why do you need it ?
11:28
School of Devops
Рет қаралды 36 М.
Kubernetes NodePort vs LoadBalancer vs Ingress
6:27
Anton Putra
Рет қаралды 63 М.
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Рет қаралды 829 М.
Kubernetes Explained in 6 Minutes | k8s Architecture
6:28
ByteByteGo
Рет қаралды 883 М.
Kubernetes in 5 mins
5:37
VMware Cloud Native Apps
Рет қаралды 2,2 МЛН
Kubernetes : l'essentiel en 7 minutes
7:21
Cookie connecté
Рет қаралды 243 М.
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 27 МЛН
Сколько реально стоит ПК Величайшего?
0:37
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 4,4 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 2 МЛН
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 2,2 МЛН