Your First Step to Understanding Kubernetes
Read full transcript 16 segments
-
hey there good to see you this video is hey there good to see you this video is part of the course that is published on part of the course that is published on part of the course that is published on my school Community you can find the my school Community you can find the my school Community you can find the link down below let's get to it so to link down below let's get to it so to link down below let's get to it so to give a short introduction about give a short introduction about give a short introduction about kubernetes and and what it is and why we kubernetes and and what it is and why we kubernetes and and what it is and why we need it is actually quite a challenging need it is actually quite a challenging need it is actually quite a challenging task also because people make it out to task also because people make it out to task also because people make it out to be something really complex and and be something really complex and and be something really complex and and really hard to learn and in some ways it really hard to learn and in some ways it really hard to learn and in some ways it is but you have the trick is to scope it is but you have the trick is to scope it is but you have the trick is to scope it down to what you need to perform your down to what you need to perform your down to what you need to perform your job like it is an endless rabbit hole job like it is an endless rabbit hole job like it is an endless rabbit hole and I learn stuff every day but the and I learn stuff every day but the and I learn stuff every day but the reality is that if you have a certain reality is that if you have a certain reality is that if you have a certain understanding of what what kubernetes is understanding of what what kubernetes is understanding of what what kubernetes is and what it does you can already go very and what it does you can already go very and what it does you can already go very far in in in performing your daily work far in in in performing your daily work far in in in performing your daily work as a devops kubernetes platform engineer as a devops kubernetes platform engineer as a devops kubernetes platform engineer so in this course we are starting with so in this course we are starting with so in this course we are starting with the fundamentals so I'm not going to the fundamentals so I'm not going to the fundamentals so I'm not going to explain you all the ins and outs of explain you all the ins and outs of explain you all the ins and outs of kinetes I'm just going to start with kinetes I'm just going to start with kinetes I'm just going to start with telling you a telling you a telling you a story and maybe this will help you to story and maybe this will help you to story and maybe this will help you to see why the the need for kubernetes was see why the the need for kubernetes was see why the the need for kubernetes was uh was born uh was born uh was born so I used to work for a place let me so I used to work for a place let me so I used to work for a place let me move it a little bit over here um where move it a little bit over here um where move it a little bit over here um where this is a few years ago which was this is a few years ago which was this is a few years ago which was actually actually actually quite it was a nice place to work and
-
quite it was a nice place to work and quite it was a nice place to work and before they used to run all these before they used to run all these before they used to run all these virtual virtual virtual machines all these virtual machines all these virtual machines all these virtual machines machines machines yeah we had these VMS and very often each virtual VMS and very often each virtual machine contained maybe one machine contained maybe one machine contained maybe one application one or two there were a few application one or two there were a few application one or two there were a few bind is running on there but that was bind is running on there but that was bind is running on there but that was it and these virtual machines well they it and these virtual machines well they it and these virtual machines well they they were doing their thing and then in they were doing their thing and then in they were doing their thing and then in 2013 with the rise of Docker 2013 with the rise of Docker 2013 with the rise of Docker containerization came around like containerization came around like containerization came around like containerization has its roots in the containerization has its roots in the containerization has its roots in the 1970s when the I believe it's the chero 1970s when the I believe it's the chero 1970s when the I believe it's the chero when that was introduced into the Unix when that was introduced into the Unix when that was introduced into the Unix system that's already the first system that's already the first system that's already the first beginnings of separating things from the beginnings of separating things from the beginnings of separating things from the operating system operating system operating system but it is much older but but it is much older but but it is much older but containerization really became containerization really became containerization really became popularized in 2013 when Docker came popularized in 2013 when Docker came popularized in 2013 when Docker came along and then people started along and then people started along and then people started containerizing applications and and that containerizing applications and and that containerizing applications and and that is great right because when you is great right because when you is great right because when you containerize an application well then containerize an application well then containerize an application well then you don't need an entire operating you don't need an entire operating you don't need an entire operating system for a for an application you can system for a for an application you can system for a for an application you can have multiple containers have multiple containers have multiple containers on your virtual machine right
-
on your virtual machine right on your virtual machine right so this is what we were doing then so so this is what we were doing then so so this is what we were doing then so okay let me just zoom in here a bit and okay let me just zoom in here a bit and okay let me just zoom in here a bit and then we're going to enlarge this one so then we're going to enlarge this one so then we're going to enlarge this one so we had these big we had these big we had these big VMS and our contain our our application VMS and our contain our our application VMS and our contain our our application was containerized containerized so let's call this um this um Docker container we had these big VMS and in container we had these big VMS and in these VMS we had Docker containers and these VMS we had Docker containers and these VMS we had Docker containers and we had multiple of them and that was we had multiple of them and that was we had multiple of them and that was great because now we didn't need great because now we didn't need great because now we didn't need to um manage all we needed to manage to um manage all we needed to manage to um manage all we needed to manage less VMS there were less VMS to upgrade less VMS there were less VMS to upgrade less VMS there were less VMS to upgrade because each VM has its own operating because each VM has its own operating because each VM has its own operating system right each VM has auntu running system right each VM has auntu running system right each VM has auntu running on it and then we only needed on it and then we only needed on it and then we only needed to to to um here maybe just WR say that we were um here maybe just WR say that we were um here maybe just WR say that we were running Ubuntu on running Ubuntu on running Ubuntu on here here here [Music] [Music] [Music] Ubuntu so the way it works is that the Ubuntu so the way it works is that the Ubuntu so the way it works is that the the VM is running an operating system the VM is running an operating system the VM is running an operating system and all of the and all of the and all of the containers they use the Opera in system containers they use the Opera in system containers they use the Opera in system they use the CPU the the memory of the they use the CPU the the memory of the they use the CPU the the memory of the virtual machine right they are all
-
virtual machine right they are all virtual machine right they are all sharing this pool of compute on the sharing this pool of compute on the sharing this pool of compute on the machine and this way the containers can machine and this way the containers can machine and this way the containers can be very lightweight the containers are be very lightweight the containers are be very lightweight the containers are compartmentalized and the containers are compartmentalized and the containers are compartmentalized and the containers are uh uh uh scalable but okay so we have an application but okay so we have an application running in a container but what if we running in a container but what if we running in a container but what if we want to have multiple of those right or want to have multiple of those right or want to have multiple of those right or what if we want to have multiple what if we want to have multiple what if we want to have multiple replicas of our application because say replicas of our application because say replicas of our application because say we are serving a front end a web server we are serving a front end a web server we are serving a front end a web server and that's talking to a database well at and that's talking to a database well at and that's talking to a database well at some point a container can handle only some point a container can handle only some point a container can handle only so many requests so we need more so what so many requests so we need more so what so many requests so we need more so what did we do we had multiple of these VMS and we had this really and we had this really elaborate setup of multiple VMS running elaborate setup of multiple VMS running elaborate setup of multiple VMS running Docker containers and this was all Docker containers and this was all Docker containers and this was all provisioned with provisioned with provisioned with ansible so it was a push based um setup ansible so it was a push based um setup ansible so it was a push based um setup so every day we were pushing yaml so every day we were pushing yaml so every day we were pushing yaml playbooks and in the Playbook it said playbooks and in the Playbook it said playbooks and in the Playbook it said okay install Docker and then install okay install Docker and then install okay install Docker and then install this and that and then you must run this this and that and then you must run this this and that and then you must run this container image with so many resources container image with so many resources container image with so many resources so application one would run here here
-
so application one would run here here so application one would run here here here and here problem is that this here and here problem is that this here and here problem is that this container is not aware that this container is not aware that this container is not aware that this container is running there for container is running there for container is running there for example so how are we going to Route the example so how are we going to Route the example so how are we going to Route the traffic to them well we had this big low traffic to them well we had this big low traffic to them well we had this big low balancer or technically we had several balancer or technically we had several balancer or technically we had several low low low balancers and this was a balancers and this was a balancers and this was a uh ha uh ha uh ha proxy oops proxy oops proxy oops work here proxy load work here proxy load work here proxy load balancer we had this big ha proxy low balancer we had this big ha proxy low balancer we had this big ha proxy low balancer and then the low balancer would balancer and then the low balancer would balancer and then the low balancer would get the request from the outside from uh some some outside from uh some some person needing to visit our application person needing to visit our application person needing to visit our application he would uh make a request to the low he would uh make a request to the low he would uh make a request to the low balancer and then the low balancer would balancer and then the low balancer would balancer and then the low balancer would say usually in a round robin say usually in a round robin say usually in a round robin fashion in this setup it wasn't that fashion in this setup it wasn't that fashion in this setup it wasn't that intelligent it is possible but they intelligent it is possible but they intelligent it is possible but they would say okay there is a container here would say okay there is a container here would say okay there is a container here and then and then and then um uh the virtual machine would say like um uh the virtual machine would say like um uh the virtual machine would say like you would get a request from I I need to you would get a request from I I need to you would get a request from I I need to reach this application on this virtual reach this application on this virtual reach this application on this virtual machine and then the virtual machine machine and then the virtual machine machine and then the virtual machine would say okay that's this container would say okay that's this container would say okay that's this container okay so that worked and then the next okay so that worked and then the next okay so that worked and then the next client comes and then in round robin
-
client comes and then in round robin client comes and then in round robin fashion the H ha proxy would route it to fashion the H ha proxy would route it to fashion the H ha proxy would route it to this VM and then it would maybe rout it this VM and then it would maybe rout it this VM and then it would maybe rout it to this container to this container to this container here so in that sense we were able here so in that sense we were able here so in that sense we were able to Route the traffic from the user to to Route the traffic from the user to to Route the traffic from the user to different containers and in a way this different containers and in a way this different containers and in a way this was scalable but we were still saying was scalable but we were still saying was scalable but we were still saying okay we must have XVM and they must run okay we must have XVM and they must run okay we must have XVM and they must run X container and when when we were X container and when when we were X container and when when we were upgrading we had to do all of this by upgrading we had to do all of this by upgrading we had to do all of this by ourselves so we had to turn off this VM ourselves so we had to turn off this VM ourselves so we had to turn off this VM and then we knew that we had three and then we knew that we had three and then we knew that we had three replicas running on the other VMS and it replicas running on the other VMS and it replicas running on the other VMS and it was just a lot of manual work it was a was just a lot of manual work it was a was just a lot of manual work it was a lot of um a very complex system was lot of um a very complex system was lot of um a very complex system was needed and this do container was not needed and this do container was not needed and this do container was not aware that it was running here and this aware that it was running here and this aware that it was running here and this is where kubernetes comes in so is where kubernetes comes in so is where kubernetes comes in so kubernetes is a system to solve this kubernetes is a system to solve this kubernetes is a system to solve this problem of having so many VMS and so problem of having so many VMS and so problem of having so many VMS and so many containers running everywhere many containers running everywhere many containers running everywhere kubernetes is the the operating system kubernetes is the the operating system kubernetes is the the operating system of the cloud so let me write that down of the cloud so let me write that down of the cloud so let me write that down kubernetes uh kubernetes uh kubernetes uh kubernetes is the operating system of kubernetes is the operating system of kubernetes is the operating system of the cloud and basically what kubernetes the cloud and basically what kubernetes the cloud and basically what kubernetes is is a way a bunch
-
is is a way a bunch is is a way a bunch of kubernetes is a bunch of virtual machines who are able to are able to machines who are able to are able to communicate properly with each communicate properly with each communicate properly with each other and to divide their other and to divide their other and to divide their workload that is basically what workload that is basically what workload that is basically what kubernetes kubernetes kubernetes is so is so is so kubernetes instead of a h a proxy low kubernetes instead of a h a proxy low kubernetes instead of a h a proxy low balancer and and and and like separate balancer and and and and like separate balancer and and and and like separate from Network separate like if we're not Network separate like if we're not thinking about Network now what thinking about Network now what thinking about Network now what kubernetes does is say is let me go is let me go back back back um let's copy this um let's copy this um let's copy this over so kubernetes underwater still is a over so kubernetes underwater still is a over so kubernetes underwater still is a bunch of virtual machines like this it is still running this it is still running Ubuntu or other types of Linux it is Ubuntu or other types of Linux it is Ubuntu or other types of Linux it is still virtual machines it's not it's not still virtual machines it's not it's not still virtual machines it's not it's not nothing nothing nothing different but the difference is is different but the difference is is different but the difference is is that you have a control plane control plane control plane and all of these are now called
-
plane and all of these are now called plane and all of these are now called worker nodes worker nodes worker node well let me just write that worker node well let me just write that worker node well let me just write that worker node so white is node so white is node so white is now kubernetes and without going into too much and without going into too much detail what I can do is I can go here detail what I can do is I can go here detail what I can do is I can go here and I say hey and I say hey and I say hey kubernetes I want three replicas of this kubernetes I want three replicas of this kubernetes I want three replicas of this image um let's image um let's image um let's say uh linking this is a a bookmark say uh linking this is a a bookmark say uh linking this is a a bookmark manager manager manager linking linking linking so this is what what you do in a so this is what what you do in a so this is what what you do in a deployment and then what kubernetes is deployment and then what kubernetes is deployment and then what kubernetes is going to do is going to say you you are going to do is going to say you you are going to do is going to say you you are defi you are defining this in a yaml defi you are defining this in a yaml defi you are defining this in a yaml file usually so you would have file usually so you would have file usually so you would have a yl a yl a yl file file yl file yl file and we are going to get into all of file and we are going to get into all of file and we are going to get into all of these details as we go along but we we these details as we go along but we we these details as we go along but we we write a yaml file we say hey kubernetes write a yaml file we say hey kubernetes write a yaml file we say hey kubernetes I want three replicas of this image I want three replicas of this image I want three replicas of this image Linked Linked Linked In okay and
-
In okay and In okay and then the control plane takes that then the control plane takes that then the control plane takes that request let's turn that into arrows and the control plane takes that arrows and the control plane takes that request and it says all right I have all request and it says all right I have all request and it says all right I have all of these nodes here and where is this um of these nodes here and where is this um of these nodes here and where is this um uh most suitable so where do I have uh most suitable so where do I have uh most suitable so where do I have enough capacity for this so it will it enough capacity for this so it will it enough capacity for this so it will it will I like I don't have to rely on a ha will I like I don't have to rely on a ha will I like I don't have to rely on a ha proxy low balancer anymore no kubernetes proxy low balancer anymore no kubernetes proxy low balancer anymore no kubernetes is going to see okay this node is pretty is going to see okay this node is pretty is going to see okay this node is pretty full maybe this one is a bit better for full maybe this one is a bit better for full maybe this one is a bit better for now so it is going to SC schedule one of now so it is going to SC schedule one of now so it is going to SC schedule one of them over here and then next he says them over here and then next he says them over here and then next he says okay this one still has some room so okay this one still has some room so okay this one still has some room so number two is also going to go here but number two is also going to go here but number two is also going to go here but then now this is full and this one has then now this is full and this one has then now this is full and this one has more capacity so maybe I should have it more capacity so maybe I should have it more capacity so maybe I should have it here like I I I'm I'm explaining this here like I I I'm I'm explaining this here like I I I'm I'm explaining this very simplistically but I'm just trying very simplistically but I'm just trying very simplistically but I'm just trying to get the concept over to you right so to get the concept over to you right so to get the concept over to you right so instead of instead of instead of going here and and with anible saying going here and and with anible saying going here and and with anible saying you must run one replica or one Docker you must run one replica or one Docker you must run one replica or one Docker container here on Virtual machines who container here on Virtual machines who container here on Virtual machines who are not able to are not able to are not able to intelligently talk to each other here we intelligently talk to each other here we intelligently talk to each other here we have this beautiful system where the have this beautiful system where the have this beautiful system where the operator can say hey run this and then
-
operator can say hey run this and then operator can say hey run this and then kubernetes the control plane is going to kubernetes the control plane is going to kubernetes the control plane is going to figure it out for figure it out for figure it out for you that's the beauty of kubernetes it you that's the beauty of kubernetes it you that's the beauty of kubernetes it you tell it a certain State and you tell it a certain State and you tell it a certain State and kubernetes figures it kubernetes figures it kubernetes figures it out and this is a out and this is a out and this is a simplistic uh image right this is a simplistic uh image right this is a simplistic uh image right this is a simplistic application so we have three simplistic application so we have three simplistic application so we have three worker worker worker nodes but the real power of this is when nodes but the real power of this is when nodes but the real power of this is when you have an application that needs that you have an application that needs that you have an application that needs that needs to run in say a few hundred Docker needs to run in say a few hundred Docker needs to run in say a few hundred Docker containers well are you going in your in containers well are you going in your in containers well are you going in your in the old way are you going to write all the old way are you going to write all the old way are you going to write all the the the Amo code and provision all the the the Amo code and provision all the the the Amo code and provision all these virtual machines and then uh are these virtual machines and then uh are these virtual machines and then uh are you going to um sort of imperatively say you going to um sort of imperatively say you going to um sort of imperatively say You must do this no you want a A system You must do this no you want a A system You must do this no you want a A system that does that for you so if I say here that does that for you so if I say here that does that for you so if I say here a kubernetes I want 100 replicas of this image then kubernetes is going to say image then kubernetes is going to say well okay well I'm able to run four of well okay well I'm able to run four of well okay well I'm able to run four of these on one node I'm just making this these on one node I'm just making this these on one node I'm just making this up but I can run four of these on one up but I can run four of these on one up but I can run four of these on one node you want 100 I'm going to need to node you want 100 I'm going to need to node you want 100 I'm going to need to scale up my nodes so if you're running scale up my nodes so if you're running scale up my nodes so if you're running this in the this in the this in the cloud like say in Azure in Azure cloud like say in Azure in Azure cloud like say in Azure in Azure kubernetes service then systems are in
-
kubernetes service then systems are in kubernetes service then systems are in place to say take this request of 100 place to say take this request of 100 place to say take this request of 100 replicas calculate how many nodes it replicas calculate how many nodes it replicas calculate how many nodes it will need and then it will add the will need and then it will add the will need and then it will add the noes for noes for noes for you it's just going to add those notes you it's just going to add those notes you it's just going to add those notes oops it's going to add those noes and oops it's going to add those noes and oops it's going to add those noes and it's going to this is not working as I it's going to this is not working as I it's going to this is not working as I intended I'm add add a note here and here and here add add a note here and here and here and here and here and Here and Now have and here and here and Here and Now have and here and here and Here and Now have enough um now I have enough capacity to enough um now I have enough capacity to enough um now I have enough capacity to run your 100 replicas right run your 100 replicas right run your 100 replicas right so all I need to do is when I have so all I need to do is when I have so all I need to do is when I have configured my system properly tell configured my system properly tell configured my system properly tell kubernetes that okay this is what I want kubernetes that okay this is what I want kubernetes that okay this is what I want go and figure it go and figure it go and figure it out and then we have 100 replicas of out and then we have 100 replicas of out and then we have 100 replicas of this image running but say another thing this image running but say another thing this image running but say another thing of the beauty of this is that when you of the beauty of this is that when you of the beauty of this is that when you do it in a desired State configuration do it in a desired State configuration do it in a desired State configuration like this you're telling kubernetes give like this you're telling kubernetes give like this you're telling kubernetes give me me me this this this then when a container fails kubernetes then when a container fails kubernetes then when a container fails kubernetes will will will register so you're saying I want three register so you're saying I want three register so you're saying I want three replicas and one goes down well replicas and one goes down well replicas and one goes down well kubernetes says okay my instruction is kubernetes says okay my instruction is kubernetes says okay my instruction is to have three I'm going to remove the
-
to have three I'm going to remove the to have three I'm going to remove the old container and spin up a new one old container and spin up a new one old container and spin up a new one because my boss wants to have three because my boss wants to have three because my boss wants to have three containers running at all all time and containers running at all all time and containers running at all all time and can you see how powerful this is going can you see how powerful this is going can you see how powerful this is going to get when you have 100 replicas of to get when you have 100 replicas of to get when you have 100 replicas of something like the not all applications something like the not all applications something like the not all applications are are 100% stable right sometimes are are 100% stable right sometimes are are 100% stable right sometimes containers crash you ideally you want to containers crash you ideally you want to containers crash you ideally you want to avoid this avoid this avoid this but uh sometimes they crash well but uh sometimes they crash well but uh sometimes they crash well kubernetes is going to handle that for kubernetes is going to handle that for kubernetes is going to handle that for you you don't have to do anything for you you don't have to do anything for you you don't have to do anything for that and when you when there is a that and when you when there is a that and when you when there is a problem there are systems in place that problem there are systems in place that problem there are systems in place that will send you an alert like okay will send you an alert like okay will send you an alert like okay something is wrong you have to take a something is wrong you have to take a something is wrong you have to take a look at this right so kubernetes is an look at this right so kubernetes is an look at this right so kubernetes is an intelligent intelligent intelligent way of running container workloads at way of running container workloads at way of running container workloads at scale that is the the the most concise scale that is the the the most concise scale that is the the the most concise definition that I can give to you definition that I can give to you definition that I can give to you and um the power is in the fact that it will um the power is in the fact that it will take instructions like I've SE seen here take instructions like I've SE seen here take instructions like I've SE seen here and translate that to actual running and translate that to actual running and translate that to actual running workloads it will scale out the cluster workloads it will scale out the cluster workloads it will scale out the cluster for for for you in the you in the you in the cloud but say you can also do things cloud but say you can also do things cloud but say you can also do things like well my say I'm running a newspaper like well my say I'm running a newspaper like well my say I'm running a newspaper right I have a newspaper website
-
right I have a newspaper website right I have a newspaper website well people very often read the well people very often read the well people very often read the newspaper in the morning say at 88 till newspaper in the morning say at 88 till newspaper in the morning say at 88 till 10:00 a.m. that's where my traffic is 10:00 a.m. that's where my traffic is 10:00 a.m. that's where my traffic is highest so say I have a user highest so say I have a user highest so say I have a user base uh I have I have a little graph base uh I have I have a little graph base uh I have I have a little graph here here here and we have our time so this is uh 24 and we have our time so this is uh 24 and we have our time so this is uh 24 hours here 24 hours and then here we have hours and then here we have users users users well at at at 9 in the well at at at 9 in the well at at at 9 in the morning morning morning 9 to 9 to 9 to 9 at at 99: in the morning my usage is 9 at at 99: in the morning my usage is 9 at at 99: in the morning my usage is going to be highest then it's going to going to be highest then it's going to going to be highest then it's going to go a bit lower then during lunch it's go a bit lower then during lunch it's go a bit lower then during lunch it's going to get up a little bit because going to get up a little bit because going to get up a little bit because then people have time to read the news then people have time to read the news then people have time to read the news then in the afternoons people are then in the afternoons people are then in the afternoons people are working and then in the evening it might working and then in the evening it might working and then in the evening it might get a bit more and then whoop then we get a bit more and then whoop then we get a bit more and then whoop then we have nothing and for the rest of the have nothing and for the rest of the have nothing and for the rest of the night we have nothing and then it goes night we have nothing and then it goes night we have nothing and then it goes up to the morning again up to the morning again up to the morning again so our application might not need to be so our application might not need to be so our application might not need to be running at full capacity every day maybe running at full capacity every day maybe running at full capacity every day maybe several days in the week have uh more several days in the week have uh more several days in the week have uh more traffic than usual well kubernetes can traffic than usual well kubernetes can traffic than usual well kubernetes can take those
-
take those take those requirements or based on the load that requirements or based on the load that requirements or based on the load that is requested and intelligently scale is requested and intelligently scale is requested and intelligently scale your cluster up and down so at at your cluster up and down so at at your cluster up and down so at at midnight well I don't need all these midnight well I don't need all these midnight well I don't need all these extra notes extra notes extra notes because nobody's reading the newspaper because nobody's reading the newspaper because nobody's reading the newspaper at midnight right we only need a couple at midnight right we only need a couple at midnight right we only need a couple of them to be to handling the the night of them to be to handling the the night of them to be to handling the the night shift workers and to make sure that shift workers and to make sure that shift workers and to make sure that everything keeps running but I don't everything keeps running but I don't everything keeps running but I don't need a huge cluster for that but then we need a huge cluster for that but then we need a huge cluster for that but then we can either say well we know that 9:00 can either say well we know that 9:00 can either say well we know that 9:00 a.m. that's probably going to be pretty a.m. that's probably going to be pretty a.m. that's probably going to be pretty busy so at 8: a.m. start scaling out the busy so at 8: a.m. start scaling out the busy so at 8: a.m. start scaling out the cluster it does take a little bit of cluster it does take a little bit of cluster it does take a little bit of time to provision each note right so time to provision each note right so time to provision each note right so we're going to scale out the we're going to scale out the we're going to scale out the cluster and then we are able to handle cluster and then we are able to handle cluster and then we are able to handle the requests but then maybe a uh and then requests but then maybe a uh and then later later during the day the notes are later later during the day the notes are later later during the day the notes are deleted deleted deleted again but maybe May there is some time again but maybe May there is some time again but maybe May there is some time we a publish a very very popular article we a publish a very very popular article we a publish a very very popular article and suddenly we have millions of users and suddenly we have millions of users and suddenly we have millions of users all of a sudden coming to our website all of a sudden coming to our website all of a sudden coming to our website and we don't expect it and we don't expect it and we don't expect it well we have a system in place for well we have a system in place for well we have a system in place for example we can have a system in place example we can have a system in place example we can have a system in place that the application should Scale based that the application should Scale based that the application should Scale based on the CPU usage so if my container or on the CPU usage so if my container or on the CPU usage so if my container or if if my nodes
-
if if my nodes if if my nodes or no based on or no based on or no based on on CPU usage on on hand number of on CPU usage on on hand number of on CPU usage on on hand number of requests you can you can scale your requests you can you can scale your requests you can you can scale your application based on certain metrics application based on certain metrics application based on certain metrics that are generated so let's say we do it that are generated so let's say we do it that are generated so let's say we do it on based on requests well kubernetes on based on requests well kubernetes on based on requests well kubernetes might register okay suddenly I have like might register okay suddenly I have like might register okay suddenly I have like millions of requests coming to my um to millions of requests coming to my um to millions of requests coming to my um to my Ingress controller and I verify that my Ingress controller and I verify that my Ingress controller and I verify that these are uh actual human beings well I these are uh actual human beings well I these are uh actual human beings well I will need to scale up my application so will need to scale up my application so will need to scale up my application so kubernetes is going to scale up the kubernetes is going to scale up the kubernetes is going to scale up the notes it's going to scale up the notes it's going to scale up the notes it's going to scale up the containers and your users have a good containers and your users have a good containers and your users have a good experience when they're using the app experience when they're using the app experience when they're using the app and this is all made possible by and this is all made possible by and this is all made possible by kubernetes because it's an intelligent kubernetes because it's an intelligent kubernetes because it's an intelligent system that can take these kinds of system that can take these kinds of system that can take these kinds of instructions and then translate that to instructions and then translate that to instructions and then translate that to compute it's a way of of running compute it's a way of of running compute it's a way of of running compute like Distributing compute over a compute like Distributing compute over a compute like Distributing compute over a bunch of virtual machines who are able bunch of virtual machines who are able bunch of virtual machines who are able to talk to each other to talk to each other to talk to each other intelligently and and that is intelligently and and that is intelligently and and that is um able um able um able to yeah it is able to enable you to run to yeah it is able to enable you to run to yeah it is able to enable you to run containerized workloads at a large scale containerized workloads at a large scale containerized workloads at a large scale with relative ease so that is why we with relative ease so that is why we with relative ease so that is why we need kubernetes and what the use case is need kubernetes and what the use case is need kubernetes and what the use case is for it and I have gone through um how for it and I have gone through um how for it and I have gone through um how the structure is of a cluster so here we the structure is of a cluster so here we the structure is of a cluster so here we have the the basic structure of a
-
have the the basic structure of a have the the basic structure of a kubernetes cluster is the control plane kubernetes cluster is the control plane kubernetes cluster is the control plane that is like the brain of the cluster that is like the brain of the cluster that is like the brain of the cluster that handles all of the the that handles all of the the that handles all of the the requests and requests and requests and then from the control plane we have the then from the control plane we have the then from the control plane we have the worker nodes and all of the worker nodes worker nodes and all of the worker nodes worker nodes and all of the worker nodes are actually running the applications are actually running the applications are actually running the applications and for now that is actually all of the and for now that is actually all of the and for now that is actually all of the theory that we're going to need and now theory that we're going to need and now theory that we're going to need and now we can start uh getting some hands-on we can start uh getting some hands-on we can start uh getting some hands-on experience on our first kubernetes experience on our first kubernetes experience on our first kubernetes cluster well I hope hope you enjoyed the cluster well I hope hope you enjoyed the cluster well I hope hope you enjoyed the video If You Like My Style and you want video If You Like My Style and you want video If You Like My Style and you want to see more of my teachings check out to see more of my teachings check out to see more of my teachings check out the school community in the link down the school community in the link down the school community in the link down below
Summary
This course introduction focuses on understanding Kubernetes, emphasizing that while complex, it can be scoped down to practical job needs. It traces the evolution from virtual machines to containerization, highlighting Docker's popularization in 2013. The takeaway is that a foundational understanding of Kubernetes allows for significant progress in DevOps work.