If reading grave nites in a single video and want to become a devops engineer If yes then you have come to the right channel because today In the video we are going to talk about When Nitties in one shot which is full youtube0 There is a video in which all the graveyard nights are shown. concepts have with projects so if you If we talk about the depth of this video then this The video takes you from the core concept Like what happens in a microservices monolith? The architecture of Kube Nits is different How does it look like hands-on setup? Do Local Pay Eat Pay Cube CTL What What are pods and what are namespaces? What happens is everything that is basic He is the king of the nineties and he is also an advanced man if Talk to Deployed Stateful Set Daemon set rept set cron jobs everything that You are asked in the interview if and If you take it in depth then it is like networking Persis for Services Ingress Storage ment volume storage classes persis at Volume A Clemm if talk like in production You can customize the architecture to fit your applications. Scale horizontally Auto Scaling Vertical pod autoscaling no definition Limits probes, all these things are in this video Role base access control is available in Monitoring Hello CD brother, comment to me quickly Let me know if you are interested in this To watch the video till the end can be quite long because the only The video is it's a one shot video so good Get your notes, your laptop, and everything ready sit because the ending in the i e case cluster Pay start aa hum log mini cube and local And we'll do it here and there, but we'll end up with ES Running a three-tier application on a cluster Doing CI CD with Jenkins vs. GitOps with Argo CD There will also be a deployed MongoDB so that You should also know a little about MongoDB. Let's go, many people say brother, three tier Make the application, make it with the net, then the net python3 application will remain last but not the I am also going to get least monitoring done on Prometheus and Grafana so if you From the video Learn and become a master of Kub Nits So brother, it's going to be a lot of fun, let's go for this Let's start the video. Please like the video before doing so If you haven't subscribed to the channel, do it immediately. Take it because it is the most requested The video is And Finally It's Here Video Co A little before we start I want to announce this to you friends The video is quite long and contains grave nuances. All the concepts of Cuber Necessities Only one part is the back engineer of the desk To become you Kyber Nitus Terraform Emblem Prometheus Grafana will then become your LinkedIn resume I have to do all these things that I I'll get you live on trains.com which I I am going to start Deb 0200 Passion Batch Nine which is going to start from 25th January Its registration is already going to happen Started like today I am Kuber Nits I am going to teach, similarly I am completely I am going to teach DEPS from January 2025 and I want to see you all there link Enroll quickly in the description so let's go Let's start the video first Do you understand what these Kub Niti are and where they come from? Understand who came and how he came. Let's go, it was a long time ago look at google2 2014 Like if you talk about google.com, then that The website is google.com, that was once It was crashing after it was crashing Because of the end crash, he repeatedly Their engineers had to do the na up Meaning the system that was there was not very robotic. So when did he do that in 2014? People created a system called Berg and this Borg is such a crazy system It was that all the applications that run in it He used to heal on his own in case of Crashes if there is too much traffic If autoscale were done then in 2014 they The initial name and rank of Kuber Nitus was this He started and then this thing Open sourced today 2025 means almost 10 years have passed. Tell Kuber Nitus, brother, it's been 10 years. And you have brought the video today, no problem. Better late than never, let's understand that Dude this This is such a powerful Kuber Nits application. How did the orchestration system work? If it does, you will have to understand it first. What is Kuber Nits, so Kuber Nits one by one Kube Nits is basically an orchestration tool orchestration tool, you saw that movie Which will be Hera Pheri, then Hera Not in the ferry, Raju lives here. Shyam stays behind and Babu Bhaiya is roaming around. There is a Dhoom Dhaada orchestra, only that So your Docker containers live in Your Docker containers live from Let's The front-end Docker container is back. The end is done, this is the database behind. So how are all these Docker containers? When do we talk to each other and whom? When should the scale be automatic to whom if late? If I crashed then I had to heal, so this is what The orchestration is very impressive. Kuber Nitas gets it done in this manner and if you If you look at the total letters of Kuber Nits k followed by 1 2 3 4 5 6 7 8 and then s That's why it is also called K8S, okay? This project is now a CNCF graduate CNCF Cloud Native Computing The Foundation is an organization that Strong projects like Kuber Nitus happened Argo CD Done Helmets are given a She gives them resources and everything. So that open source can grow further This is a very strong thing, so CNCF has this This is the very first one shot on the channel. If there is going to be a tutorial, please like it. Let us understand what Kub Nitas is. Why do we use it, why do we read it? Nits first of all what is devops engineering There are roles in it of Kuber Niti which The demand is very high because Many people who used to make applications Earlier monolith applications were made, now they All the micro services have been done brother, these two What is the difference between Imagine that there is a very big shop. Okay, there is a very big shop from Let's D-Mar I don't know what you guys are doing D-Mar It must have happened, my friend, I mean I live in Pune, this is behind me. De mar walker so de mar how one It is a big shop, it is a very big shop. Inside you will find shampoo and soap as well. You will also get food and drink You will also get clothes and groceries, everything. You will get some at one place. Monolith Monolith Monolith means a large software A large application that contains a single You have uploaded everything to the repository. Meaning, if you talk about amazon.com then log in Pages Signup Page Cards & Products Sub Some are uploaded to the same repository. This is the biggest application that is running now. Do you know what the problem is with this? Firstly, it is very difficult to manage it. happens because if let's say a stock This is something that went wrong Here every particular service is messed up. The entire application is done here. Lets you get a little If you want to update something, you will have to Why do I need to update the application? Because mono mono means single single If there is a repository then it is very difficult to manage. It is difficult and costly too. What is the solution for this now? Brother, you found a solution for this. a small store of small stores where But there is a small store where you can find clothes. Shoes are available in a small store where vegetables are sold. You get a small store where your daily When you receive items, you have micro Created services, created microservices Given that a large application can be divided into smaller ones Divided into services, now what is easy? Anyone want shoes? Directly shoes. You will get the service if the service is running If it is not working well then it is on service only. There will be an impact, other services will continue to run. If it will not affect her then Managing microservices architecture It becomes easy, plus it becomes independent. Such services exist, hence its cost also which is shorter because it is a smaller size than the Lets C service is authentication service for that You will not find a big server in it, but in small server or If you need to manage services If you want to orchestrate then friends your The tool that remains is Kuber Nits, so nowadays Microservices in the industry The demand for architecture has increased significantly. And that's why your demand for Kuber Nits If it has increased too much then you should know Why are you reading Kuber Nits? Why so many people don't know Cuban Nieves what does cuber tive cuber nit mean to them I don't know what Kuber Nits is. But if you want to read them then it should be clear to you. should because your monolith and Microservices within microservices Architecture is being used a lot. That's why Kuber knits are in trend and very Everybody is adopting it now. What is there in Kub Nits, brother, that everyone wants it and everyone wants it too Bhaiya Hum Kuber Nits Pe One Short Video Everybody wants a CKA Joe Certified Kuber Nitus Administrator Everyone wants to clear that too. Why because the demand in companies is not that much right now It has happened because if you talk to freshers If you know the basics of Kuber Nits then do it. Even if it is there, one gets a job very quickly. That's why I'm making a video, so quick attention Listen to how the architecture of Kuber Nits What happens, what is it that happens in Kuber Nits? It works so well, let me tell you, this is it Brother, this is the architecture of our Kuber Nits I understand what this is, so let's go. I understand that your Kuber is Nitus. I said that this is your kit which you have given to us. Tell me why it is like this, people? Why is it that you have seen the Docker logo? If you have seen the Docker logo, then you What is the logo like? It looks like a ship and a well. which is in the shape of a ship and from the top The captain of the ship is now carrying containers Who is it that is steering the ship when He drives the ship, how does he drive it? He who drives with the steering wheel The steering wheel is the logo of Kuber Niti is that your Docker containers Brother who drives is me, this Kub Nitus now that How will it work? Let me give you an example. I would like to tell you that whenever you are in a company somewhere You go from LETS to TCS infosys.com I used to sit next to him and write the same code and in the evening When we used to go to have tea, we There are startups but due to some reason MNCs grow so much because of this If it is so scalable then understand it like this Take that startup means your Docker container Startup is fine because there is only one container Poor thing, it can't scale big. Runs with difficulty, sometimes stalls Sometimes it works but those are Kuber policies Understand that it is a multinational company MNC It is a multinational company, brother, now there is nothing left for MNC. architecture due to which MNCs Such a big MNC has been formed, so let's understand First of all understand how that MNC came to be. The architecture of Kuber Knits There is such a server in it or there is such a server Nod remains whenever I say Nod whenever I will say node, it means server. Well, there remains a node that is different from the rest. Brother manages the servers and the rest Understand the meaning of servers in such a way that a node means Single node One server Multi node Multi node means more than one servers and this thing Let's say Cluster, this is what is called a cluster. At Cuber Nits, we are a cluster level But you don't need a server Managing your entire cluster which can have multiple nodes like Node one node two node such multiple nodes Now consider that such a node which is your master node is a node master node and other nodes like these Done your node one ok let's do this gone node one this is your worker node worker Node Now look from MNC's point of view where do you work where do you work In Cognizant, in Wipro, in TCS, here You work here, okay now its head The quarter is somewhere far away but Where do you work? Are you in any one of the R&D Work at one location within the branch Let's go to Pune location or Bangalore location Headquarter in Mumbai or Cognizant's If you talk, you work in Pune. Head, you work in Noida in Bangalore Quarter there California or else New York is somewhere over there in the USA Similarly, the master node that remains is yours. The headquarter is actually there. There is no work there, all the managers The CEO and CTO sit there. But only work is given that in India Pune becomes a node Pune node becomes a node Bangalore node became a node Noida node People actually go and work on these nodes. Yes, okay, they also say ODC, I don't know. Whatever you might be saying, I am your brother I'm from a startup, I don't know, but it's If you have architecture then Kuber is also in the cities One such architecture is a master node. lives where there are some services that Just sitting there working on the worker node If you get the work done from the worker node then your The actual address of the worker node What is actually in Docker? containers are running in it Docker containers running on worker nodes Press OK and your Docker containers would be running. and this is what the Docker containers are running He is sitting on the master node, so if you Kuber Nitus' interview asked where Do these containers and applications work in a Kuber Nitus Cluster so they work on the worker Node None of the Containers Work on the Master Nobody works on the master node. It works on worker, okay, now what is it like? Those people do it who deal with the master's worker What is it that is getting the work done? There is a master node, it provides some services. Like an API server that What things are running in the entire worker node? What is happening in the entire master node He keeps a record of everything that is going on. Just like your team lead would be your team lead Isn't it your team lead, what does your team do? The lead sits somewhere far away in Mumbai. Or in your Delhi and from there to your He kept reporting the work to the manager and other people. If you keep telling me the work is done then the API server There is such a unit, there is such a server, there is such a Service that acts as a communication gateway API server with each component What remains is to communicate, that's why It is very important that you understand the API. What is an API application? programmable interface that if you need any You have to talk to the server, not directly. We can talk to you via a medium. and that medium is called API. So if you talk to Cuber Nits Cluster You can't talk directly You have to talk via API server So API server is a very important job. If you see the arrow also, then API Remove all arrows from the server and API server If you are there then it is the most important unit which is used for communication with in The Cluster Now your team lead said, brother, our Our requirement is ok There is a requirement for a man, a man who Depps is an engineer from Let's, so Joe Depps hiring of an engineer or What do you call a person who arranges placements? It is called HR, so it is such a service. whose name is schedule schedule what Schedule is one such service that works which will run your containers on worker nodes schedules that you get one on one from the lats Annex is to make a container of Engine Aces. Reverse proxy server or my Sequel, which is a database, gives you a Scheduler to create a database container He will tell the API server that brother, I am just I'll schedule it and create a container. So the scheduler's job remains to Schedule containers and pods so pods are The unit resides in cubic knots inside which When your containers are running, the container If we talk about Or if multiple of them run simultaneously then If the pod is okay then schedule Responsible to run this pod to run The pod and inside the pod are basically your containers. Come on, are you looking at this orange colored box? The box is your pod inside that spot is your The Docker container is running, okay? Now HR has announced an opening and I got you a job, that's right, but your The data that will remain is when you created that pod. When did that opening come and when did you get the job? Everything lives in one database and Database is called Kuber Nits ETCD to ETCD is a key value pair The data store that stores your data All the Kubera running in the NiTS cluster Data of all those things is stored in ETCD. Now let's store data in ETCD Your butt is gone, it remains the same. There is a big head manager who looks after Brother, all my servers are working. No, work is going on at all my locations. If not, it is called your project. Manager Project Manager to Project The manager is in charge of everything. He sees that brother, this is our all over thing. Is it running on size or not like ours right now? There is a project manager, brother, he is a pain in the neck He gives but he is good at heart, okay. But he sees everything and says, brother, this is going on. down it's going on no it's going on No, he remains the controller manager anyway. Checks if your nodes are running Whether your pods are running on your cluster Are all these things of yours running properly or not? Whether the services are running properly or not The controlling manager is very important. Okay, this control manager is now the master node. You will get the services of the headquarter. I understood that there is an API server in it. which happens with every complete cluster The scheduler does the communication The pods inside which the container is running I will schedule it, it is ETCD Where all the data is stored as a database is the controller manager node of every cluster Your complete fate will take revenge on someone. He controls it, now it has become the master node but where pe actualy worker node pe Work is going on, if there are any services there too Like you are in Pune location or Bangalore Be it on location, in Gurgaon or anywhere else Yes, you have a manager there too. Which insures that you arrive on time It's not working, have you logged in correctly? No, you submitted the task correctly or No, are you even working properly? So let's call that thing Kubelets can be deployed at the entire cluster level. Pay works but cube let your worker It works at the node level and observes that If the pot is not running properly then it should be running properly. If it is then it will call the Kube Late API server. and the API server then the controller Manager and ETCD each have their own The cube will store information while watching Is it true that your pot is running, brother? on the worker node, but this worker node is what you People from outside must have visited FOCIS TCS sometime. They see that brother The ID card is in order, right? So the pods You remain isolated, right? Can't access it but in every company There is a Lanka-traitor who knows the inside story. To change the matter from outside to inside There is a person whom we can also call a proxy. They say, brother, have you installed my proxy? He also does the same thing here and there, if You have to access these pods as a Outside User Seeks You a Service Whose name is service proxy or Cube Proxy is also called this service. Because of this you can access the API server as a user. Pods inside the Bol from Bol's Cube Latte so whenever we We create applications and provide services for people. This whole thing will be very important. It's done but brother, my headquarter is in USA. I am sitting in Pune Bangalore This is how we communicate here. The two servers are server one or node one. Or node to node 3 these are all nodes this one How to communicate with others In the same way, Tung Tung Tung Tung Teams Music that increases your anxiety Or is that notification from Slack the same way? These servers, these nodes are a Container network interface with another Let's talk on the network which is called CNI It is also called network, it has many Examples are Vanette Calico, which Because of the network, all the workers nodes and the master node, it is connected to each other He is able to communicate but brother, your HR I told you and you told me the team lead Project manager, tell me, tell me manager, tell me You also told me about this pod of ours. I also told you about the service that destroys Lanka, but You didn't mention the director. Every company has a CEO who He directs that brother, do this and that. didn't talk about it so if you Instructables to your Kube Nits cluster I have to give it to you brother, show me how many pods are running. Show how many nodes are active. Run this. If you create this, you need a controller. It is called cube whistle or cube Controller so cube whistle is one such tool which talks to your API server to complete the task. You can order the entire cluster of Brother, this is the architecture of Kub Nits. You can do this thing yourself in just 10 minutes. Show me what you have to do and complete it your kube is a cluster of nits ok it Your cool cluster is now like this What's inside of you stays inside it Yours remains a master node is precisely a master node and Multiple worker nodes is fine and multiple worker nodes okay now this is the master node There is an API server inside it which Communicating with everyone Helps correct API server and API server if it needs to run things tells the scheduler then if the entire Controller to manage the entire cluster There is a manager and then you have an ETCD. which also stores your data, okay ETCD is done then worker node per worker What happens when a cube lies on a node cube let where he sees that all The pods are not running and the pods that would have Those pods are basically something that Inside which your Docker containers are running There will be docks and containers running. Now you can access this pod directly. If you can't, you'll need a service for that. If you need a proxy then now this is the complete This is the network which will be the entire communication That will be communication Via a network interface, also known as CNI If you say so, then basically you have a Kuber Nits I learned to draw an architecture diagram of how is this what is this tell me what is this is one API Server API Server ok this is the API Server then This is your schedule ok this is your schedule then what is it This is your controller manager then what is this this is your Cubelets Brother, what is this? This is your service. Proxy, okay, which is for outside users To the outside user, enjoy all these pods will give access via service proxy and this The service proxy will talk to the API server This API will talk to the server schedule and Will talk to ETCD and Controller Manager and also talks to your cube let will do it and it is your CNI or else Container network interface and this API server Cube CTL talk will cube ctl end like this you Architecture diagram of Kuber Nitus You will come back with a great performance in the interview. Explanation by typing boom in the instant chat Tell me if you have understood that Kuber How is the architecture of Monolith Microservices Kubus I have seen the architecture brother, now it is a big deal. It's done, if you had done a little hands-on, it would have been fun. If it comes, get it set up Get our AWTP done on local. If you get it done anywhere, first do it by doing two Let me tell you about the local ones as well. hmm but let's do two p then you will get one I need a good AWS account Gotta be the best part of AW that he is a It stays free for a year so you can try a great new app. Pick up email ID Pick up new card B Mast Create an account on AW and I If you want to create an account then create new. Click on the account but this is the account creation one. There are no tutorials like you found on Bumble. Pay instagram2 assisting account do let's go and Using route email like my train starts Let me zoom it a little, brother, to 150 Let's next this on Zoom and Let's save this MFA my password Come on brother, this is my password. Okay brother, we have come to our Now what I did on the AWS console Your region is selected and kept. This region lives in the North, okay? Virginia Ohio California Oregon Mumbai If we live in Canada, then brother, we Indians Mumbai guy picks it up, Mumbai guy We picked up the Mumbai region, an Eetu We have to create an instance and we can create this to instance. People practicing their Kuber knits That's okay, so we clicked on two instances. Diya, we will do it on Itu now. Instance OK Name Server Name I will give Cuber Nits in One Shot to Qnet in One Shot is The name of the server is very creative brother. Okay, go to Nut now, we'll get Nut Server. People 244 means in April 2024 this A version of T had come, select this one. Take the x86 architecture because it is common The processor also remains then in Docker If you face any problems then take x86 set It remains to be confirmed, if you want to confirm then do it. Now your username will be Batu. True Instance Type T2 Micro Free Tier remains eligible but brother You are running such a big architecture. This is so big, will you run it on T2 micro? No, you don't need a little high end for this. like minimum you have to Medium or TI2 large in this type If you have to go, you just have to manage. If it is there then you can run well on T2 medium Your work is fine, do the job and delete the cluster. Do it again, I have to do something new again Create it and then delete it again, then t2 You can also create clusters on Medium, right? Well, there are many ways to create a cluster. I'll tell you all the ways at once. that the best way to create a cluster is The first one who was Kuber There are ways to create a NITS cluster. There are different types of brothers like one The way your cube lives Edm cube Edm I played the cube Edm I have made my first video in Cube ADM How do you handle two instances? be two or more and on those instances Install Cube Adium and If you combine all three into one cluster, This remains one way, but now it costs increases because one two three you To create a cluster, three nodes will have to be created. You are not making one for Medium. I am asking you to make three of them. This is one way, there is another way too. Which we call mini cube Mini Cube gives you local pay or a single You can make mini cube servers on bricks. Live mini cube clusters that you make You can have a third way, kind cluster cluster which we know today Learners are Kind Clusters, So Kind what happens in like kind kind means Kind is not like this, kind means cuber Nits in Docker means your Docker container There must be some Kuber Niti going on inside, brother. Very crazy so kind today learner I will also tell you about the mini cube Let me tell you both that there is no scene, so kind We do this in clusters and if you If you go to the cloud then EKS AS EKS Meaning Elastic Cover Knits Service You AWS Cloud Pe Kuber Nits Karte Ho Ekas Matlab Ajar Kabar Nitas Service You Ajar You can do cloud computing and GKE Google's engine, so all these managed cubers. Nits services remain, meaning you get a cluster I don't have to manage AIDS or Azar Va We will do it for you, not Cube Adium. Why should I do it again, the cost is high, but if If you want I can also cube add this We will wait till the end of the video to see the Mini Cube How does one install the whole but I want the full tutorial to be You guys are not experts in Kuber Nits first Go to local pay kind cluster, we people things to do then I'll tell you in local I will do it in AW also. I'll show you, okay, so these are some of the ways. There are other ways too, but how can they be done? There are different companies which are in their cluster. I have made it myself, I will not take the names of the companies Because they gave me the If I haven't done it then why should I take your name for fun? I am doing so Sivo Vulture and if you If you want to do it at the production level then an RKE Rancher Cuber Nitus Engine R Kei Yes here it is Enterprise Level P If you need Kuber Nits If we want to do it then there is a rancher and then our sew Bhai, the company that CO is Cloud Cloud computing services such as AW He does it, similarly the CO also does it a lot. all So there are a lot of people who are experts in Ku Bannet. You guys should first concentrate on your studies. Is it through kind of cluster or mini Learn to play local games first through Cube. Let's learn now, take Titu Medium Because it won't work for less than that. Get your cluster key pair Create New Make a pair of it and I will call it K8S In one shot case, I have a key called An One Shot. I will create it using RSA and PM key I will create a key pair and this is my k8s This shot has been downloaded here. It is downloaded to the Downloads folder. It's great, now what will I do? Work done, now I go into network settings I turn on SSA traffic and HTTPS ATTP All this traffic is also on I will do it, the storage is big. It is important because you have a very Create a cluster and place applications inside it. There is a lot of work to be done to make it, so this If 8GB of storage doesn't work, or So take up to 20GB or even 30GB because 30GB If up to 30GB is free then I will buy 30GB brother. I sit down because up to 30GB is free. It remains and the rest you have to take medium If yes, it will cost some money but I will give you I will also tell you how to operate it locally. Okay, that's it, 30GB of storage is done. All you have to do is create a server. t2 medium bus latch instance of done Lunch is great, absolutely now successfully initiate lunch This is done, now open it. somewhere So done my Kuber in one shot server ban It is gone, okay it is running also, so put it here But I'll select it and go to Connect. And through the SSA client, this is my This is the SSA command, I will copy it. I'll take it and open it here in my terminal. So this is my terminal opened up a little bit. Terminal zooms OK zoom also happened with this Well, I would have maximized something completely. Otherwise I will go for CD download. And the SSA command I copied I will paste it like I paste it I will get an error that your If private key is not protected then It is your private part, right? AOD 400 has to be done because right now it Too many accesses to the file are open Permission is to open the box which gives you all in one The pem file of the shot is made read only. I will have to give access to the user, brother. Now what should I do after giving this? Run the command back with SSA this time If your server is connected then brother connect So the server is done What do I have to do with this server now? I have to understand that I have to take a stand on this. Creating a Kubus cluster on the same server How can I make you do this for me? I would like to be kind, okay, kind, so kind. What is Kube and Docker? cluster like this then If you want to do something on Google's Mini Cube Install it and you can mini cube You can also install Mast Wiz P now. And Vij has nothing to do with it, so I I will do There are one and a half thousand forks here and all The concept is of Kub Nits and if you If you want to create a Kind cluster then you can create a Kind cluster. Click on the cluster if you want a mini If you want to make a cluster of cubes then you can use mini Click on the cube and let's see what happens. Let's create a kind cluster first and see. Let's make a small kind of cluster and see So first of all you have to install Kind If you have to do this, this is a shell script which Kind downloads it from here Whatever is written here, this is here downloads and one more thing remains Cube CTL which I mentioned which There is a director who gives all the orders. You will have to download that too, so this is one There is a small script that will tell you everything. If it allows you to download then this script I took it and let me bring it over here just a second. Yes and here we are installing Kind I created a script called DSA, enter and That script I have lying there. I pasted it here, it's done, so now that what are you saying without bash means shell The script is a y name hynam this whatever Its architecture is curl allo kind a this By downloading a kind from a particular URL Bring version 20, we have the latest version 25 How did you know this brother can also do it? 25 It is the latest because of his kind installation hai na toh vahan pe d v 0.25 If it was written then d v 0.25 0 is written Okay, so we've done that, now we People seach aod kind means kind which these file will make it executable and it A command named Kind will become yours then Basically, these three commands can be used to control your kind Kind Kube Nits and Docker will be installed There is a tool that allows you to If it allows you to create a cluster, it will be done now. You can also download Cube City in the same way. You can choose the particular version whichever you like. If you want the version, you can download it. Let's see brother Kind and Cub Seattle Whether the installation takes place or not escape code w k enter c ao 777 install k a iske little The script which gives us permission has downloaded / install.sh Enter OK Kind and Cube CTL Installation complete means that our This is a particular shell script With this you can play Mast Kind and Cube CTL can you install ok cube ctl What controls the entire culture? The Cube Controller now lets you drive kind You will also need Docker for this, so let's do Docker also. Installing Docker sudo is very easy AT Get Update First Update the system Install all the packages you have. Download and get it, then all the updates will be available. It downloads the packages and it's fine. Get it all downloaded ok let's go Brother, now you can install Docker also. sudo at get install dkr d come this big It is necessary because if there is no Docker then Kind Kubus in Docker How to run Kubus if Docker work is done Yours is fine It's great that it happened Now docker ps to see that your Docker Docker PS installed correctly or not Permission nut tell docker install so good What permission denied came, let's fix it How to fix Sudo User Mode? Your current user is Natu Hu Mi Kaun I am a current user, I am your jo natu The user does not have access to Docker. If it says permission denied then sudo user Give mode access to the Docker Append to the group with Docker Do it to whoever is my current user From dollar user through environmental variables Can also be accessed Append and And New GRP Docker New GRP Docker Meaning you refresh your Docker group Once the user is updated, it will be updated with Docker. Add to the group, refresh, enter Now if you do docker ps it will run smoothly If it is installed, then Docker is installed. Kind is installed cube ctl It's installed, try running it. Docker Han Afn Version Installed Kube CTL Hine How is the version, the Nafan version or Click the Navi Cube seal and tell it yourself. Brother, you will tell me what to do, cube ctl What is low, it's just a version of this, maybe yes If it is just a version then you write cube ctl He told me the version of Docker High Fun version. This is the kind of fun version that I told Given that these three things are with you I don't know if you want to install it brother. What you should do and similarly what you can do Yes, you can do the same thing for Mac O's. Like the Mac I have is an M1 Mac. I mean, if I have a Mac with a normal processor, I Directly for Mac, the Mac wala command Copy that and put it in your terminal. Here I open a new terminal and click this My local is Shubham MBP Shubham Kind By doing this I am kind of doing that particular In this particular system, which is my MacBook I can install Kind in that too So I'm going to show you both. You can also add local color, green is fine. I will also teach you Blue Green Blue Green You have done this, now what should I do? I have downloaded Kind, he needs permission. Give it to me now I'm cool if I kind of nuffin I will do the version, brother, it has become kind among us. Docker Nuffin has also been installed The version docker is also installed in my kube CTL There is no version in this, there is no half in this If there is only version then cube seattle It is installed so in my local also I Kind Docker and Kube CTL done I even went beyond what I had on O2. Kube CTL Kind and Docker Y have been Done, now how do I create the cluster? I want to create a cluster, so what should it be like? Let me make a Cuban clairvoyant, of course. Just like we drew it in the diagram. There will be a difference of just one small thing between us. Like I need three, okay, I mean the number of The number of nodes is what we get I want three, three nodes, three nodes Instead of two nodes we get three nodes If you want three nodes and one master node then If we need total four nodes then we need four nodes. How to create a cluster? The cube starter has a conf file Okay, there's a confession file that you have to write. It will be needed but this confine file is a There is a file called Yaal, brother, what is Yaal? Teach me Yaal first, come let me teach you Yaal I First of all you should understand that What happens is it is a file format dot y m l and v i m demo dwa a a va They also say ML and they also say WA AL. Yes yaal, okay then you should use wa ml Because there is one character less in it. v a demo okay now what all things in l It is useful to you, but understand this much that most What works for you comes first. Key colon My name is from Value Key and Value Lets Shubham will become a name and will have more value. will go Shubham's value is of primary use to you. ok now i need multiple values Let's come to me courses courses From which second are the courses brother, if I If I want to put a list of items then I will put courses After doing this I will hit enter and A DevOps Live Course Near Me from Lets which is the second one I have an AW S I have a course and then the third one is I have a I have a Python course, so what do I have? There is a Generative AI course and it's all Courses Deps Row to Zero Batch will help you If it is found then basically what it is it's a key and it It is a single value but if you want to get a key, you will need to List of values ​​to be given with multiple values If you want to give, you can make a list like this. Yes, you can make a list like this, okay, this is it. What else can you do now, brother Emel? You can create objects in Create Object You can mean one thing like information Now I have given the information from the letters that The name would be incomplete information, right? If there are too many keys inside the information You need information from LETS There is a name then Shubham then age lets say now when I'm 28 when I'm recording it. and from the lates In this too, the speaker has to go to many places. And I don't know, there is a lot of work left. what i did is this info is an object Within which the value of your multiple The value of multiple is the value of multiple And this is how you learn to make cool stuff. If you have to give any value then Cub Nits I have filed everything in it, friends, so those who Whether he came to Deps or Deps There is no coding at all, brother, this is very wrong. There is a lot of stuff in the app, what can I say? Kuber tus i l about yamil ka code ye yamil Whatever code you are writing in the files on line remains the same so escape call double k this If you save it, it will remain the same as it was before. What we have to do is confine the cluster What cluster do you want to build? Confession how then became an MKD IR A Kind of Low Called Cl Cluster Create your own CD named Cluster. Go to the cluster. Now in this cluster there is a There will be a file that contains your cluster information. If he tells someone, I will tell him. The conf.fig file will now be Confine Kind Hai Kind Meaning Ek To Hota Hai Kuber Nitus and Docker that one kind but That Kind It's a Tool would have been another Kind what type of file is it kind this The cluster creation file is fine. The file that creates the cluster is now this file This is how you can use the API in the Kube NITS cluster If you give it to the server, then an API version of it will also be given. The API version also remains, so the one The version is a particular version. You don't have to remember if you want to. Kind Go to the official website of You can also see it and you can ask cool questions in it. Can you tell me which API version it is brother? It will tell you your API version. You will see it somewhere here, it will be there Here is your API version Kind a case aa v1 al4 so this is your API This is the version, so you can download this version here. Go and throw it, this is your kind version. Now you have to create a cluster of Kube Nits. If you need nodes inside the cluster, write nodes How many notes do you need? You need notes, you need multiple nodes, right? So you want a list, okay, you want a list. So look how they did it, nodes. I have made such a list, so you will also be happy. Start making a list of what I What do I have to make Do you want to make a roll, this is our main There is a master node, it is also called It is also called the control plane. It is also called a control plane, what do you say? control plane so the control plane If you want to make it, then role control plane okay now this control plane What I told you will happen, Kuber Niti End Docker will be built through Docker images. What kind of image will you need to use? Est this kind name image is in it You also have to create the node which is now the latest version Off Cub Nits is going on, he's going on right now When I'm recording a video 1.31.0 1.31 is the latest version so you can use 1.31 Take any let's from v 1.31.0 You can take this, you can also take one You can also take this particular from Lets Tutorial for Hum Log Latest 3A 1.3 1.2 is fine, because it was very This is the latest one, it came in November 20224 I don't want to take too much risk Buy the latest version because brother it is long If you have a video then take the stable version. Let's take version 1.31.0 Think 1.31 the most This is the latest one, I picked it up, okay now this My control plane became the same way you Make another one what do you make you a worker You create a node and which image to use in it If you want to make a node then this is the image. Copy and paste it, now how many do you have? You have to create a total of four nodes. It has three workers and one control plane. If there is a master then this is how to copy and Taking it like this, it became paste and paste Now it's three workers and one control pen. Your work is done, great, but your The cluster is a Docker container Your Eat instance will be running inside If outside, the port number of the Eat instance and Its port number will be different, so it Therefore, it does not have to be mapped Extra Port Mapping Extra Port Mapping Extra port number mapping if needed What you have to pay in the container I have to provide the port and yes one more thing Before reading Kuber Nitus, you should know about Linux and Docker is pre-requisite so I hope you Linux in One Shot and Docker in One Shot I have seen both, if you see them then quickly Tell me in the comments because you are absolutely right. Direction to the container port The port number of the container is 80 and it is mapped to that port. is the host's port number 80 is ok and which Transmission protocol to be used Control protocol used in TCP And similarly I am going to set port number 80 And what does port number 443 mean? is ours What is HTTPS and 80? So if you remember when we were here We were building a brick instance, so we No, SSA is enabled on port number 22. Then port number 80 and port number 443 We enabled these two ports. Similarly, you can also add two ports to this cluster. You are enabling it, okay, this is one thing done. That's it, our cluster confine escape is done. colon double k enter I hope you understand It may have happened that what did we do? The value of Created object and created list of nodes also made it fun escape colon dull k enter so Look, you are also slowly learning email. Now what do you have to do Kind Create Cluster Kind Create Cluster So You Kind Who are you telling to make a cluster, brother Kuber? whose hyphen name of nits whose name put Two TWs cluster TWs Cluster means brother, it is our cluster TWA cluster so if you want TIDs If you can't see it, then look at this, look like this The TWA cluster appears to be back. Go okay now the D cluster is done but this The cluster that will be formed will be made from the confession file. Yes, Han An Confine no confine file which is mine A TW cluster using a conf file I am creating a cluster named Kind me so enter so creating cluster TWA Cluster Assuring the Node Image Kind node version 1.31.0 ok great your cool new image that I am bringing the preparing notes, look at one Doti is creating four nodes so you can How many were needed? One doti four nodes were needed. Four notes are making great preparation. taking notes Yes, nice, you drive it very well brother. Stay, don't stop writing confessions brother. I also wrote a confession, starting control. What is a plane control plane? Scheduler to API Server to Controller to the manager and Running ETCD Starting So you see, these were the services that you He is managing the entire cluster. Starting services Installing Storage classes mean you also need to store some You will have to do it for that, your disk If there is a storage class, you can do that too. joining worker nodes so any number of Worker was nuts now he's with your cluster Joined Joining Worker Noted And you can now use your cluster. Great, you can use your cluster. cube ctl cluster info hyf fun Context Keyne TWA Cluster Bhaiya what is this cube ctl cluster info So what remains is the cube CTL cube CTL remains the tool that manages your cluster If you can handle the whole thing then what are you doing here? But you are saying that cube ctl cluster If you have any questions about Info Cluster If you need information, you can get it. You will get the name of the cluster. I will have to explain a little about the context. You will have to give what the context says That's my Kind Teads cluster Give info about it, enter it is saying Cuber Nitus control plane is running at 127.0 1440 389 so localhost on local One is running and where is the DNS running? If someone goes into this then it is basically yours Please tell me if the server cluster is running fine. But how many nodes are there in the cluster? being a what being a director this Is he a director or is he called CEO? Two CEOs, you being a CEO, ask brother Cube. CTL how many notes were you getting? Nodes boom so he'll tell TWA The cluster control plane has a node named which is ready whose job is the control plane this The control plane is and the API version is TWA cluster worker is also ready And it has been going on for so long and this too This is the version and there are basically one, two, three workers. We have one more master and three workers. is worker forest 3 And there is another master, this is the complete one which we have We had made the diagram with our hands. I turned it on and checked, so our cluster is working. I am left with no option but to tell you what to do. I have told you through kind, now I will tell you the same If I tell you through the mini cube, then an MK Create a folder named DIR Mini Cube Low CD Mini Cube OK You should not feel like this brother, you are kind Perhaps they have partnered with the people like this There is nothing you can do about Mini Cube here. You can use cube starter You can also go to the repository and download Mini Cube You can go to the installation, there I have It is said that by updating the system sm Take it and put whatever you want in it. I needed this thing, put it in, okay, so this What is tomorrow W Gate which I have to install All the tools that are required for this are there. Kind of pre-requisite this put Docker You have already installed it now. Enable Docker as well. Meaning of enable What is it brother, enable means system ctl enable docker means your docker your Even if the computer restarts late Docker will restart automatically. That is why it remains enabled, enabled means on Start up the service will restart ok This is done for you, you did this too now. You install Mini Cube then Mini The latest one from Cube is MD64. So bring the Linux one, then this is that URL is c url means curl you can download Le Ho are doing a mini cube called In a folder or in a file you can Bring this particular thing, this particular We can get mini cubes from the URL. Here you go brother 99 now 99 AB OK Done try it here Mini Cube Now that mini cube is executable. Create it and then create the executable from the same AOD. Diya and put the mini cube in the bin without meaning, without meaning, without meaning, user binaries so that if I do this mini cube Hyfe Hine Version If I write, yours is in the mini cube. No version yes where you get the higher version If it doesn't work, remove the hyper and put in the other version. If you had seen it, your Mini Cube would also have been installed. The mini cube is also great, friend. Installed, now you can have fun on Mini Cube You have now installed Cube Seedle. Start the Mini Cube start driver docker v m true ok then type this command mini cube start nfn driver because you should pay the Mini Cube on I want to run it on Docker, I want to run it on Docker too Docker works brother e tr v a e true You then have to write When you are running on an EC2 instance Because it is a virtual machine, so enter Nice mini cube version 1.34 it is Brother, the latest one is Mini Cube brother. Sir, pulling image 0 this is that thing brother Sir, he is pulling all these things and Your Mini Cube is also forming clusters Meaning, today you should destroy our instance. You can also have a cluster of Mini Cubes running. A cluster of Kind is also running brother Then teach me how to create a cluster of ES as well. Wait till the end of the video to get that too It's going to be a very crazy video Brother, this is happening, this is also happening a little It will take some time because brother cluster setup It is happening so it takes a little time but You can do the same thing at your local place as well. All you have to do is go to Mini Cube Start and Installation of Mini Cube Or whatever you need for Mac OS, just Copy it and install it quickly. This is the complete method for this, it is great Hit install and everything will work fine Will work This creating Docker container requires two CPUs and Oh my god, with so much memory Father, what will happen, we have two clusters running. Preparing Kubernetes version 1.31.0 on Ducker 27 Look at the network we're running on Kind Yes, it is 1.312, so what should we do? We'll run it on kind, okay, it's done, it's done. Cube CTL is now comfortable to use Mini Kube Cluster and Default Namespace Meaning if I do cube ctrl gate Nodes Bhaiya was just telling me about three nodes. So this is just one nut telling what this is We got scammed so when you mini If you install the cube then your cube seat It was pointing to the mini cube by default. You've seen Kind Cluster before. If it was installed then do it by default Now it has become over-ad, so if you Get notes to do so you high han Context Kind TW S Cluster If you do this then you will get the blessings of your kind caller. I mean, I'll tell you about the same thing. In the command cube ctl get nodes this I have told you in the command that brother, how you Context scans to different contacts If possible, your mini cube should be on the cluster. Did you understand that Mini Cube Cluster? If it is still running then don't make me run anymore Dude, I don't want a mini cube, so you You can also delete the mini cube if If you want to delete the mini cube, you Simple Mini Cube Delete Write Do Boom Delete The mini cube cluster will be finished now If you cube seattle gate notes then that It will say Can't find the server error is coming Can't find the server because by Default that set on which one is this mini Cube Wale Pe Butt Yehi If You Mini Cube Gate Nuts Use context, whatever your context is. So what am I cube ctrl Confine Pect Which Kind TWA I'll use the cluster enter switch Two Kind Tead Clutcher Now if I do cube ctrl gate nodes So now that everything is set for me, I understand. I explained how you can use different clusters. You can set contacts for different texts You can create clusters and run things on them. Can you brother, this is our KB NITS cluster? In the journey of making, the mini cube was made. Kind cluster also became E KS AS GK You must get this done in our mega project. Doge End Me Cube Adium Ka Kya Hai, that too Thank you friend, if you make me do all this then that too If you get it done, let's go and see Cube Stadium right now. Let's take Cube Adium like I told you Bare Metal gives you a Kubuntu cluster. If you want to create it, you will have two servers. You can make one of them your master. You can make the other a worker and both of them You can join by becoming a master. You can also get multiple workers to join And this is your cuberium, so its I will tell you the diagram, this is the diagram I would have made it a little more beautiful. Yeah, let's just say it like it is Your master node is done. This is your master. Node Done Cube on your Master Node Adium will install it and it will mean Inish is hoga where ever cube adium inish It happens, he becomes your master. node and then later you can do 1 2 3 4 as many as you want You can get worker nodes to join it. Let's read this quickly, first of all you What you need is a masternode and a worker node so what I'll do here But this creates a new instance. Let's put the name of this one, Master, okay. Hey Master Kates, you could have added one more name. Worker Cats, this is not Windows, brother, I regret it. Tauba nuts take it ok master k8s To make it, we need nuts which are t2 Micro won't work, we need T2. Medium is fine, you will need t2 medium so that That we are completely on T2 medium Get the pair that the cluster can handle. Case and one shot of ours and then we Its security group will be opened in it. We also have to keep in mind that this Our workers join the node, right? port number If he joins at 6443 then he also considers himself You may have to open it later, okay? If you don't need it then it is 10GB. Take the storage, otherwise we are just for demo. I am looking for 10GB storage, will it be good? And after doing this you can create two such instances. If you want to make it then here number of instances to put it okay why because we have a I need a master and a worker, you want So you can make three like this but it is up to you. I will connect with one or two and show them. Yes, it is very easy, it has been launched. Instance two launch tense done great So this is your master and you are a worker. If it goes then it becomes your master and it becomes your Worker node then the name of the master is master only Let's keep it and this is the name of this one too. If it becomes master then change its name. workers do it okay so if I do this and put ktest in the filter here If I give it to you, you will get it, where did it go? This is ours, let's keep it running. If this filter remains then what can I do here? I have been I will put in the state running for whomever it is. Okay, so whoever is going to be my runner I would put him I'm here running for All State. If I put it then master cat and worker Kate, we've got this, great, now I If I make these two SSA then Master I will go to CAT, I will go to Connect and this We are not copying and creating a new one here. Let's create a new terminal and We will do SSA to the new terminal, okay? Make it a little bigger in the download Yes, paste the SSA command. Yes, this is our master cat, so its By changing the name Add master cat's and some color too. Put it in, what will be its color, it is purple Master Cats Done Master, we have done Master Kate's best. Attached it, now what can we do similarly? will give If you connect your worker CATs also Worker Cats took As and here's a new Opened the tab and here's what I did. a little bit of this in downloads where our The pay file is kept there, go there and do SSA. Denge to our worker's test, okay worker's To the Bannet guy, this is what we do. worker okay this is worker and this is our Master done easy, this is the master, its worker also give it some color or make it yellow done So whether he is a master or a worker, both We need to create a Kubra Nits cluster. Let's just make it now what do we have to do now We have to go to our cube starter In the repository where we have this All the steps to install Kind Cluster You saw the steps, right? Cube in the same way. All the steps to install Adium is here So according to this you just have to keep going. So this cuber knots cluster and cube This is one such tool that is going to be created through Adium. which runs Docker container disks in the background Container Making Services or Container Using Management Services Cubber will make you knits clutches Let me tell you what Container D is. Container D is an industry standard CNCF is a container management tool. Also a graduate and has a background in Docker This is what I use, okay, so this is how it is If I give a background then container d So we are going to make it using You must ensure that all instances In the same security group, we If two instances were created from the same form Both have got the same security group. 6443 Go to security group and expose If you want to do it then let's expose it brother. Where did it go, so this is our instance of this, we People will go to the security group, this one Go to the security group and edit in bounds After reading the rules, we will make an ad rule. And they will say that brother the port number 6443 you give access to Anywhere and cube in the description It is okay if the ADM joining port remains To join Cube DM, click here. If we need a port, we open it. Let's complete our AW setup as well. Now there are some commands that you can use Both master and worker have to be executed There will be some commands which will only You just have to pay Master and something. This is a command that needs to be executed only on workers. Let's start one by one are now executing both master and Worker, first we disable swap We will give it swap memory first. Turn it off and I will go to Master first. Swap off I go to worker and swap off okay We have to do this command at both places. Execute and both are necessary Kernel Module for Cable Networking Some times the policies are about networking. Overlay Net Filter Wo Us Master and Worker You have to enable it on both Done and Ye Worker Pe Bhi Don Chalo System CTL Ke Parameters that IP tables contain are for networking because your needs to connect multiple instances How was the Cube ADM and Mini Cube one? Everything was running on the same instance here. If you have different instances then for this You have to do all these things so Copy it, run it on the master first and then Go ahead and do it, worker, now what should I do? Have to install container d look Container D like we have Docker installed Container D would also have been installed if I had done so. sudo apt-get update which is important Things need those rings its a docker key When a key ring comes, you will add it to the system. Install container D by updating Then restart container D. You can check the status to see if it is running or If it's not working, I'll copy it. And first I will throw it on my master Enter, then I'll throw it at my worker. Enter now containerd is the tool that Kuber The control plane of the nitties is like ETCD API Server Scheduler Controller Manager on that side worker note on cube let Service proxy, all these tools Container D will run ok so container D will see Let's check whether it is installed or not master pe install ho raha hai ok on packing Container De Done Ho gone ok container d installed and active Running on Master worker pe jaake dekhta The container is being installed, after some time it will bhi install ho jayega and it is active and Running on worker queue suppress out of here You will come and why press on the master also When you come out, container D will be placed so that your Containers for all components Yes, it is installed now you will get the actual Installing Cuber Nits components in Now you have to do this, the version is v 1.29 If you want, you can use the latest version as well. You can also do 1.32, you just need to go here This thing has to be changed and what else can be done He is updating the system Also important are packages like curl GPG is installing everything you need. Download the system update and cube lat and cube adm and cube ctl It will install these three things and that's it. It will hold that if you stick to the same version I'll copy this and paste it. I will give you first Master Pay Enter and then I I will paste it on worker and then enter cube. Adium needs itself in both places, okay? Cube Adium is needed on both the place Brother, the master and worker have been done, just see All these things that we installed Is it installed or not? Cube CTL Done Install Here Cube ADM Ho If the installation is done then your master and worker Both note the common things that had to be installed And now it is executed only on the master. Node now has to do things that just If you want to install only master node then first What I said in my diagram Whichever server you are using Cube Adium on If you do it, he will become a master, so right here So if I do sudo kube adium in it What should I enter on Master, now what has this become? He is becoming a master, meaning in this Installing Cuber The control plane of the Niti will become the API server. Scheduler Controller Manager ETCD SARI things will be installed in it because This is the master, this is the control plane. All things will be done detected that the Sandbox Image Registry and Cuten RAM Inconsistent with use but it is not recommended No, there is no scene, it will continue. There was a warning that it was not a controlled scene. Plain Using Manifest Folder Done Control Plain Creating Static Pot for API Server Controller Manager Scheduler Can You See It has become ours, this wonderful thing has become ours. The control plane has now been created, which we Cube Adium it did that from sudo means root user but you can always use root user You will not be able to run things on your own. You will also have to run your own user from the user of Meaning I am an Ubuntu user so I am using Ubuntu. which is the current working directory She's a home stew, so what should you do? a new DirectoryEntry You have to create it in that directory which you The admin has conf files that are stored in the ETC grave. You can save the files in Nitus Admin Con. What will you do with your new dot cube? Once you have done this in the folder, then you what to do with that dot cube confine There is a folder inside which the confine is kept If its ownership is changed then what will it do? This will make your user who is yours Current user is who am I who am I natu this Nutu can also run the cluster as a root user as a main If the user is able to run it, then this is a small step. Now what I told you to do Whenever a cluster is connected to another master And this is what your worker nut communicates So a container does it from the network interface If the CN network is Calico in this case What do you want to do, apply. Have Project Calico on your cluster? So from cube ctrl apply which calico name network of all its manifest files All the important things that happen to him Kali will install them to run Enter and put put put put put, everything happens I created this custom resource definition brother. What is a cluster role? What is all this, you deployed video? I'll get it, okay, it's done. The difference between our master and worker The connection is set up correctly. Yes, but brother, the worker doesn't even know. Where do you want to go? So let's put some commands on the worker. Let's go by the way if you have any If you want to make the worker node join the master All you need to do is create this Cube Adium token print join command this is it just here You have to go and run it and it creates the token. By joining Cube Adium, this port This token is passed through and anyone can use it. can join the server now if I would do cube ctl gate nodes like We had seen the mini cube cases, right? I did cube ctl gate notes so Notes were also visible in their Kind cluster I had taken notes, how is the current situation with him now? Gate nuts have only one which controls There is only one plane and it is ready for me now. This worker, this worker also has to be added to this I want to add it to the master node, let's add it. I will give it to you, now what will I do with my workers? nut p boonga cube adium reset by mistake We don't know what happens then. Hota Kabhi Worker Node Pa Jake Cube Adium It If done, that worker node becomes the master. Cube ADM reset preflight check From you to whatever things are in Cube Adium If you remove those things then changes are made to This by Cube Adium Inate and Cube Adium Join will be reverted Yes, it has become very clean and pure. Our worker, now I join this worker How will I get it done, how will I get it joined, this is mine There was a join command, Master P, I copied it. Tax I will take it and go and write it on this worker note. sudo y ... Starting the cube late cube late Where does it live? It lives on the worker node. Worker node on that cube let start Given and this node has joined the cluster then This cluster of yours, beyond which right now There was only ready control plane, now if you do Cube CTL Gate Nodes can you see a new guy has joined He is not ready yet because right now He will get ready, comb his hair, he will be very nice and sharp If you do watch, it means every two seconds To see the output of the command cube ctl Get nuts so you'll see 40 seconds 42 seconds Come on brother, brother is ready, so this The way you did it is so wonderful Cluster of cubes Brother, you have made it very nicely. If you want, kube ctrl run any pod Can you run it with Let's, what is a pod? You will find out in the next video, but You can run whatever you want on it like cube ctl run nx me engine run which is To run Image Engine from the latest image, enter Pod Engine cool pods and whatever in createdted That cube can also be created through ADM. I hope you enjoyed it, I I have taught you how to build a cluster. Hai Mini Cube Pe Cube Adium Pe Kind Pe In the mega project or end of the from you If you will see EKS too then it is great, let's move ahead. If you continue the video, the cluster will be created. Microsoft told me that it means monolith. Told the architecture, told the setup also I got the cube CTL done and told you everything. It's done, show us some action too. Move things, make things happen, what's the point in that? In this he first understands the whole me I will explain the whole story, so first understand it. The story of how you run a Dogger container It happens that Kub Nitus is fine A Docker container has to be run but this The container you drive is an individual You don't run a single container. You run a container in a pod of sorts. In a pod, one or more in a pod More containers can be run but now cuber What is the work of Nits Auto Scaling Auto-healing is what you need. diploid ok deploy you need cuber nits If you want to deploy then after your study You have to learn deployment now this is Deployment is how you expose yourself to the outside world. Accessible Doge Who Was The Outside World If you had service then you also got the service of Kuber Nits. You will have to learn, there is no service, so take this Look friend, it's okay, what will you do? You will also have to learn service, okay Kuber Making cheese is not that straight forward. You would have just run a Docker container The work is not done. Let's run that Docker container. One of our engines is a Docker container from Ecus EngineX is a Docker container of EngineX The first pod of that Docker container Then a copy of that pod will be made. Deployment will become a service And only then is your User You are a user who can access it You will get this user and you will be able to access it. Brother, if you are like this for Angel Nicks then it means Like you mentioned about the engine, probably It must be correct for other things too Just like Engen's, your My Sequel is the same. It would also be for It would also be applicable for MySQL If I pot it in containers If you learn to make all this service then I will be fine. You just have to change the container, then everything else. I will make absolute just for her. The configuration needs to be changed a bit, but The story is that P Deployed Service or At the basic level, you have to learn it. You can modify the containers you have. Yes, but I have only one engine brother. running and my sequel on the same cluster If it is still going on then there would be confusion, right? How do I manage everything, like you If you open it now, you will have many There are many groups in Raat There are groups like there is a group Your group of friends whose group Even taking my name means feeling ashamed, like me. The group of friends is the most decent group Whose name is Look, who will be yours now? There is a group of friends, please chat with him. Tell me if there is too much obscene language. If there is no Adh, then there is a cute one. The group lives in a happy family in which the house People living in an abandoned family home People live in the same way in Kuber cities There are also groups, what are they? There are groups in which members of that group All the related resources are in this pod. Deployed service contains all these resources If there is, then that group is not called a group. The group is called the name space okay it's called name space or Then What does NS say, namespace say So what is a namespace? A namespace is a There is such a unit that that particular name All the resources available in space These groups will remain for the group and other groups. If this engine will not disturb the Do not disturb mice cycles with Pod is This pod will do it, this one will not do it. This service will not deploy it not isolated so that you can manage If it becomes easy then first of all we If you read about namespaces, I What will I say to my Mini Cub? I will come out and I will be kind to everyone. Some Kind Clusters Okay So Kind You have created a cluster, you have made everything, how much It's cool, isn't it? You've made a mini cluster. I made a cube as well, everything was fine. Yes, but in this particular session I Whatever commands are there in the particular video I create a repository for everything. Whose name is M KD I R Cuber Nits I will create a folder for these one shots. Cuber Nits in One Shot and everything inside it I'll put things in okay so cuber knits in We will play our game today in one shot. So what do I need first? First I want to start with namespaces. from so cube ctl get name Space cube ctl get name space or else You can also do this as Cube Seat Gate NS yes ns means name space so you get the same You get the output, brother, what is all this? Default means that which has no If his God does not exist, he will exist in the same way You did not create any namespaces And if resources are created in it then by Default goes to the default namespace If you haven't created any namespaces So it goes into default mode. What happens when you have a Kube Node Lease? The nodes of the Cuber Nitus cluster are formed Where does his information go so cube Node lease public as much as outside services What about the publicly accessible If it goes to the public system level Where are the services you are running? If you are looking at the cube system, you will need to have storage If you want to get it done then there is also a path in the local storage. Basically the pods are running so if I do I am telling you that brother, I have a cluster on the server. Which pods are running in So Kube CTL Gate Pods S Cube CTL Gate Pods enter No Resources Found in default Namespace Meaning Cube CTL Gate NA Joe The namespace is the default, with nothing inside it. Running but the system is our cube system So cube ctl get pods in the name space Hein An in the Name Space Cube System Enter Now Look, all our components were core DNS ETCD and some APIs of the kind Server Controller Manager Queue Proxy and The scheduler keeps track of where everything is running. Rha Hai Cube Ctl Gate Ns Cube in the system so that's why in Cuber Nits you You can run multiple A's with different names. In space, just now, for example, I Am I going to teach you Angie Nix? okay so what am I going to do cube ctrl create ns means create A namespace called Engine Eks Ek Cube Seattle Create Engine Cube Seattle Create an engine to me name space enks Get an excellent engine name. The space has been created, now I pod in that name space I will create it, I will deploy it, I will create a service And if I get it accessed by my user then this Everything will be fine, it's done now. What will I do, all these things are based on I will make a simple cube, ctrl run cube CTL Run Cube What is CTL Run Like your docker run and image name na so cube seattle run engine so this is the name engine hine hine image is equal to What does it mean to be alike Docker Run Engine and Engine create containers It starts moving, look, I'll show it to you. If you do docker run engine then the engine will start running cube ctl run Nx and image which engine image lifted I will take it, okay, so this is mine. Photo also came ok cube seattle run ajax Image engine enter pod ajax CreatedDocumentsFragment Meaning it had to be run in this particular namespace If I Cube Seattle Get Puddled in the Name Space When I exercise my engine, he is saying nothing. Yes, but by mistake your pod is default. has been created in the namespace, so when something like this You can also delete your pod if you make a mistake. If you can, cube ctl delete pod and pad Name of nux enter pod deleted then your pod Can be created, can be paused, can be deleted It is possible If your image is not found in LETS then Image Pull back off error crash loop back off error all this Errors may also occur, so upload the image properly. bro ok and where do you get this image from picks up from Docker Hub ok now I have beans I will run the command cube ctl run agnes image Annex in the name space within a name space Here, this time, I will define these The Name Space Ajax Enter Pod Ajax Create Now if I do cube ctrl gate pots o No Resources Found But Cube CTL Gate Puts in the name Space Inks Boom Your Engine of the namespace This pod has been formed inside and in this way you Creating Pod Namespaces from the Command Line Now what I want is the command Don't do too much on the line because the command You will forget which command you typed. drove That's why this pod namespace is deployed Service, all these things, we are will be created through ML files which will be Manifest file is also called manifest File sote na power of manifestation aap jo If you want it, it will happen, then whatever you want will happen Write it inside a file and the same thing will happen. That's its system, so let's manifest Let's learn to create files, delete all these. Dude Cube CTL Delete pod named enux which namespace Inside Anx is the deleted cube ctrl Delete namespace nx so name space and nix too Deleted sorted brother, how very correct thing Yes, but what do we have to do now? Create a folder named enx, ok ajx Now cd nx if I want to make an NX, what should I do for it? I need something, I need namespace, pod Needed If I create deployed files then EM name Space dot wa ml e m namespace dava aa What this is, I'm basically creating a file. I'm living in a place called namespace and its What am I inside I will make a manifest inside it I will write a file I will write a file like this So that the name space is created, so like To create a cluster, we The kind of conf file that was created was It was a cluster, so it would also have a kind of name. Space now like its API version was kind of Dot x Ked Come and So On will be its version Why v1 because version one of Kubar Nitus Currently running KBS version 1.31.0 on which we People are running API servers, that's why Its version v1, write this much, okay, this is it Now the information that needs to be given is gone. It is in an object named meta data, brother. Object means you press the colon and then press enter. And it contains multiple information will go yes so what is this kind name space is the key value pair is API version v1 is again API version v1 your key value The pair is the name in the meta data is an object Inside which meta data is an object name Please enter the name of your namespace. from lats Enx is over, that was all there was to escape. colon entered Now what will I do now, I will say it now. Cube C to Cube CTL Bhaiya Mere Apply it whenever you create a confession file. Either you create it or If you apply then create means only once Create happens, apply means create also If it happens and gets updated then I always I apply cube ctl Apply this file of mine. The name is namespace ddl. This is called your API server. Navigate to and apply to your cluster two enter Namespace Engine CreateDrawerNavigator If this is done, then this namespace is yours. Manifest File Everything in Cubber Nits is a manifest file and this manifest file A Kuber Nits when you apply Resource cube becomes the object of Nitus If you do your cube ctrl gate ns then You are here engine Pad makes me Padwa, I am going to make pad now, pad now, pad What will remain in me is simple, your kind that will remain and What will be your API version? It will remain there brother, whatever your fate may be. What should be the name of the data that will be there? If you want, I can give you the name of the pad. Ajax Pad Now the meta data or the angle spot is Entering a namespace within a group If you want, what will be my namespace? ajax because I am inside the engine namespace I want to create this pot, okay, so Your pod's metadata is now complete. I need specifications, I need specs I need specs of pad hoga, bh now what should I do I don't know how to write spec now. How do I write a spec for it? It's very I will tell you a simple trick, pay close attention You have to see where you have to go G P and write Cuber Nits Pod Bus and you will get Pods Kuber Nits here It will be written like this, click on two pods cubes come Gaya Cube Can 11th and 12th December Brother Cube I could not go but for you people I Cubber Tzan one shot le ke raha hoon to Cuban can go next time in a pod now I still said it in English. If you want to know, read it now. There is a spec which is the template of the pad, you You can also see from here, I will explain it to you. Yes, but you can also see from here that the You have to create containers in the spec Meaning there can be more than one container. Yes, let's make it so there is space in it for you. You can create containers one by one or more. more and the containers that will remain You will have to name it like every single A container contains an image and If the name remains then the name of the Container Engine Which Nix image to use Ang Nix Brother, you have to use the latest image. You need the latest everything and everything that your ports Which ports will remain? The ports you have are multiple. Whenever there is multiple, you can list Remember that by dashing you can make a list If you can put it, whatever you have The container port will remain your engine. Generally it runs on port number 80. That's it. That's all you need to do is use a Docker Compose command like You write that you write the name of the image in it. Do you give me the port from which second I have to insert it? If you write any environment variable If you have it, you can put all that too. If you can put the specifications here, it Your PAD manifest file has been created Kind PAD API version v1: Pad name in meta data Enx its name in the engine pod namespace Space has become spec or specification What containers did I get called Angry Birds? Nix and uses the latest image editing software. And in port the port number is 80 you have installed it. I put confine and the manifest said that I want to manifest this escape colon w k Enter and you simply wrote cube ctrl Apply hine f pad yamal and enter pad If you do cube ctrl get pods something You will not get it because of the problem of the pod In the meta data of the file, you Namespace what did you put engine to cube Seattle Get Pot In The Name Space Engine Will you do your pod running great, your engine Brother, it's moving inside the engine pod. How to get inside a Docker container Dockers used to enter inside it one by one. How simple is Cube CTL Ekak hine it interact terminal at ghus Go inside whom do you want to get into, inside the engine pit If you want to enter then please What is the name of the NUX pod namespace? Space Enx Now when you enter, which shell I will use nfan bash enter this what happened han what happened to bash cube ctrl Ekak hine IT engine pod in the namespace Eugene Heine Bash is an object of what is happening. There was a particular command to do this when If you are also using bash then in between Make sure to hit space otherwise he will think that brother What is he doing? Enter the Agen Pod. Try LS inside and see, it is running fine and One thing lives in Enux Welcome to Enux If you come after writing this then curl it Curl 12701 Can You See Welcome To Anx, your agency is running but brother this So it is not going well, if you tell us If you can show me how to run it on the browser then we will enjoy it. We get happiness, it's not fun But learn to have fun because cube CTL Get Pods in the Name Space Ang Nix you do then you can your pods You see, but that pod is not working properly. How is it going, you need to know The debugger is very important, so I This is also mentioned here in the syllabus of this course This is how you learn debugging. Debugging and troubleshooting here How do you debug in Cube CTL? I will also teach you how to check the logs. Cube CTL describe pod nx pod so you your Can you describe the NX pod? Using the name space Nx enter hey man I Cube Ctl OK Cube Ctl Describe Pod Ang Nix Now Look At Your He would tell you everything that happened with the pod. that your pad name was this namespace this No priority was set by default service account tha node this pod node number one The start has been directed at the waste worker. Time started at this time, it This is the IP address, this is its container ID. Its image is state is running and volume Mount by default this volume is mounted now What happened when that happened? First assigned to NX Pot Cluster who assigns then the default scheduler who The schedule he assigns to the pod remains that this pod is on this cluster will go to this node then queue bullet What does it do? It pulls the image. He pulled up the image of the engine, then why? What did Balet do? He pulled over and Then I ran the engine container and it All the data is passed to the API server. And the API server stores it in ETCD Given so that you can read all this and understand You are thinking that this architecture diagram is just And just reading is one thing, then command. It is also very important to understand by digging through It is important that the API server is configured with Kube CTL said create pod engine then he Bhai Pod Schedule said near the schedule I decided that brother I will go to the first node. I'm going to schedule this pod again. The cube that was lying there, picking up the image ran the image and then your pod finally I started understanding and that's why cube ctrl Describe is an important command and Types of cube ctl units inside it Engine Pod in the Name Space Engine Hyph Nuffn Also to get inside the bash pod If it is an important command then give two commands to your best Prepare this pod brother, then Docker You create pods just like you create containers. If it is made then see what is special about it. It is not a specialty to make this pod scalable Making is a specialty and for that you Looks like diploidy What looks like diploidy When you make palay ment, just like you made pod Made by the way v m deployment dwa AA you I will wonder what you are making, you are kind of making it. are yes what Deployed ok what will be the API version v1 Then you will say brother, when we made a mistake As you said, we are here We went and wrote Cuber Nets Deployed. ne and deployed here opened end like The API version opened and was written here. Apps v1 was only available till now, now it is available in P v1 Tomorrow there will be something else, of course there will be A particular one for each API version If a value is given, then the one that is deployed No, for that there is a S v1 version, so You should use Apps v1 instead of v1 here. You will have to simplify your metadata. Meta data will remain, you will remain in meta data You can say that brother, whatever my name will be That will be the engine of the deployed one. My name will be engine deployed. Space will remain, that will remain the engine name of space. Then the speck that remains is what is diploid? But why are we writing, what are we doing? By the time people read it, they understood that brother Meaning the container is inside the pad It works, why should I deploy, understand this. Whatever you have to say or whatever you have to say This is a pod you can make Make another one, make another one You will take it, but tomorrow you are making this pot. for more on amazon.com amazon2 three non-working your entire India is coming there and buying shampoo and soap. Because it is cheaper at that time. I am joking, on the Big Billion Day sale. If the traffic is too much then you You don't need one, two, three pods, you need a group of need pad reps Such was the rept This is what rept would have been How is this, how to put it inside, this is This is the result of rapt, by making you rapt. will give three Cheese Rept Of Set Stay Full set Diploid brother, if you maintain the rep If you want to do it then as the name is Rept then Rept Let the set do it, so this stateful set What is diploid and what is diploid? There are three different First let's understand why this thing is diploid but Before you understand diploid, you need to understand This word will be called Rep Controller Rapcase. You cannot assign all the traffic to a single pod. You can give it because the poor pod will die Then you make rapes of it, so rape is rape. of the controller pod Reps manage Rep work. Meaning if you said one pot then one pot If you said two pot then its ident tomorrow. Two pots will become clones, aren't they twins? Well, rap control is control of rapes. does So what is a rep set if you said I have this template of a pod, this This is a template of the pod in which I want to use the image. Angry Nicks should be more rept Four will become your one, two, three, four pots. This is rept The set is then a stateful set that each one Pods can be created and deleted at any time. His information could be lost at any time. The stateful set is what each pod says I will give you the numbering, number one number Number three, number four, and so on in each pod. Key state maintained in a by-number sequence If it remains then that state is fully set and The third is diploid diploid and rept The set remains almost the same, in that too you You can only make reps but deploy you a Rolling works great Updates Rolling updates mean if your Four pods were formed, four repts were formed, you have your If you change the image of the pod then the rept set In this, everything will change completely and What is the problem that your application The blue application is running You have to click update so that it becomes yellow in colour. So the whole application converts from blue to yellow. It is happening in between, there will be down time in between If the application stops and starts again, it There is a downtime issue What is deployed? It does rolling updates. This pod will continue running until the first one This one is getting updated, this one is part chat This one is being updated while it lasts. So that's why these three works are almost similar. Are you doing rep cation that after a study They make twins but give them to all three. The objectives are very different, let's consider all three. When you look at it hands-on, you You make it deployed in it Reps, please tell me how many reps I have. I need two reps from let's Who needs it, who needs rapt, so this I need someone in whom I can recognize that friend This thing is mine, for example, I like this This is my pod, the engine in this pod Ek is going on, two reps have to be made of it. So Diploid can recognize these pods. should therefore label this pod You have labeled me Deps, right? Well brother, I can recognize you. Similarly, this pod was also given a label. that brother anx pad or p ejax And to select that pod, press a Do you need a selector as well? Do you need a selector as well? If you want, what are labels and selectors? Yes brother, please give a label to each pod. Give him a naming slap that this brother, this P is the P of Ajax and say it in deployed. That Selector Select something that has a name is ajax so if this pop name and this pop If the name matches, then copy that item. If you apply your reps to that thing Let me tell you, I need two reps. I'll go into the selector selector and I will say, brother, match the labels. Label it Any label that has a page Nix will get him matched but his So I need the engine too, so I I'll make a template, template and In the template I will say that meta data What Labels meta data in the labels template What happens is your pod's template remains Hey engine, what did I do? General information about the pod in the template Template means what will be specified in it and what remains in the speck of the pod Containers live and what's in containers Remains name ta hai engine container whatever you Naming the image remains engine Latest and what are your stays and ports live If the container port is exactly container port 0 then what did you do here you created a diploid ok what is diploid control the repen To do your one state particular File a file to go to the desired state You write that you want it deployed. Make two repts, make two twin replicas and Any Pod That Matches the Label Pop Engine Ecs Select him, meaning I have the power. There is no way to duplicate anyone's Whose butt should be made to make a rept? I want to make this whose app is Nx now He is my selector whose Pup Annex Now I have to find the label of whose puppy is this? Nx is good this is a pod its label is Ang Nix is ​​pick him up and make him rep This is what I'm trying to do template What happens is that the puddle you have is the same here. If you have to write, then even if you don't paddle If you write it, it will work too, then you Write metadata in the template, meaning whatever You want to enter the name from let's enter it Write your name if you want. Enux Write something like this in the pod of diploid engine. You can name it anything like this It's yours brother, you can do anything. Labels Engine It is very important that the What is the label of the pod you are making? Angelina is her label what is the spec Specification of your Pod which is your container spec so what are the containers in it Hai Name Ang Nix Image Engine Latest Port 80 Done Escape Colon Del Key Enter Done Cube Ctl Get Pd In The Name Space Enx It's going on now what did I say Deployed will also create pad and give pad also If it is created then it is of no use. so what can I do cube ctl I should delete my own post. I enter the engine deleted Gun now what can I do I simple I can tell my cube Seattle that brother Apply the manifest I created. Which I created as the deploy manifest Apply that then cube seattle apply Han f deployment yall enter woh kya bol Getting error one creating deployment Deployment version v1 cannot be handled Deployment Strictly Decoding Error Spec Rept so your version of deployment It remains there, there is no rep in it. If rape happens then you will have to do all these things. How will you know again like I told you? You have to go here or find the reps. If it's a small mistake, you can fix it. is escape calculus w k enter cube seattle apply h f Deployment Enter Deployment Agent DeploymentCreatedDocumentsFragment In the Name Space Engine Two pods are ready meaning if I do Cube CTL Get Pod in the namespace and Genetics A Jinix became two pods, how cool is that Cube seattle get pot became two pods and right here. But if I do two cube ctrl Scale Scale A lot of traffic has arrived Scale Diploid named Angie Nix Deployed whose namespace is engine uske rapt kas kitne kar do five kar Two Enter Deployed Playment Scale Cube Seattle Gay Pods Five Pod Running Drop a Boom In the chat if you understand how a pod How to make it and how to do five reps of it easily using Can scale deployment Now I don't need five, I just need one. If needed I can use cube ctrl scale Deployment reps can do one and boom If I make cube seattle gate pods one I am running it, I will do cube ctl Get Reps 10 & Fatak to get your 10 containers Creating Get Pods Running All Running is in this cool drop a boom in the chat if you Find Cuber Tuzz interesting now I'm a I am happy with my simple rep. I'll run a small pod, a pod, okay, understand. Now what did I tell you? that rep sets also control rep How many reps are running stateful Sets also maintain reps Diploids also maintain reps, just dill T updates your rolling brother rolling What would the update be Hey brother, do something after asking for his command. Brother, teach me rolling updates, I am not Let's know why we do rolling updates I scaled my deployment from And if I did five reps, then my five reps Became Get Pot Five Became Now About It If I need more information, I can go to Gate. If I write to you, I will More information is being received that this study worker two is on it's on worker one it's on Worker is three P, this is two P, this is one P And so on, I got all the information. If you don't want it, you can remove it. Less information is available, the question is this All the pods are the latest version of NX. I am using it, okay, use the latest version I want to update you from Lets a little older version ok so what should I do I will find it here Enux Docker Version So here I have different ages You will get versions as there is a version 1.7.3 and one is 1.27 ok there are two versions 1.7.3 and d Let's make 1.7.3 one and 1.6.2 There are two versions of me, in between these two I have to update it, how will I do it then cube CTL set What is the image CTL or roll Roll Out Cube CTL Which engine is diploid? diploid enzymes that are diploid Space Kisam Hai Engine Me Hai Set Image is equal to what Anagen colon 1.7.3 Enter Woh Kya Bol Raha Hai Set Image So the command for its rollout is Let's take a look at the cube ctrl roll out Command again you get everything directly here will go set image Cube CTL Set Image is a command which is very easy to use. I'll tell you, yes, here it is. cube seattle set image whatever your image is Whatever is your deployment, take what is your Take the image, okay now this NX Equ. 1 has been paid what is it so what This is the command cube ctl set image cube ctl set image whose mine [music] diploid diploid Set the image of the deployed organ In which namespace should I put that? of your nux container in the namespace What is the name of my engine container? what image do you have to set 1.7.3 Enter deployed image Updated if you get pods can you see running running running error e pull means your jo You updated the image, there must be some error in it. Image pull back of error is coming, which means you You are bringing the image of Anx, she is messing around Is 1.7.3 The image is messed up so here it is Let's go and get the particular 1.7.3, that's fine. It should go, no problem, so he is saying The image is messed up, no problem. People come with another image cube ctl set image Let's take a look at Engine 1.7.1 and see the updated image. Get pot now Running Image bridge okay let's de back this that this Why is this happening? We kept it close If it is right then you should go I am getting an image pull error, why is it happening? Set this image to latest What problem are you facing with your engine? next to the container name Enux Key 1.7.3 What I was giving was the image I had to give. 1.2 7.3 which is not an image at all The container name of the engine is equal to the engine key image colon whatever your tag is enter Image updated now you see get pods now See container creating but when this container Was it being created or was an error coming from LETS? Still we had containers running that It is known as rolling updates, this means a lot. It is a good example that rolling updates You are doing it and while doing it, an error also came. So the rolling update work that remains is bye If an error occurs from the chat, all your pods Pay error will not occur, some pods may be running And some pods are getting sequential updates and if you do get pots now all chal How cool it is Similarly if I I will set the image from let's 126dt I have updated the old image. If done then image updated get pods did something The pods are still running and the rest The containers are being made and the rest are ready. I am not going to run, I will get the pods Now some are terminating and becoming containers. Still some are moving and now all are moving If they are there then they will never be able to access all your containers. I don't switch them off all at once and keep some on. that is where it is known as rolling Updates OK. Interesting brother, back to the latest image. Bring it, I'm just going, I'm enjoying it, do you understand? I am Kuber Nitas how you deploy You can create multiple pods You can make reps and keep rolling those reps. Setting the image by updating and setting the name You can set anything you want to do, okay, let's see. Let us tell you where we are in the syllabus. Where have we reached Brother, if we talk about the core concept then We have made monolith microservices I have done the architecture of Kubb Nits I've set it up, I've seen the cube seattle. I have seen the pot, I have seen the namespaces See also Labels and Selector which is Anosh Deployment in workloads Rep Sets Greedy About Reka Sets talk do so cube ctl delete hine f Deployed, now delete your plan. It remains set if you do CP copy Diploma in Computer Science Email is yours Deployed Ban Gayi Toi M Reka Set Same as it is, just what instead of deployed putting you Hai Rept Of What do you need to do instead of using the set and engine deployment? Jana Ajax Rept Sets Name Space Age X Rept Give Me Should match label Angel Depp replace Pad? You have two containers, so whatever you have Deployment remains the same as your rept side The only difference remains You can use the Rolling Updates role in deployments. You can do all this back roll out replica If I can't do it then escape column double enter Cube Ctl Hine Apply Hine F Rept Set of Set Enter Rept If there are two created tokens and two ready ones, Any too many in the diploid rept set There is no difference, the only difference is that You can roll out rolling updates to the deployed You can use Deploy R for updates. More Flexible End Thatchi which deployment use that wow rept But deploy is a little more advanced. How to manage that rep If your system is updating If the application is being updated then all reps No, updates should be done little by little. That rolling update in the rolling update here You don't get it, I understood it simply, it's cool. Rept's set is clear now brother, rept set is It's done for us, you Tell me stateful sets, tell me stateful We will set it a little further when we If you read storage then it will be with storage Will you read what D mind sets are, Bhaiya D? mind sets tell me friend de mind sets what Sometimes people from the North may relate to Could I do it in the rest of the South and don't know about the rest But have you ever been to a Bhandara? What happens to everyone who comes to the Bhandara? Someone gets food brother, it's okay by the way D The idea is to set these pods and cubes. CTL Gate Pods in the Name Space Engine X Ye Jo These are pods, who got them, who got them? Meaning you have three workers, worker one worker two worker three or worker worker two Worker Three to Cube Seattle Get Pod Hyn O Wide this pods are assigned to which worker nodes If so, this pod is worker one. But it was assigned and this rep is a worker The poor worker assigned to Two is assigned to Three. Couldn't find what D-Man sets are. D Man Sets insure that as many If you have a node then at least one pot should be run. Well, this is a simple funda of Devon set brother. Let's create the D mind set so cube ctrl Delete the High Frequency Rept Set are and a d dae m o n set d wa m l create a d mind set dmn set The method of preparation is the same as your Its method remains Kika Rept because Everything remains the same, so even if I For example, I might have said this Daala Rept Set Stateful Set Deploy Add to this another brother who lives with you. Have DAEMOON sets all the same work Your rap controller does everything Let's see what happens with But D Mind Set. It is important that one rept is running on each node. The name of the set is what work is, the more you Say Rep, make that much Rep, State Full what happens to the set of work Rept ho w a state maintain with himself Let's try what is the work of diploid Rolling updates as much as possible Scaling, auto scaling, auto healing, all that. If you keep doing it, it will continue to do its job, okay? Now let's see how to make this Simply copy it Low Rept sets were the same as D Man sets It just happens that the kind changes. AE MO NS T S DWA A D MUN SET IN Copied now I I M D A E D Man Everything of yours has come in sets, just this Reka set what it is it is de mind set de ae M o n y d man set a version a nd meta data Age isko de man set instead of age reka set put Two 3D Man Sets Named Space Age X Spec There are no rapes in this how it is that he insures that every If a rept moves on the pod, you will find the rept in it. There is no need to insert selector match Labels are needed because they are needed. Metadata in Brother template The Energy D Mind Pod Label is on the Energy Pack If you understand once it is over Let's say the name key and value are in the yal file. Kind Joe Kind Joe Resource You Have to Create Its name is API version which API version is used You have to enter its name in the meta data which is your Namespace is what you want to give your name to. The specifications that he works in If you create a pod in the specification template The template of the pod remains and that's it. I have to press Escape Colon Dull Key Enter Cube CTL Apply Hine FD Man Sets Enter D Man Sets Cutted cube ctrl get pads in the namespace Engine, guess now, we have three nodes. So three pods were also made anywhere I I didn't say how many reps I wanted. He said that D Man Set has to be made, so D Man Set made One worker node per worker node But one pod worker to pay one pod worker three Pe one Pod O Bhai Saheb, this is such a correct concept that With D Mind Set you insure that all One pot on the notes should be made at least one You make him do more reps and make him do more You can, it's cool how sorted the cube is. ctrl delete hine fd man I understand that while sitting on the sets we People have been waiting for me for so long, brother. I've been muttering for an hour, let me drink some water. Dude crazy I hope you like this video If you are looking valuable If so, tell me quickly in the comments. Video is valuable because right now The video has just started, friend, we have just What to do now to make the engine container The pod is created, the deployed service is created now What more do I still have to make? There's a lot to do Dem set became Rept set Let's talk about Ban Gaye Jobs and Cron Jobs Let's talk about jobs and cron What are jobs? First understand the job. What is a job, MNC or startup? I'm not talking about the job I jobs mean you a container To perform a single task from a container To get a single task done means not you You want that thing to run as a server Like it is now Shubham's as a server runs all day long It keeps going on all day long in English Batche Hindi English There are plenty of courses going on, you want that there should be only one job, it should run and be finished Correct so container has a task that Task is a job, it runs and Done, that task is over, it can be finished. Be something like taking a backup and patching You want your system updated? And that's it, the task is finished, the system is updated. The task is finished or a folder is created. Whatever happens, the task is over. Have a job then you create yes one job let's create jobs right now okay So creating jobs is not very difficult. What you have to do is v job dot job write dod y AA okay now that You are making it, it will either run single or Then it will run in parallel batches from let's You have a task to take a backup, either you Run it in single thread and take backup Finish or you can do this task in parallel Let two or three parties break down the same task. You can do this also, that is why Joe Kind What will be the kind of job he will have? The job will remain and its API version will remain. what will remain will remain batch because batch Processing runs in parallel processing If the batch is v1 then this batch will be v1. Then in the same meta data meta data you name You can write Nx job or whatever you want. Have to do a job, let's print some of your You have to get it done and that's all you have to do Engine Job, please write any demo job of yours, friend. You have written the demo job, now you will get it from Lets. If you want to run it in name space agency then you You can also run it outside in the namespace engine. If you want to drive it, you can drive it outside, it is important. This is the specification of how much you are interested in this job. If you want to get this thing completed then complete I want to run this job only once So one completion is you single running this job Do you want to run it parallelly? What would I put in parallel parallelism I want to play single if I do two here If I give it to you, they will become two pods and do the same work. So I want to run only one then which The template I want to use has the same What is the same meta data as my name? Also demo job pod template where came meaning You are making a pod, you should understand it like this and move ahead with it. Labels Labels All you need is whatever your I have to put it like P batch job batch job ok Something like this or write batch task, batch The task is done, now use your template. Metadata is done, write its spec that which What are the containers to be made and what are their names? Whatever will remain yours put the batch container nach nahi re batch ok Batch means either one will do the work or one There will be a lot of people working in batches. Many pots will work now this image Whatever you use, it is an image that is busy. Box Bhaiya, what is a busy box? A box is a container that serves as a Only for running commands like how an engine works To surf websites My sequel work remains busy with the database. The box's job is just to run commands. So this is its image if you want it Take the latest Okay now I have the command in it If you want to run it, busybox needs a command If so, what command do I have to run in the shell? I want to run a command in the shell. Whatever will happen, it will echo saying hello brother Friends, echo hello friends, that's all and run this command after And sleep just this much I will tell you hello friends and Sleep after 10 seconds, that's it. I just have to do the work and that's one more thing. Restart policy remains restart Policy Restart Policy means if this work expires or this container fails You don't want to restart it. Brother, if it ends, if not then restart. Policy Never Restart It what I want is that one of my Work is to print the echo Hello friends Brother, this is my only small work. If you do it then escape colon double k enter cube ctl gate no apply hine f job dal Enter what is saying Rita policy ayo ale If I spoke stammeringly then I would call Ri Ri. I have written that now Lita should not be taken away. If you give me leave then I will go to work and this Rita I'll write restart escape colon double k Enter and here I apply cube seeder Job Enter Job Demo Job createdted Jobs in the namespace Engine Ecus can you see Why is the demo job running after 10 seconds? There is a timer in it, so cube CTL Get Pod in the Name Space Engine Demo Job Status Completed Meaning, he ran the 10-second echo. Hello friends, I had to print and print If you did it and it got over then it means that the study will also end. There is a life cycle, what comes first? State remains in the container Creating then running then terminating Then after completing it, you will get an interview like this. Anyone can ask any question after reading Tell me different statuses and you will be in full swing. Telling Completed Running Terminated Image Pull back all the errors that came up Tell me what is in it, it is completed. Cube CTL Logus Pod Slush Demo Job Something In The Namespace I have also given the engine log. Hello friends, who Whatever logs he had, whatever logs came in Echo You can see all of that from the cube ctl log. Now I can run that job again. I applied for the job and went back and locked it. started walking Getting it, but now that was one job, that he The work is done, now you have to delete the cube ctrl delete hine f delete job You will have to recreate it and then you will see. Container Creation Now Get Pods Running Meaning that 10 second gate is running right now. logs karo get logs hey man r kt kya He has become 10 Second hello friends so job it's very easy What is your container in the job some task You should do that task, it is your job. Once done, your container will start running. Your Pod will not stay running What will happen after your pod is running? Pad completed will be Easy Cube CTL Delete Hine The job is fine, what did you teach me, namespace P D Man Set Rep Set Deployment Job and Similarly, you want this task to be any particular schedule But this is called a cron job What is cron? cron means following a particular schedule So cron job means a task that you can Create a schedule that will keep him studying It will keep happening, it will keep going on, but it will be complete only then He would have told me when that schedule was completed. Yes, let's teach it to you, so for that What you need to do first is a V Im Kr You will have to make the job dull in which again your jo Kind will be that crone What is the job and the API version you will have? will be batch sl vav because you will get in batches Get the job done so save your API What will be the version, what will be the meta data, what will be the name What is your name? You can put any name. that minute backup so I take backup every minute I want something like this, I'm crazy I am going to create a job, its namespace Engine namespace Engine will now be important What is spec, which spec is important What do you need to put in posting schedule I will have to make a schedule, this is a schedule How to enter schedule You have to eat cron and for cron You will need to learn which task you will be assigned. When to do it, let's say my task is backup and I have to do this backup every every day every minute every hour every day of the Week every day of the month to ek doti cha pa ek Doti cha pa so this is your minute It happens to be your And this is your day, this is your day of the week and this is the day of the month so what is this star star star meaning This is a schedule, this is a schedule Star means every minute, star hour means every Hour Star Day means every day is Star Day of the Week means every day, every day of every week is a star Day of the month means every day of every week Every day of the month I know you are confused Just have to go cron Guru, and here you can write whatever you want. Two astic at every minute every minute every r Every day, every month, every day of the week, this Let's say you want something running every minute. Yes, write this down every minute, every second minute You want to run every second, every minute Do you want to see the second half of the second hour, Avery? second minute past every second are you You can make your schedule here. I do backup every second minute I'll copy and write whatever I want. I will give you a tub and paste it in the shade here. I will give you my schedule is done, this is my Task every other minute Will work and what is the task that job template You will have to give me the specifications as well. You will have to provide that template in that job. The name of the pod in the metadata of the pod that will run anything will remain You can add whatever you want to add in minute backup. Yes, labels are important. Labels Don't forget the labels and put anything Enter the backup or enter the same name. minutes Backup anything you want to do You can also put production, you can put anything Yes, this is done, now your container Look at the specifications, this is the spec above. Isn't that the spec of your job template? What is a job? One single task job What is the template for that single task? template and What is your cron job? You can add that job template to Spec. You can simply schedule it now. What I'll do in spec is this my pod If it remains, what does it matter? Your containers arrive. Which containers? I will remain mine, my name will remain minute Backup containers The container that will use the image is the same as busybox. Because I need to run the command busybox will use a container named busybox Now if you want to write the command in a single line If you want to give it then you can do so in square brackets. You can write it in multiple lines if you want. If you want to give it again, you can use it like this First command h then hine c then you what to do, what is this brother, this The arrow that remains after this arrow, you want Keep entering cool commands line by line. You don't need to put hype hype It'll be kind of a multi-line thing Okay, so what I want to do first is I want to get an echo backup started back I want to get this eco started up Then once this is over, I will do it again. I want to be a I want to create a directory Ansh you who Whether you can do that, let's say I'm a I want to create a directory named will be Backups DirectoryEntry D I R Hine P Data One Data Name Another I want to create a directory, okay, and this I want to backup whatever data I have. I want to, how can I copy it? recursively everything that contains this data Inside the folder is data or demo data Take it, friend, okay, a folder named demo data. Whatever is inside, I will take it back I want to copy it inside the up folder. I mean, I'm just showing a demo. I am telling you that you can write the task inside and What do you want to do and get it over with? Then you want to write echo backup Completed OK and your backup is complete If it happens then this is what you want, now this is what you You will need data to do this. So when you stack a container or If you give it then no volume is required for it You will see the volume mounts. I will also explain in depth but what is volume There is basically a unit which You can create a folder to store it temporarily. If it gives then name data Volume and path or whatever you want The mount path is where you put a slash. Demo Data What will this do? A Volume A folder will be created named Demo Data. It will be named Demo Data and another one will be created. A folder will be created called Backup. What will be the volume whose mount path Slash backups done and what did you do with it With this you basically did this demo. Whatever backups there are, they are basically your data. The store will remain in volume, this is done and this After doing this, you enter its restart policy Two Restart What will I do on failure of the policy? If this pod of mine fails, brother restart it or else don't do it and this You have to mount the volumes, right? You have to give volumes too, brother. First explain to me what volumes are. Give it to me then you will understand, understand me in such a way that This is your pod There's a container running inside it called this pod There is a container inside and this is your host device this container and this device this between I want to parse the data So that there is no data loss, that is why you You create volume and that volume If you mount it on Y then it just Why do you have to do this because I told you If you give this Make a Directory demo I just did backup and just echo And if printed demos had been given then this would also have happened There is no need to do it, it is done and here You put in the volume whatever your volume is Name of the data Enter the volume and your path. Host Path What will be in the host path that The path will remain yours slash demo data and whatever you type what will it be I will also do it for directory backup. This is an actually working example backup The volume is backups okay that's done this actually A working example is that you have two folders Backup and demo data will be created and whatever demo There will be things in the data if e then that Backups will be backed up and backups If it comes complete and written like this then it will be your every It will run every minute, let's try it and see how it works every minute. Minutely Backup Started Backup Completed Backup started Backup is completing No Well, I've made it a minute every second. every minute so that you give me He doesn't have to wait for a minute, he has to wait for a second or a minute. removed and done every minute so now My cron job is to copy files from one folder to another. To backup a folder, run the cube. ctl apply hine f cron job enter error what are you saying There is error from server creating cron job v1 Cannot Be Handled Strictly Decoding Error spec unknown in job template spec Meaning within the field spec d job template To your spec Job Template to your spec inside template Labels it didn't get him so VIM Labels that come in the template in a cron job It remains inside the meta data, so put it inside Escape Colon Double Enter Done, now I will make a cube here. seattle apply hine f cron job enter then He is giving me trouble, what is he giving me? Unknown Field Spec Job Template Spec speck job telet scud speck to mean vi i Spec job template in M ​​cron job Speck dot speck it went wrong na speck Meaning your job template container so this If it comes inside the template then this template right, this will come inside it and all this will also come inside If it starts coming then what generally happens You can directly access the official website of Kuber Nits. You can also copy things from the documentation. Yes, that remains the best part, another thing that I would like to tell you that your certified Kuber NITS Administrator exam is held In that too you need cuber knits If you are allowed to read the documentation, now What I have done is cron in spec The job specifications include a The job template is that job template Everything should be included in the specifications. I did that, enter the escape code. What is Seattle Appli saying, tell me now. I am working on the Spec Job Template in Spec. volumes of containers then containers Volumes should not be I am cron Jobs that mount volumes to containers and the volume is yours independently It should be ok so this will come out for you I'll give you all this code on GitHub by the way. I will give it to you so that I can correct any errors that I get. Edit it and remove it No, because I want all this You are getting errors, please solve it. Learn and only then go and see what the person is telling you. it is invalid Restart policy may not be set to none Yet containers on failure required well on I have put on a failure. If it is on failure then it has been inserted, on failure yes no filler is inserted I would have never said it, what is he saying, is it an error? The required value is valid values ​​on If there is failure or on failure then what else did I put? I'm Cron Job Containers Ki restart policy aa to restart The policy is for containers that are restarted Policy for that template on failure has happened. CubeSeatleApplyFinally your cron job Brother, you have created this whole thing. Wrote a cron job and wrote so much in it How much is it brother, you are just a small part of it. You can also do the version directly. google2 cron job schedule you put the schedule job template you job You put the template in the spec Put the template in the spec container the same But now I will tell you what I wrote. A little backup and all that was teaching So I also put the volume down. I know you should not have put it but learn it. If you don't want to back up directly I want to copy paste things, hello hi If you want to put it then even a simple small one will do. will go okay it's done this volume you It will be very useful in the future, so I have just given you If you have told me, then your cron job is created. So Kube CTL Get Cron Job in the Namespace Ang Nix so can you see minute backup Schedule Time Zone Fall Suspend Falls Now The last schedule has not been suspended till 38 seconds ago, okay, that means schedule. yours is over Backup Cube CTL Get Pods in the Name Space NUX can you see the minute backup is for today It has gone, meaning it is the same as it was for a minute. It's gone, now whatever is coming next minute should also happen can you see 66 sec 6 Now you get a backup every minute. The message of complete comes, how cool it will be Isn't it true that the first one is complete? The second one went to check its logs now. Copy this cube ctl Logus Pad Sl A In The Name Space ajax to backup started backup Completed so how sorted it is now every minute If you scheduled it, as soon as a minute It will end with the creation of another container. Look, 110 is 110, which means 60 seconds and 50 seconds. seconds means another one in the next 10 seconds The container will be created and it will be periodically backed up. will take Boom, another container was completed and he backed up how crazy that you If you are giving any thing as a task then it is one way If you have to give it only once then make a job if Whatever you do once, you have to do it daily. To schedule is to schedule again and again So create a cron job just to give you the complex What is a part, the structure of the ball You have to remember, but brother, what Questions asked in the interview and its structure Definition and use in interview The case asks you to remember this or that Do not ask to You won't have to remember this will ever be asked Brother, you should also see this, it was okay, I enjoyed it. How to create a cron job in Kubernetes You have also learned something from some website. I have to bring it again and again every minute on cron Create jobs and bring them in a scalable way Cube CTL Delete, look, I will read the gate and make it five times. It must have been done, not made good every next minute will make whatever its next minute is whenever When will the next minute be over whenever it's over then it will be his next minute okay so cube saty delete h f can Also create a cron job with job.in backup It got deleted, I am having so much fun brother. I understand that in Kuber Nits you I am giving all the examples one by one. So that you can get jobs like cron jobs I would like to know all this by the way I am using cron jobs I have a little bit about storage and volumes. If you have already talked about it then please Talking about storage volume So let's talk about storage. Let's do networking, we'll see after that I would drink water Buddy Let's go back to when we created the cron job. When I created the cron job, these volumes were And volume mount, I did something brother. Understand what this is, that whenever You create a pod Whenever you create a pod, that pod becomes a server. would have been running on Yes correct, that pod would be running on a server. Or the right one would be running on one node. This pod is now running on the node This pod can also be deleted by you at any time. Anything can be destroyed at any time It may have been deleted or destroyed. Anything can happen inside this pod. the data that The data inside this spot will be will be What about the data that is inside the spot? What will you do with it if it gets deleted? So for example, you are here Gaya Diploid P Gaya Cube ctrl apply hif f deployed and you Cube CTL Gate Pod in the Name Space Engine You have made two pods from let's, this pod hai RSSM root this one pad this one this Particular pod your cube ctl delete Pod Ye In The Name Space Engine Kar Diya Deleted but then you got pot so one Four seconds ago there was a pod called P v7 It happened automatically because reps control The controller says that he has said so many rapes. So that's how many reps you need for an auto healing container It crashed and he rebuilt it but this What happens to the data of the container that is deleted? The data is also gone so you will need to restore your containers. Data has to be parsed to retrieve your pots data and to process that data Your Let's say with the host that your host is the host means your The server shares that data with your host. It's bound up with the pod, be it darned? If possible, you will need to host this data here. with persist so that the data If you go then you have to get it done how how will you do that to that thing For this you need Persis Volume and Percent Volume claim requires both these things Both these things are required, please understand. I am having both these things, is this percentage Volume and Persistent Volume Claims Is it so like this Understand this is your host machine this is your host machine is e2 docker whichever is your host machine It has some storage inside it from the let's 30GB of storage is taken, right 30GB I have taken storage out of these 30GB I want to allocate some sections Of these 30gb from let's 1gb means gigabyte so allocate in 1gb If I want to do this then what should I do with 1GB? created Persis volume created a volume I made it and told him that brother, my host Take the volume of one tongue from the machine, come on and If you make it then I said I am Went Persin went to the volume dwa ml and I One Kind Perseid Volume B created OK in which API version is yours v1 API version v1 I made it now its spec sorry Meta Data I told you that the name is is mine local persis at volume local pv its which Labels The labels reside inside the meta date. I took a local name, that one Now I put a speck in it Specification that this persis ment This is the volume, which is the persistent volume. What should be its capacity, so I put it in What should be the capacity, so whatever capacity They Depends on storage so I want If 1GB is equal to 1000 then one Jeeb I want what should be the access mode access Mode access nodes not modes that I read I want to get it done, I want to get it right or What I want to do is I read write once Brother, I want to get it read right once. This is what I want, this is what I Want Now I Want Persin Vol I should retain that if my I also deleted this Persis et Vol. So this is my volume here. If I retain it on the host machine write it here Persis Volume Reclaim Policy Persis at Volume Reclaim Policy Written so I want my Joe Persin Volume that I allocated a jib storage What should be retained? Then comes storage. Class Storage What is Class Storage Class names remain e.g. localStorage One remains local storage local storage Meaning the local of your host machine Storage Similarly, you can also use cloud storage You can also use network storage. You can do different ways of storing data Just like we save data on hard disk. Let's save it in the pen drive Storage is the same as saving to DVD class name means local storage you can use your local If you are storing data on the host machine then this Public is the storage class name and that is why you You will also have to provide the path of the host. So I will tell you in one path that my sm If there is a path named AT SData then this I have a path where I live allocat kar raha h toy sl a at sl I am allocating 1 GB in the name of data. So out of 30b on my host machine I gave him a tongue Given Linux in One Shot Volume LVM Logical Volume Mount Manager All that when If you read it, it will become more clear, that's why Kubus is a pre-requisite of Docker contains Docker volumes Pre-requisite and I m persis ment volume aa host path in p Capital remains The P of path remains capital P. If so, by doing this I apply Persis at VolumeCreatedDocumentsFragment Get Pv Get Persin Volume To Mujhko Aa I will note that I have a local PV whose The capacity is 1 GB and its access mode is Has read right once reclaim policy is written that it stops status available Meaning, this is a jib of the host machine, it is a tongue Of Persis Volume remains it It is available, it is made, it is available now. What do you need to do to determine the available volume? will have to claim will have to claim If you have to, it means you what is this vessel this sipper this sipper You have come now, I don't know whose this is from Let's If it is mine then I will claim it only then It could be mine if I put any here. He will come and take you away similarly to your Persistent one GB from the host machine volume has been made just made and that It is available, now you have to claim it also. If I have to, I am percent Volume claim Dawa A A now you claim that If you will, let's claim it now. How will you do it again Kind Percent Volume Claim Now the API version v1 ok api version v1 Meta What is the data name? What is the local name? Persistent Volume Claim Local PVC Now this claim is just a claim that I am claiming now this claim which He will also do it so that it becomes a tongue. Whoever claims it will own it. If it goes, I put it in the metadata. local PVC I will claim it now Resource sorry not resource Spec: Everything will remain in the specification Which access modes are the same? Read Write Ones OK Yes Access Mode Gaya Now Resources How much can I request from one tongue? How much have I been in one life, how much have I been If I want to take it then I can take 1GB of storage. I want to lift the entire tongue and whatever is your storage class name What should he be? The same local Storage Bhai, what do you understand about local storage? Escape call WQ is not coming yet In cube ctrl get ns namespaces Go and see, at the end, local path storage Know the local path storage in your Docker Binds together with containers to form a storage If it is there then the storage class name is local Storage is fine Is Persin about volume claims again? Kind is my persis et Volume claim means this is my percentage I am preparing a claim for the volume. I am preparing the claim, that claim What does it say that I request 1 GB? I am requesting 1 GB Request from whom To whom will I make my request? One GB request from Persis at Volume I am doing So right now I have the cube ctrl gate PV how much is available with me 1 GB available Listen again very carefully, very carefully From the host machine you have 1GB out of 3GB I have got it removed, I am asking you to get it removed. If you have persin volume then 1gb niklaav ke available Now if I have to claim it then what should I do? cube CTL Apply high f persis at volume claim which 1GB is available, I requested it. Trying to claim 1gb Enter Now what is he saying about resources? Persist volume if misspelled I'll go into claims and resources SO y R K went The resource is fine Resources, I'll apply it now. Persistent Volume Claim CreatedDocumentsFragment Done The one GV that was available is now available He is no longer bound, why? Because Persis et vol Claims gave him claimed it So if I do the gate PVC then my Near Local PVC Cha Iz Bound to local storage got a jib He needs to have my data first, right now This is my pod, this poor little pod Its data was getting deleted. Now what I want is this my pod in the host machine's mnt sl data save your head Keep your data safe, so what have I done? Created a 1 GB persistent volume One of that 1 GB persistent volumes I made a claim, brother, now this claim I'll give it to Spot. Let's give it to him. How will I give it, what I will do what I was deployed Which cube was my diploid? CTL Gate Deployed in the name space nks this jo It is deployed, its data keeps getting deleted So I'm going to delete this cube. CTL Delete between diploid and diploid It got deleted, now I have such a deployed Banani How can I create one whose data cannot be deleted? Sorry, how will I make it in the container that is there What should I call the container? I will tell you brother Volume Mount the volume now inside this container The HTML file of the engine which The HTML file resides and resides on the mount path whose path is slash ver Dad, Dad. html so I want r dad The path of the HTML should be mounted by whom? with My claim with my local PVC Na a GB of mount with him It's okay now what's mine Persis Okay and that's my volume If the volumes remain outside my container Volume Ay, that's my volume name. what is the name Local TV persistent this is my volume Whatever you put in BVC, now its Persin Volume Claim What is the name of the claim, local PVC? This local PVC is the name of its claim. You can name the volume anything. Enter whatever data you like. I feel like you can put PVC in me good I think I put it, it means What is this container that is the container of the engine? Its path, also dubbed HTML, is a The volume will remain mounted with its name. You can put anything like my volume Two my Add the volume you like and Create a volume named My Volume and that's my volume of that claim Name it the one that has 1 GB. I mean, these lines of it are not If it gets too much, reduce it a little. Are The lines are fine, look carefully now. I created a 1 GB persistent volume What was available was what I did as a persistent Volume claim which was named local PVC I requested this claim from I have bound it and this is PVC How many GB does PVC have? One GB is one Where is the tongue named MNT SL Data I'll tell Pad if there's a jibe on the folder Create a volume and name it My The volume and the data it contains Path de do let se sl ddd So what I did was change the container volume. This path is persic at volume in mount Binder with claim given escape card cube ctrl apply hine f What Diploid Enter Diploid Created in the name space Engine pods have arrived, pending now. It is pending If it is pending, it means that it is There must be some problem with the path and all this. If something like this has happened to you, then whenever it happens to you, Try describing Cube CTL Describe Pod Slush Whatever the Pod's Name Is In Space Age And what is he saying, zero out of four nodes? Are available for persistent volume local PVC Not Found Why was the local PVC not found? Brother your jo persis ment volume Its namespace was the default name. If you have space, you can use it for Angie Nicks. If you have to run it together then you have to enter name space will have agency And similarly your Joe Persis Volume Claim You will have to enter the namespace for that also. Engine Ex and then this error of yours is local PVC Not Found error will be resolved Cube CTL Apply or what to do first Get PV End Get both PVCs, get PVs and this Delete the local persistent volume Do it cube ctrl delete pv c sl local pvc whatever my Persis at Vol and which was my Persis At volume claim was the default namespace I had it, I removed the default name I removed the space one, now what should I make? Cube CTL Apply Hine f which is in the enux namespace Volume Data Email Engine Namespace If created, cube ctrl gate Persin Volume in the Engine Ecce Name Space now it's available now I can use it Persis at volume claim de dunga abhi If I do PV then I am bound Now what I will do is cube ctrl gate Pods in the name space what engine exes Running understood that you I every I am also seeing him introducing error on stage. As if tomorrow you will get volume creation If there is some error in it or there is an error in the pod, you can resolve it. If you want to de-buck it and learn to use it now This is my pods running means cube CTL describe this one which is pod pod this in the namespace Engine so he didn't get PVC at first Then he rescheduled it again PVC got Engine Local PVC got And he rescheduled it. Now brother, in the ver data inside the app The ATML that I have is my MNT S How to get it in the data, let me show you the cube ctl get pods in the namespace enx do Han o wid now see that your So which worker node is this one running on? This is running on a Teads cluster worker and This worker is not a node but a Docker container so if I do cube CTL Gate node so I have this y which is my pod this and it is running on a worker node with A worker node is basically a Docker container. If there was no Docker container, you would Directly CD SM AT SL data And you would have got it, but he is your host, isn't he? Your e2 instance is the two instances on that The worker node is not inside the Docker container If so, you Have to do docker ps and find that worker where node this is my worker node now this is that The ID of the container is now I want to create a container I'll go into the Docker unit within this container Id bash I container these now I worker node I've been inside and got the LS done and MNT CD M AT Kia Data Mila CD Data Kia End Data I didn't get anything because then I Nothing was created, perhaps the path if If something goes wrong, you feel like that. Let me create something there. I can create any data from let's or If anyone creates, he will be here gets reflected Okay, this is how the system works in it, now this mnt sl data this folder then become atleast Why because you have calculated the percentage volume Created a folder through and bound it. So this is how it works, okay, when I I will take you towards a mega project The end, so there we will see that my SQL data and how you persist it You get it done and how do you run it, okay but Before that, this pod is Cube CTL Get Pa in the Name Space These engine pods are working brother, but look If you are not there then how will you show it then a small So I want to tell you something that this It is a pod, well you have its data. I took the binder here, but this pod is for this It is deployed, it protects you from the outside world. to make it accessible to external users It happens and that happens via service proxy then you need to create a service resource I will have to wait brother, would there be any service? Whatever your resources are, let's Deployed that deploy if you get external If you want to access the world, you need a It seems like service, understand service in such a way that one There are too many pods that redirect You grouped them in deployed There are so many diploid, where should I go? Look at the service, you can see the diagram here. Service many deployed pay you Let me show you how it redirects how am I going to go over here I will serve you Dwa AA made in a service I will give it to you, now it is very easy to create a service. What you have to do is just a Seconds you just cuber Nits Service Just write this much Cuber Nits Write down the service and you will get one service. The file will open, now what is the service? If you need to expose your pods To the outside world, you seem to be a service. This means you need labels and selectors It will be installed here also and on which port will you open it? If we have to do it, we will do it. Come on, whatever kind of you remains will remain. The API version of your service will be Will remain v1 And your meta data will be the name. of the engine Service Engine's Service will be your name ok engine service namespace what is your Agnes okay now that spec You will have to give a selector there. Selector because you get this service You will have to find out for whom to expose. Well, whatever the label is, it's engine. Whoever has the label P Angle, I I will expose you, simple, where should I expose you? I will expose at the port which at the port I will do protocol tcp ok tcp protocol But I will do it now, there are two things in this, one port and there is a target port ok port and to port so Port means The outside world, which is outside your service. Which port do you want to connect it to? then I want to open the outside world on port number 80 I want to get it connected and the target The port is which of your pod Which is the port you want to connect to? If yes, then the port number of NX is 80. okay so I'm from the outside world If I hit port number 8, it will go in. The pod running on pod 0 within the cluster It will redirect to that, that's all written is now Your type of service is different. Types such as node port cluster IP Load Balancer External IP Headley Service Brother what is all this, if I cluster If I change the IP then the value of your cluster IP address is that one that comes out and A port is assigned within it and You can map with that if you I If I write node port instead of this then your entire You will need to remove one port of the node. Lets port between 300 and 32000 I have to find someone and that's you. Here we have to write this by doing node port Anything from 3000 to 32000 can be fine and load balancers for the cloud in general use because you put a load in it You also attach the balancer and cloud If you use some services If you don't write it then by default the star IP will be Types of service are created and which remain separate You can set any other IP in that external IP. You can also put it by entering the address. Enter the static IP address and headley Service General Use with State Full Sets What we haven't seen yet So type cluster IP this I will put this I typed cluster ip done and that's it I'm done, so I had my engine serviced outside. Port No. 80 in the world and inland Port number of the cluster Port number of the pod 80 will map to For Anything That Has P Nx So if your deployed label has If it is Inix then it will be exposed escape Call Duplicate Enter Cube Ctl Apply Han F what service dull enter what is coming service catch p hey friend v service.ts Because if you want to provide multiple ports Port s Ports This is done Apply Service Service CreatedDocumentsFragment Now is the time to access this service on Your browser So if I go to my browser here is my ip address 65 so its port number 80 so my p is running Why should I enter because it is not working? Your cluster is a Docker container. So port forwarding of the Docker container Does matter IP address needs to be exposed There is a separate command for that, the command is like this Type is Cube CTL Port forward cube ctrl port forward now Which service's service Engine Port forwarding of the service is required. I am kept in namespace enx Change the port number 80 to 80 of your system. and my IP address If you want to expose me to his address Cube CTL Port Forward Service Engine Service via an engine access port 8080 Address E to this now when you do this It tells you that you need to log in to port number 80. If you don't get permission, you can bypass it. You may not have this issue in your local area. If you are facing TP issue then you What to do, use it and use it High means it will run within an environment He then type this command sudo e cube ctl Port Service Enter what is he saying, address already in Use this address, it is already in use. Okay, I'll give you another address binder. Please block port number 81 what is in it Open port number 81p, here it is, it started working. Forwarding from 00 281 So I mean, for my brick instance If you have to expose port number 81 I'll go to my instance | Security I will go to IP Address I will go to Edit I'll go to these bound rules and add here. I will make a rule to whomever I tell port number 81 Brother, please expose it and save it. Expose as soon as I expose and here But I wrote port number 81 and boom Welcome to Enx so Creating an Engine container from your namespace Deploy Deploy from Pod Pod from Container to service and finally reach you. I hope this is what the journey looks like for you. Take any application, that application You can make this service by taking any application. Now you will make a service out of that application. You will make it diploid by making its pot. You will make a small namespace and run it. Let's take an example, let's take a small example Let's take it A boy Shubham 153 my repository You can go in and pick any application, okay? Pick up any application, let's take an Example of B B B B M take notes Notes P So Notes P has a branch Dave By doing this, this is a development branch. Pe one I have a P, okay, I like its Kuber Nits If I want to make it, what will I do? I will copy Treat It As A Small Mini The project is fine, I'll copy it. This will turn off port forwarding. Okay, I'll do a git clone of my I cloned the Notes app. OK. In cd jango notes p I went and git check Out Dave I came to Dave Branch P where I have kept all these things, now understand How does this thing flow, flow like this suggests that you first So a container has to be created and that container's The image is there, it has to come from Docker Hub if you want. I'll make you a fresh flow First you need to create a Docker image. So let's create the image, so this Docker If you have a file, create an image from it using Docker Build Han t notes A K S dot so I create an image of my Let me make a cool image of the notes. become gone ok This Python 3.9 is a bit older, so That's why there is such a scene, okay, I did this one created the image Make your notes Now this image is created, Docker Images. This is my image. Notes This will not work locally, in Kubus it If you need to deliver it to Docker Hub, then do it on Docker Hub What do you need to deliver first? You need Docker Hub login required Docker Hub login I need to log in to Docker Hub first. OK, I logged in to Docker Hub. I took it and as soon as I logged in, I got a I want to create a token. I can create a token here. If I can log in, I'll be here I create a token I'm making tokens for Cats in One Shot I am the one whom I can read, write and delete. give access I'll give it to you, okay, I've generated it. and this is my token and this is my I use this as my login credentials I will log in to my system and Docker login train vs Shubham copy this I've taken it and I'm logged in here now. If it is asking for password then it took this token. Copied it and went here and hit enter, okay. is logged in Succedence P Cats if you have to tag me in this Docker image tag which is the name of the old image He and his version and the new image is new Where should I put the image? Train with Shubham If you enter the account in Docker Hub with this name Train with Shubham Sl Notes A Cat's Colon Latest Tag Ho Gayi So right now if I do Docker Images Docker Images So I have Train Vi Shubham Notes A Cats Image Ban Gayi Ab Main I will do Docker push docker push latest push this image Two brothers where on my Docker Hub so Kuber Nitus will pull the image only if it It will be publicly available and can also be done privately. You can, but again you have to give him access. If so, it will go to your Docker Hub Pay & From Here Then to Your Pod Okay, I understand now, from here it is If it goes into the pod, your image will be delivered. Now what am I going to do here I am on MKD I will create a folder named IRK8S So CD's A A now what I'm going to do here I want to make it and I am Diploid mel a diploid brother diploid How is it made again, I will come here brother You said deploy, here it is mine It's deployed, I'll just copy it. Because I have already taught you all this. I have already learned how to write a diploid. Are It is so simple, just change how it will happen That I have a diploid, this is an engine of diploid Place Notes P is deployed in labels I I will put it on my notes, I will only rape one of them. I want to keep the match in level P, I will put it there Notes P This is my Notes P and match Labels also have notes on the back of the page. I will put it in and name it after the pad Notes and the image that will be used, which image I will tell you that image will be in your Docker The name of the image you pushed to the hub what is train vishu bam notes p kets so this I will paste the image in my deploy. Now this application is on port number 8000 runs done finish escape colon double k Enter finished Done Now I need a namespace You will also have to make notes by typing them. Namespace DWA AA and its kind here The name will remain Space And the API version will be what v1 and meta What will the data be like? Name Notes A These Notes A Name Key Name Space So, Cat diploid in which Namespace o namespace did not enter what and I In M Deployed I will put that this which I have a P that goes into a namespace whose Name will be the name space note p okay so in name space If it works, I have a namespace. I have become deployed, now I will make Service D y a a so how do I want in my service That my kind service became Whose API version should be v1 ok whose API The version should be v1 and its metadata should be named Notes Fifth note of musical scale Service then what else is there in it notes After the service, your name should be there. Space Notes App Notes Pup Name Space Yes, and in its specifications Selector what will be anything with pop notes Pup is a selector now the ports in it what will be the protocol they will use Then your TCP port will be The port number will be 8000 and your The target port of the container The target port will remain 8000 is done now if you want you can type it You can also provide cluster IP if you don't provide it. Also by default cluster IP will be saved colon dob enter your deployed name Pay service has been created, so what we have done I thought you had posted an image here first. Pushed the created image to Docker Hub The pod created is enveloped within the pod deployed. So my pod is covered inside the diploid. So I made it deployed directly. This will be deployed on service so I have Service was also made So here it is yours Service Done Now let's build one by one By the way, it also has a name space in the middle. Okay, so this thing is in a namespace. So all these resources will be in one namespace If I am there then what will I do now cube ctrl apply hine f name space name Space Created Draw Navigator That there is no error while creating the container The container is now running, what's the matter? Now this port number 8000 is for me If you want to expose the cube ctrl port Forward Service Notes Service of P which is in name space notes P Its port number is 8000, map it to 8000 with and his IP Expose the address You need to spell enter service correctly. If you have to write Service Done Forwarding Port 8000 Now you Go to your security group and edit it. In these bound rules and here the rule tax You have to give port number 8000, add it and Save it with Anyway IPV F. Now you If you go to your IP address and port If you go to number 8000, you will get one Notes on Snapping Bhadakta Cha is Running on Kuber Nitus so I hope you understand that How is the journey, it was said that it is mine Diagram a journey to learn how to In different namespaces you can have different Showing the journey of the application and the user You are getting access to and it's the Beauty of Cuber Nits So Your Cuber I also see Nitus's projects side by side. I am going while getting covered ok so services is also covered Now imagine if I drink slush so these p open if I will slush nx So if I open NX, I will do this like this I want it to open like this, it should open like this I redirect things I should also redirect the services, meaning like this Understand that my A service nearby I have a service from Let's is an engine There is another service of I have a service from Inix and another one Service is let's say notes of One is for service engine and one is for service notes of P I want slush whenever I say Nx then go to this service I will say when Also, I would say Slush Notes, so on this service. How will this happen, then for this you need one thing You have to use what it says Ingress so what is Ingress Ingress routing your traffic Reroute traffic to your cluster He does it and this is what we call it Ingress so if you have a high level of it If you want to see the diagram, this is your cluster. This is your cluster within this cluster Your pods are inside this cluster. There are pods, which are many, okay, right here. There are a lot of pods, okay, this is your pods. lots and this Pods are being managed by a deploy This pod is being managed by a deploy from And to access this deploy If you need a service, you A service has also been created, okay, and with that So you have another diploid and It has more pods And that's how it's managed for him too. You have created a service, now this service So access this It will take this service and it will deploy it It will access but if you have multiple Microservices architecture for services What happens to such microservices? If you want to manage it, how will you route it there? But you will need an ingress. Ingress is a service Basically it is a resource that allows you to Manage Traffic and Routes So if I Bola Slush The engine will go this route if I spoke Slush I feel like you will go on this route I want this brother, how will it happen? Come on If so, what do I need for this? I'll have to chance it a little bit. All this will have to run in the same namespace Is I have all this in the same namespace If I want to go, let's go, what will I do? I'll make a small edit here and I'm Diplo that this is name space notes p place I am in the ajax namespace for now run I will give the service an NX name as well. I will launch it into space so that my beans Both my engine and notes page in the namespace If I can run the cube then CTL Gate Deployed in the name space notes p so this jo This is deployment, please delete it for me. If you have to, cube CTRL delete Deployed Notes App in the Namespace A Note So it got deleted Similarly, Notes P's service I deleted that too, why should I delete it? I am doing this because name space is common to me. Keep If so, I will delete the service as well. Similarlly cube ctl delete namespace I also want to change the namespace of Notes Page to Notes Page. I'll delete it, okay If it goes away then my space on Notes P will also be deleted. All the resources inside Gaya will also be deleted. Now what do I do with cube ctrl? Apply Highin F You can deploy the service Deployed Cube Ctl Get Pd In The Name Space Enx so I have engine key Deployment is also Notes P's Deployment is also Hai Cube CTL Gate Service I also have engine service notes. If there is service also then make the diagram which It became mine so it anx There is also a service and my notes are The service has also been made, let's start it now I will redirect you now You are entering, right? For this you need a The ingress controller holds the ingress Looks like a controller that works at your cluster level But it helps in routing. The ingress controller remains Enux's and also But Enux's remains ingress Where can I get this control brother, if you Search for NX Ingress controller kuber nits so you know It would do if an open source community created a An Ingres named Heine Enx Created a controller that redirects you End to end load balancing in reverse proxy It helps me, the only difference is that you This which I want to create an ingress controller for Engine. If you want to make it for Kind Cluster then you will get it What should you do if you need to take care of Kind will depend on the cluster documentation Go then click on ingress now ingress Expose Your HTTP and HTTPS Routes from outside the cluster to your Services within the cluster that we have here You are trying to do that for What will have to be done to create a cluster You will have to do port and map again. You e The files of the controller are the email files. If you have to apply that then Cube CTL Apply Han F Kind of Ingress Deployed If I have to, I'll come right now. Bahar Sl Home Vat Cuber Nits N One Shot I'll come and apply it. LS Ingress Controller's Boom Phat Phat Phat Phat All done, now I will do cube ctrl Get AS namespace I'll see you'll see that a namespace called Ingress and Nix It will be created and you will do cube ctl in it. Get POTS in the namespace Ingress Engine then The services with ingress controller are one is in a different namespace then it is yours It is complete and running, everything is fine What does completed mean? It was a job. That's done and this is the pod that's running. ok running ok Done similarly to how you got the pods Similarly, if you want to get the service also The ingress controller has a service loaded This service is running under the name Balancer. to expose you later Now what do I want? I will go to my engine and create a new file. Ingress Dawa I have a file named MA Ingress Yaml I will make a small work in which I will that I will write an API version brother, this Where can I get the API version? You should go to your documentation and find your Ingress version will be available, Chach is known as Networking Catered i1 so this comes under networking so This is the kind of it that is Ingress meta data is the name Ingres Agnes Notes of Nx and Notes you This is the ingress of this namespace. That's the engine namespace, this is intentional. I did it so that all the services are mine Created within the same namespace are Enosh this notation because its It is also kept in the documentation but if you If you want, you can let it be, okay Enosh? Happens if you need to select some URL from the sl If you want to delete or suspend, you can enter it. If you don't put it in, that too will work, no problem. No, it is important for you to speculate. This is most important because here you Rules will have to be put in place, rules rules mean Which host do you want to use? train vs deo.in shubham's http ok http put Now what is your path in that HTTP? What all is going to happen on my path? My paths are gonna be path slush nx so whenever slash enz nx come whenever If you come across Slush and Nicks, enter a path type as well. Two Prefix to Path Angle Nix path type prefix whenever this path occurs So which service is on the back end? Redirect to the service on the back end The name of the service you want to redirect to what is the name of that service Engine service what is the port of that service Service name engine Service to name engine The service and the port of the service are port number 80 is ok the service on port number 80 Now she is similarly giving me another Path type will have to be created pre Fix whose path I will put slush pup and The service in the back end is called Notes on service whose port is 8000 whose port is 8000 If it gets redirected there then whenever I where did you say My port number is the number after the good port It happens Port number of port 8000 After number 8, okay, this is whenever my engine The port number of the service should be reachable only when When I put the engine like this, if you see the diagram But look, if I put an engine in, that engine It will go to the service which is port number 80 here. Whenever he slashes he'll Note: The service will be on port number 8000. I want something like this, it's mapped on me If I want, let's do what I want. Show me then Ingress becomes escape colon w k enter cube ctrl apply han f ingress enter kya bol raha Error validating ingress ml7 If you choose to ignore this error, turn No validation off brother, we will write it correctly Na Ingress Me Achha Kind Ko King Kar Diya Bhai, for you guys, you all are kings And Queens to kind of ingress happened and Apply Ingres CreateDrawerNavigator [music] Running on port number 80 now once Bring everything How to make Kube CTL Get All in the Namespace Annex So what's going on with me I've got my nuts going on Deploy is running Deploy of Ingenious Ingenious service is running My ingress is also running here now. A little tricky part comes This is an ingress. running through a controller that There is a controller called Ingress Enux which Kind cluster pe hum log ne install You have to expose him Let's do it how do you do it so cube ctl GetService in the namespace IngressEngine Now this ingress controller You have to expose your friends. Let's expose it now. Hain Cube CTL Port Forward Ingress controller, which Service Slush Ingress Engine Controller service that names space ingress Its port number 80 comes to me in the engine Mapped to 80K port already used is okay its port number is 80 we People have to be mapped with 80 and then what have to do Yes, okay, then I His Address 0.0 I have a binder, I have to do this now. It says permission denied so sudo han e Let's see how I can improve my Ingress Forwarding the controller's port He is saying that friend, he is already in the address. If you use it, you will have to use some other port. Let's change the port number to 808 I'll map the number to 808, okay, let's go. If installed then your ingress on port number 808 The controller is working, okay, where did you go? Now go here and go to the security group. I will go to Edit in Bound Rule and change the rule. I will give you port number 8080 What is going on in my ingress controller It's going on Meaning this port The number is 8080, what's going on beyond that? Engine Ingress Controller not found running what's going on with his slash nx now have you ever found slush a pay what's going on can you see this on the Slash app? Notes page found, can you see page not Found something like this, something came, how cool This is why this page is not found. because this is what it is Was Slash these, as many people as you know Jungo They will know that it is your app only. The notes of this app have some hash of it. It might be that I just know what the problem is. This page will work as well as Slush I will do API, what happened? Its engine should run properly. I want this not found, it's coming, let's do one right now working I'll make a small change to it Its ingress file is this one in it I will make a slight change that my This is the app, see what the problem is. Slash A which is in the jungle when slash When you insert it, the port opens automatically. 8000 so this is mapped to 8000 so I'm going to call this What I would do is replace the Slash app with just another I'm just going to try slashing it, okay, this is a My first edit I'll do is break my nuts If I do service then my app of wars There will be only app instead of slash app. So let's try this first change. Just because I'm debugging, press Escape. colon double k enter and I know all of you These photos of mine are moving because of the photo. If the above commands are not visible then There is one small thing I can do that I I can write the command in this line or Then I typed all the commands I had written so far. All of them are described in the history below. I will give you all the commands from there. Copy paste and write by referring from here If we can, then this is our one. So I haven't changed my service yet. did I change the pass ingress so If I apply Ingress, then cube ctl apply h f ingress ingress conferred Now I'm going to run my ingress back. this is my command cube ctl port Forward Ingress Enter to Port Forwarding It's done, now I'll go and see what my pass it is running no my ingress ok Now can you see my port 8080 when I I'm doing slash So this is opening my pop so my ingress The controlled pop is opening now what do I care I will slush ajx then nx should open but ajax not found is coming So what does this mean? Anx is also a There is something that runs on slash, meaning How can I tell you the concept of slash? I am going to explain to you how It happens whenever there is an application, right? That application is running from let's port Number 80 is your IP address. 13.4 from lats 4.57 something so if here port number 80 If it happens then the port number is 80 Also called generally invisible port If you have HTTP here, you have HTTP like this and put port number 8 so port number 80 Disappearing, only your IP and a slash remains so if your If Slash comes then Nx will run and same story is also with your pup so if I slash When I give it, my app is opening my jungle The pop is opening but right now I need such a slush If I do an X, my engine will open and then its What do I need to do to add a note? It will have to be brother What happens in Entenken gives you your You will have to go to Ingress and your Ingress Slightly changing the meta data of If you need it, I will tell you one thing exactly. What does annot mean extra? Information such as Enosh Okay Enosh now I'm going to nick my angel I am telling the AJAX controller to I am saying that your ingress is He is the one who is Kuber Nitas Da Aao, who is in that Your slash is what I need to raise. Okay, whatever, whenever I put a slash I want to rise whenever Slash comes He raises it and slashes it. And whenever Slash comes, he gives it to him. Redirect and slash so I do that. Edge ingress kubernetes.io now what should i do Rise ok Rise target target only Now which target has to be raised whenever My slash comes whenever I slash it It should basically have port number 80 or whatever. redirect so if this happens at my end If there is slash nx then I like this thing Rise Nixus redirects to port number 80 Go to the port number 80 mentioned here. I want this so escape calculator double k Enter or you can also read more about Anosh What can happen, you can directly write here You can cuber Nitus If you can write note ingres well then basically What happens to the ingress specifications? You can customize it however you want that whenever I write images, something like this happens So here you can find a guide for images. You can write different annotations for different OK images. Yes, can you get this time out from Ingress? There are some confessions of some engine. Which of them is most important to you? I want to see this one with rise targets. Rise target wala to slash wherever He will come and write it down, so up and last I will remove the slash end, now I will write this I will do cube ctl apply nuff ingress now I have updated Ingres and now I am What will I do with my brother from Ingress? The command was port forward, I ran that. I will give it and it will be running ok port forwarding is running now I'm going to go into this slash if I Likha Enx so welcome to Enx crazy now If my slash is not there then my app will run. Used to be what a good thing means it was fun that I 8080 did this I put the part slash so my page is opening this I When I inserted the part, my NX is opening. Now you can avail as many services as you want. I have all that, keep adding and fat fat fat This will continue, Ingress is such a crazy thing. I hope you understand the ingress If you understand, quickly write boom in the chat. Tell me why Ingress is burning Generally no one explains with examples. Everyone tells me there will be traffic ingress Root ella bala real error occurs when ingress occurs I explode, then you understand. Brother what is going on and then he gets an error Do you solve this and debate on me? It took a lot of time to debug it. Okay, now our entry is complete. That's it, great, now let's move on to Ingress. Later we will go, where are we going? What would you like to read next? Let's read the next topic now. People ok confine secret read confine The Secret to How You Can Store Whatever You Want in Your Pod variable or whatever your data is how You can deliver it in a completely secure manner Let's read that before we see Is there a confirmed pic that is left of yours? I think state full sets left okay It won't matter, it won't matter, one To read the Confine Map and Secret Let's try a new example now I've played enough, let's turn it off. Hey engine engine, we have had enough. I've done a lot of crazy things in Engen is like cron job ingress persistent Volume Rept Set Service Pod Job Name Space Diplo Cube CTL Delete Han f Han f Name Space So Joe Nx There is a name space, I will delete it. What will happen with this, whatever happens with Enks The resources were all deleted and How crazy it has become that there is only one brother If you blew up the namespace in the click All the things that were inside flew away. If you go, your ingress will not survive. If there is no service, you will be left with nothing. Yours will fly away, so whenever you name it Deleting space takes some time. Now what am I going to teach you? I'm going to teach you state full set and With stateful sets I'll teach you And brother, would this state have been a full set then? I will tell you everything, I will tell you everything comfortably Let's get started on this right away Let's understand first, now look at the cube ctl get pods in the namespace enux If there is no engine namespace then there is no pod. I will meet you, everyone is gone now I am here as a new person I will create a folder MKD I R My AL Bhaiya, what do you want to do with my sequel? Ho Humse My Sequel Aisa Kya Kar Lega To Friends, understand that when we are in apps Whenever we work in production So how do I make apps? I will explain it to you very well, when We also have some applications like Jungo application done or a flask Application done, Flask done or else I'll make it full screen, yes. Django is done, Flask is done and your Spring boot is done ok Spring boot is done All these applications are gone, so all these How are the applications if your state is maintained? Even if it doesn't happen, it still works because UI is user can use anytime He stopped anything could happen so this basically StatelessWidget DB Done OK my Sequel done, Mango DB done, all these Those databases are stateful applications are stateful Stateful Meaning the data in My Sequel and your There should always be Perseid timely in it Transactions means read write, all this If it should be done properly then you can never do it with the state. Can't even mess with When It Comes To databases Case and if you have normal applications You have to maintain its state it's fine So you can do it, even if you don't want to do it, there is no If there is no problem then it is a small difference So whenever your state less There are applications that you generally use. diploid ok diploid rept set rept sets dep daemon sets extra but when your stateful There are applications like My Sequel Gone is MangoDB, in that case you can use Do you do stateful sets so what is a stateful set that The beans belong to their fraternity that in this Reps are also maintained, in this also rep The system remains the same, but what is the benefit in it? It remains that if you make five reps If five reptiles are made then these are the pods that are formed Na pod le se my sequel ke aapne five pod I made five reps, so this pod This pod is made to carry a state with you. like this one pod is done this pod So this pod's number is up One of this pod Two of this pod Three of this pod Four, whenever a pod is deleted, its The number of the new pod that comes in its place will also be It will be four or whatever has been deleted There will be a number and its state will be as it It gets transferred to another pod So this is what stateful sets do that the pods in it are sequence I am numbered, I will show you. I'll give it to you, so what will I do now? My SQL so I'm with My Sequel I'm going to explain stateful sets to you very well. It is not very difficult, it is the same calculation. The book is like yours was in Deployed so V I am a MySQL stateful sets okay stateful setd gml this is what I do I will give it now, what kind will remain, my kind is Stateful set okay kind is my stateful set Again, this comes down to workload, like Deployed Rept set to its API version what will remain v1 sorry apps s v1 a1 its The API version will now be its metadata I will do something new in this, whose name is It will remain, it will remain basically MySQL State full set and its namespace That will remain MySQL, so a new name. Space should be my sequel first One before this, if I don't forget, one Create a namespace that is named after the null Provides kind namespace and kind API version v1 and meta data name ma sqlservr.exe I mean this namespace I'll give a spec to the stateful set like this I will tell you the name of its service in the spec. Give the reps first Rep. Kas so I want three of its pods formed okay three pods formed now I It has labels and selectors. I will use the concept selectors selector what do I put In this, I will put match levels in the selector what p my al so you can put anything in this ho demo my sequel ki my sequel pa my Sequel, it's your label, you can put anything You can tell me the important part This is where templates come in. I want to give you important work here. falls which is Labels, okay, labels, so these are the labels You have put p my sequel that as it is You will put it here also so that this template I could give you three reps, now what else is there in you You have to do these things which are templates. Labels These If it comes in meta data then meta data labels My sequel it's done now your spec in it It will come because you have to create the container right So you have to make the containers now I have to make one Creating a container named mysql my A container named sequel is to be created containing the image Which will be used and which will be used my Which SQL version should I take? Version 8. Take 80 and use the ports in it. The container port will be there in He lives, he lives, the container Port 80 a sorry not 80 it remains 18 engine Its value is 3306 ok done so your Your container is created and everything is done. Now the container of My Sequel remains Always asks you for environment variables So in environment variables it says that Brother, do anything to get me my sequel route Password one, so environment variable two So this is the environment of my sequel. How to enter the variables and that too Again, I'll tell you, all you have to do is Cuber A NetSat Full Set Environment Environment Search the variable like this, okay, directly. Search like this and here stateful sets Now you will see the full beauty of it in this Now you know what to do, well There are a lot of things put into it People have kept the engine running and the engine It does not require environment variables. If it had happened, he would have got it removed quickly. If we search for e-nav in it, it is there No, it doesn't matter, what if we don't We will make it our own, we will learn from Error Varil What do we have to do with that environment? Name it. is of the environment in which my sequel Route Password is my sequel root password and What will be its value? Take the root value. Someone please take the value, okay, normal C. Take the value now this is my sequel route password environment variable and more If you want to add something, add another one. Give you my sequel database if you want can enter database yes Create a database called Value Deps. This happened so what did I do? container created name image port port whatever Had he put the environment mass root I entered the password and finished. I made a simple template for myself. Made for stateful sets but what is this says that if you want a sequel If you want to make a state full set then read this Storage required Volume required Storage Volume I told you Persin Volume The volume will be available in a stateful set only. If you have to put it then you have to make it complete there only. It will be needed because it comes combined, okay So what am I going to do now? I'm here. I'm going to create a volume of this, like You must have seen the set in the example also. I saw that the volume mount is taken and Name Something is entered Volume Mount Path It is inserted, okay, this is its volume mount. So these volume mounts I picked up from here I'll take it and I'll go over here and put it in. Volume mounts what comes its name comes let's say my I mount a volume named SQL Data I will give it to you and give you the path to it. Mount What will come in Path Mount Path Slush Ver Sliv Slush Were Live Ma Sl Thi Hai Were Live my sequel this will be its path now Volume mounted Its volume mounted Path Done Now Volume Claim Key Templates I also need Persis at Volume Persistent volume and its Persis at volume claim hota hai waise Its claim template is also required and this It's just a template, you don't need anything extra. I don't want to make it from here, okay, it's within spec. If it comes then it will be in the line inside the spec The Volume Claim Template will now appear here. The meta data of that template is given to you Let's say the metadata is a name. A MySQL data, this is what you put in. Whatever your volume name is, that's what you put it in the meta data now its You have to enter the spec. Now let's look at these. What people have written in spec Access Mode in Spec Rewrite Once Enter the storage class name if you want. If you don't want it, you can remove it. I will copy this spec as it is. I'll copy this spec as it is and I need the storage class, otherwise I will I will remove the storage class from here. Because ours is the local storage one. There is no need for that, I just I will tell him in resources that brother Give me a jib okay in the request Brother, give me a glimpse of what I wrote. Here's what my volume claim is for. The name is my sequel data which reads and writes once Access to resources that are a single gig then it's my The work is finished, my work is done Yeah, now I'll save it and do it like this. I created a stateful set that is a rept It should also be a service of its pod So vm service I will put dull now its One of the specialities of the service is its service The specialty of this is that the Headley service is Hey Bhaiya Headley Service means Headley Service It means that everything will remain the same kind. It will also have a service and its API version It will also be v1 only, there is no scene, its meta data as well The name will be MySQL Service only and the There is namespace, that too must be MySQL. Not in the scene, just in its spec. Yours Joe The cluster will be the cluster IP, that will be none. This means it is a headley service. The service will not be exposed going forward This is for internal use only, if you have any Pad ko my sequel data then aap usko service You can connect through the service name. You can connect through but it is external Should not be accessible to the world and thatchi Hein, the name of this is my sequel. In this you will also get the name of the port for the service. and the ports that are to be used port that is 3306 more Target port 3306 and yours Protocol TCP so you have done it now What is the purpose of this, that you service is my sequel service this service Only one particular stateful set binder with so escape colon w k Enter now I'm going to my state full set I will tell him that brother, whatever you have The service name is for this stateful set. Service Name: The service name you use Is that what is going to happen, my sequel? service to my sequel service name The service will be associated with your item. Notice that this is my stateful set. Each pod has its own unique structure for each reptile. I have added my service and kept my purse at Volume claim template also added If so, everything in a stateful set is defined in The Yaml Manifest Only then the service name as well I have added yours here. I also added the environment variables. Volume claim templates are also provided. I have added everything to this. And after doing this double click escape column Enter now I am Apna Sa Apna State Full Set I will run it, I will run the service first Because the service name is referenced there. Yes, but none of them, you can choose any one of the two. If you can run the thing then cube ctrl apply half f a service you created service okay one The service whose cluster IP is non Headley Service also speaks now Cube Ctl Apply Han f State Full Settle Enter Now he is saying decoding error templates O templates do not exist, templates do exist So we're in a state of full set and I'm going Let me see where I put the templates, so this There are no templates, this is a template. I will see if you have posted any more Not me, the template is correct everywhere else. It happens, there are no templates, okay, this is it. Done, now I'll run this back, Cube. CTL Apply Online Service Account No Service account no re apna stateful set yaml Enter what is he saying now again Why do I know the volume claim templates? No, I write templates as templates. In fact, I even checked here that No other templates, yes here it is. Did you get the templates, no problem. This happens when you try to remember. Do you ever remember Yamil? Never remember Yamil. You always pick yall up from here Hey but yaal here the templates only Then why was he making a mistake oh oh oh I know why he was making a mistake because this We have created these templates for spec. I have put inside the template S of the templates It is correct, just in whom should it be Your template should be at the level of the You can say this is at the template level. People have kept it at the level of spec Look at your brother's templates. It's not wrong, just in terms of indentation. If something goes a little wrong, it's okay, generally. You don't need to memorize it all. tell me the truth, why This is how it feels for you to take the CK exam. It happens to you in even C exam. It is said that brother, keep all this open. Let's just see which one I am I am at the level I am at the level of spec, this is spec How can I do this at the level of spec, not at the level of spec. and inside and and its indentation outside I will understand what I have done I also did that volume claim template. I had put it inside it, it is not correct. I'm just taking it out now. What indentation level has it reached now? has reached the indentation level where Have your own template that will clean the volume Template: Yes, now it is correct, now run it brother. cube ctrl apply hine f state full set enter state full set Created Pods in the Name Space My AL So can you see state full set zero is We can see the container creating but name. When people made pot in diploid, its what would the name be engine deployment x y Root P P K Something Look at the name here Zero Get Pots One by One Now Create things are getting attached to him what is crazy what is crazy this is very Nice my sequel state full set zero Ready State Full Set One Creating Now State full set which third third also creating you C Why is the third pending coming up? Yes. I am done creating, yes I will press enter again and again I am pressing enter, I am not feeling well. What you can do is read and write Whatever your command is, put it as it is. What will happen with this, it will keep opening and every It will keep updating in two seconds. Can you see? The edge is updating by every two seconds and Three seconds what ever that it is yes two Seconds 65 and 67 yes two seconds and this why After controlling yourself, how could you come out? You can exit it by pressing Command C. Ok So I showed you what I made. Now I have shown it by making a state full set. What is the benefit of this state full set brother? The advantage is when you do cube ctrl GetSVC in the namespace mysql then You will get the service of My Sequel. There will be no external IP. The cluster IP will not remain and you can use it whenever you want. Access this service in your applications How can you know my sequel 0 dat You can access the service name by doing this So the domain name increases very easily. Creating DNS is also called that I will explain it to you later but your service It has also been made, so if you want, you can avail this service. You can drive it anywhere, but what about me right now? I will do cube ctl get pods in the name I will do space mysql now you again You will say that brother, it is because of your photo. That command went out, look, I am here with the photo. I can also put this photo of mine. I can put it here too, then what will happen? The commands will be returned as they are now. Let's take a look at this and I'm state full I opened the set, now this part is You will not see the cube knits If it is the majority part then it is so and so It will always be on this side, so I chose this one. I decided to put it here, okay? So don't feel bad if I don't accept your suggestions. I must have overlooked it Not at all, so here comes my pod now. If I get inside this pod, the cube CTL unit IT what is the name of the pod ma sequel state full set 1 in the namespace my AA Nfan Bash Enter I Entered My Sl Han u root han p what was my root password right now Route tha aa gaya i inside my sequel How crazy that I had a state full My sequel's deployment through the set Di Hai My sequel is going on and that too scalable so now what I will do is show data Bases you can see named Deps database I added a variable to the environment variable Environment variable was inserted my sequel The Underscore database and the values ​​in it He had put that Deps, so the name Deps Once the database is created, it becomes so easy. Dude, what do I do with your life now? I will exit it, it will come out. and brilliantly cube CTL eject pod did this pod unit I did this, let's delete it cube ctl delete Pod my sequel state full set zero in the Name Space My Sequel That Last One Bash Remove it otherwise he will cry, okay if you remove it I'll delete that pod, Pad my Sequel State Full Set Zero Deleted Deleted Done now cube ctrl get pods in the Name space my sequel can you see what I Deleted the same name Pod of the same name It's back 8 seconds ago and that's it How Kuber Niti's Maintains the State Pod Always Whenever we create something else, right? I made four pods from lettuce and named them They will be random, delete any one and get a new one. It will become a name but it is not so in this case In this case, the pod with the same name that you Deleted becomes the same as that, that's the specialty of stateful set and its service Volume template and its variables The environments all remain tightly coupled together That is why whenever a new pod is created it always He takes his state with him, that is Why it is known as a stateful set to come Hope you understand stateful set well I must have come across how a stateful set is Different from diploid in diploid which Pots are made with different names every time. This is one of the biggest challenges in the rep set. Rapes are different and they also have different names but Rolling update roll out, all this cannot happen If that also happens in diploid then every Each thing has its own speciality, okay let's do this It's been a while, brother, enough, enough, a lot. We are done and a lot of syllabus is still left. So I hope you guys are enjoying it. We have done everything till now State full set means your core concept All the workloads are done, all the workloads are done Network policies remain in networking I will get it done for you in the project Because that reading will be very important going forward. If it becomes important then read further. Almost everything is in storage too. Only the cuffing map and secret remain, let's go Now let's read Conf Maps and Secrets. First let's read what is Cuffing Maps Understand that this is the stateful set you have created created a stateful set in which my The value of the Sequel database that Debes inserted Nor if you have to change this value tomorrow If you need it, you will have to come to the stateful set and do this. I don't want to change the value. I want that as much as I Environment Variables and Variable End The values ​​should be kept in a separate file. If you have confidence, keep it in separate files. For my environment variable and normal If any variable becomes a variable then I I will create a file and name it Kong. Map Dwal and this Confine is and is The confine is v1 and your meta data That is my name. There is space, that is your name, space is yours will remain my The sequel is just yours, whatever you put in it. Yes, you enter the data, you enter the variable And when you enter the value, just like the data you Now enter the name of the variable here. You can, like my You can see the value of AL database here You can put it here like there was Deps. Now what is the benefit whenever you Changing the database value You will need a stateful file which is so It was a large file with a template inside. The name of the service is also attached, everything is attached. You won't have to bother with it once it's made. put it down you will configure this and this Any number of key value pairs in Confine You can use it, I'll show you how. You can use escape colon and it's done Confine gone then cube ctrl apply han F Confine Map CreatedDocumentsFragment in the name Space my AL so what can you see Confide means there is a variable now this If you use it in your stateful set then I'm going to go into the I'm Stateful set and In the stateful set I will go and say that which is my environment variable my sequel The database is its value, that is the value I will not take that value directly. I will take value from somewhere Where will I get that value from? Name me SQL whatever you can put my sequel what was Confine from My Sequel is Confine Map This gives you an edge Confered will have to confine ref meaning What does Confide mean? The confine you have entered On reference so your confine is my sequel Confine is the key that is inside it Let's see what that was, call Escape. Cat Confide base so you have to put my The Sequel database stores the key information about its state full set. I am like this so what does it mean to you The environment variable is my sequelize database From whom will he take its value? Value from from whom from confine now from confine's key If it takes a value, what is its reference? Confine is my sequel Confine Database Escape Colon Double Enter I will do it now I will do cube ctl Apply State Full Set Enter Cube Ctl What good is it whenever you apply? hein f don't Forget it, brother, what happened to him? RequestInvalid Patch with Invalid Value Oh, is he talking about map metadata map? Annot Map Bhai sahab, you have entered a big error. Diya brother, it is very big, such a big error So let's do one thing Cube CTL Gate State Let's take the full set In the name space my AL This is my state full set, delete it. does cube ctl delete Ha Ye My Sequel State Full Set In The Name Space My Sequel deleted this [music] a one second state full set sl my sequel Stateful set deleted Now that the stateful set We deleted it and kept it deleted and whatever A new state full set has been created in which That's our value, let's try it. Hey, it is still giving the problem, error from Server Bad Request Error Setful Set Version v1 Cannot Be Handled Edge Setful Set Strictly Decoding Error Spec Template Spec Container Environment Value from cuffing map key ref aa key The next ref should have a capital R. should go to state full set which is of ref It is R, capitalize it brother Sir it is fun brother Kuber Nitus Cube Seattle Apply St Full Set Where was he getting it from? The confo should be bigger again I am telling you brother, I remember. But you may or may not remember it, I don't know. Confide did a search like this but found nothing If you find it then take it, ok now its here Look, when you Yes, look at the usage of the confine fig map. How is the usage, see the environment. an object containing a list inside it that contains The variable containing your environment name is his name again Confide this value then within that you The name of the config map and then its key is like this You have to remember, but if you don't remember If you want to keep it too, then anyway you have a way. It's okay to refer to a documentation So this Create a database named Confides. will go Datchi Get Pudd In The Namespace My Sequel Running means that confine add and value there You are not getting any error after picking up from Like you have normal plane in confine Data in text key-value pairs Similarly, if you encode it You want to enter generally encode passwords If you want to do it, it comes in secrets. So v I am Secret that email secret what remains in it This also has the same API version as yours v1 Your kind will remain, secrets will remain, okay? Secrets don't just remain secrets. remains fine and whatever meta data you have What will be the name of the secret in it? My AL Secret SE C RE T Okay My Sequel Secret name space will be yours, will it be a mystery? Correct name space my sequel is done now What will your data come in this again? What you enter will come in the data generally. My Sequel's Route Password or any password you need to enter So you can enter it but you can enter a normal password like this You cannot root it like this and put it on the base 64 encoding is required, so this route you will take base64 encode escape colon d base64 encode Maybe it's something like this, echo this password If such base64 remains like this then the value This value comes along with it, doesn't it? You have to put that value there. It appears as if for example I wrote Route The password, this value that came, this I understand that I have to pick it up and put it down. that if I want to take root as a password So I have to pick up this value from 9v DO but bhaiya why encode it in base64 is done because if I Go to secret and here instead of root I will write this value and come back, oh not to this Hey yes, that value of mine is gone, the value of the root Here's mine if I go into secrets. And if I write this instead of root, this is also not very good. It is not very protected because If I copy this as it is, skip coal Dab enter and I will decode this, so decode How to do it once the base is melted 64 D The code is fine and if I put my Enter the value and decode it, then see Brother Root came after writing this, so you have your Base64 coded which is very secret If it is taken out in 2 minutes then its base is 64 Creating encryption only or You get very high level security No one wants to provide security for it What is its desire, what is its intention? What is its intention whenever this secret If it is created then a binary file is created. binary file that is understandable by the computer How does the computer understand 01 01 is there either root password or whenever someone secret if you base64 encode it then its A binary file is created and that binary file Computers also understand binary. Whenever we do not understand the file This will create a binary file of the secret, from which Then you will not be able to retrieve the password. Because that is important to the computer. To understand, its work is security and It is not its job to maintain secrets. Secure secret files in binary format If you want to use it then you have encoded it You can add a comment here if you want, base64. Encoded for root so this password is for root name The base64 value of is the escape colon double It's done, it's done, now I'm on my I'll call it a stateful set like I did in my The value was taken from the Sequel database. with the same confidence as the root password If there is value, who will take the value from? Secret Key From the ref whose name is Secret's My SQL The secret, and the key, is MySQL. Route The password is my sequel secret. where will my sequel root password come from The sequel secret which is inside the file If the root password is written, it will come from there. Escape colon double q enter now cube ctrl by Heine F Secret Secret CreateDrawerNavigator Enter State Full Set If the Confidant Full Set is completed then Cube CTL Get Parts in the Namespace My AA so you can see 3 seconds 7 seconds 9 seconds when you completely change the secret I made your pods again now Your stateful set is a stateful set You cannot enter your password and your The database name is not exposed I Have Not Exposed the Root and the Depps Whatever I put into this thing, I I haven't exposed it, but still, if I cube ctl unit halfna it Hafna IT State Full Set Someone Else Take One Take in the name space my SQL Han on Bash I get into it hmm my ackl hine y root hine p password If I put R OO boom I'm entered I've made my Password as root as it is not entered state In the full set I added via secret file That too was encoded in a secret file and then And still I am able to access Even the name of our database was devops. If you had not entered it then show databases here You will see how cool Deps has become. This is your only shot Great in My Sequel Joe production level But there is a database of the state of that thing. Full set service of that thing its secret Learn its namespace, its confine map, all How much time did it take you Whatever it takes to learn, half an hour is enough, so now you have learnt it. I want you guys to practice this. Do it because our storage unit and completed storage unit We have seen persistent volume Persistent Volume Claims Reviewed Checked storage classes, checked conflict map I've seen the secrets, you know, when I I was reading here, someone here I was reading one, some just wandered around like this. I had reached there wandering around, what did I read in it that the data of my Ang Nix The mount path should be sl yes R Share Nx ATML and Hum Log Jo Data The path you were entering was probably wrong, so try it once. Just for curiosity, enter this path Let's see your perspective volume Just for Curiosity in Just for You If it works then it is well and good, if it does not work then it is Well and good, so what will I do now? My work on my sequel is done, so cube ctl delete han f namespace then I delete the namespace my sequel. So all the state full sets all the secrets All confine all services related to My sequel will be gone to thatchi of Having a namespace okay cd dot dot so What I mean to say is that our It is diploid in what we have mounted The path is laid out, I say this mount The path is probably wrong, so I can change it. By Yua Lion. I'll check back Persis Hat Vol. Okay, let's give it a try and see what happens. But you understood the concept, right? will be revised again escape colon w K Enter Now what I will do is first I Cube CTL apply han f namespacel namespace ajax that it has become cube what will I do now CTL Apply Han Persin Volume First I will make Persis hat volume how much If I make it 1GB then Persis at Volume I made it unchanged, okay it remains. Cube CTL Apply Persin Volume K After what I will make a person volume I will make a claim claim, I will make a person volume Claim made right now Persis et This claim has now become a volume claim. I will use it in my deploy. If I go to VIM Deployed, here Persis at Volume Claim Local PVC Bun It's gone let's escape column dk become okay cube ctl apply hif deploy done Deployed has also been created Cube CTL Get Pots in the Name Space Both pods are currently pending. Why is it pending? Let's see why trouble shooting is pending. You will also learn Cube CTL Gate Describe it in the name space engine By describing See Describe Pod so what is he saying default Schedule zero out of four Available Unbounce Persistent Volume Claim o Persis at Volume Claim Unbounced So basically what is the problem cube CTL Get PV in the Name Space [music] Engine O It has been released Is your purse volume available first? and then only cube ctl Delete Hyn F Han Any Delete Local PV From the namespace engine first then delete Can I delete a PV persistent volume? OK, let's give Persistent Volume Deleted now cube ctrl apply hine f I will create the percentage volume Percent Volume ctl get pv in the namespace ang Nix bound right now she's bound so Cube if bound with claim CTL Get Pods in the Name Space Ang I'll nix running saw that if pod run If it is not happening then try describing it. what is the issue and then run it we what was our objective that the path we had given a mount I think that was probably wrong. Just to check that I had the wrong page. There is a bond with the path so the data is not shown. If I am doing it then let me tell you for contact that when We were doing persistent volume, so Inside your Docker container where the mount path tha sl mnt sl data usm data show Maybe we were not doing anything I had entered it wrong, now let's see cube ctl Get pots high o wide now that I understand We'll figure out which pod we need to enter. If yes, then go to the cluster worker and check it. But cluster worker's which is a Docker container How to get its ID from Docker PS What did I get? Cluster worker. This is it. Gaya was a cluster worker and his ID was also found. If it went then cube ctl not brother docker Docker unit contains the ID of the container. Enter worker nut th have come inside Let's see what we have in Worker Nut 3 CD into MNT. Data folder in MNT Let's go to the data folder. CD the data folder. He still hasn't come, what should I do? No I'm guessing Persis Volume if If you want to do it then you have to do it locally. It doesn't matter, we did it a second time. Have tried that which of Persis et Vol The data should be visible in the Docker container He is not visible even for a second in this demo. what is data o can you see demo data w The data was what we had created in the cron job. If you created a folder while backing up, Demo data this folder folder so well let's become If this happens then the work of Persis et Vol is What happens is that your data is inside the pod A reflection of the same data on your server Run on the host or Docker container, whichever If it is there then it should be on MNT data name A folder has also been created and demo data also It is made, perhaps that is why it does not come inside Because I am not entering the correct path But we'll figure that out as well. No scene, no scene, try again take what is in it cube ctl delete Heine N enux namespace enux then delete hine end No delete hine f ajax key namespace deleted Come on, let's get back to ours, what are you up to? Persistent volume claim has been achieved Done class done conf map secret ho Culture networking is gone, everything is over. That's it, let's go scaling now. And schedule pe bhaiya scaling end What does scheduling mean? HPA VPA What is it all about HPA VPA Node Affinity Tut Staller Resource Quota Limits probes, what are all these, I teach you. Let us first understand which of these Read: We take resource quota first. First, okay, let's take a resource quota. First What is resource quota? So whatever pod you have Let's say where did my pod go new make a pod This is your pod, this is your pod The pod is running on your host machine From lettuce this is your host machine okay this is Your host this is your host machine now this host There will be some confine of the machine like this is my t2 Dot Medium Then how much is the TDD medium generally 4GB There is rum and its CPU is A two-core CPU has two virtual CPUs. It has a dual-core CPU and Your 4GB of RAM remains, let's take your Joe Pod Now that's the pod of Enux Pod Nx's pod now pod p aa gaya traffic And you managed the pod of that pod and that pod It is increasing, it is increasing, bear it And this 4GB rum pod alone is enough. If it goes then there will be problem brother, 4GB If RAM alone eats the pod then it is wrong. What should you do if it consumes 4GB? So if you have another such pod Gaya Lets Whose My Sequel So what if this consumes the entire 4GB resource? If he goes, what will he get? If you do not get it, you will have to pay whenever you want to get your pods. If you make it, how much resources do you put into it? How much maximum resource should this pot take? You may have to pay that quota for For example, when you eat food, you ask your mother for food. You say, mummy, give me only two rotis. Or mom, just put a bowl in it and you You eat within the limit, whenever you request You do it within limits, in the same way when you You will also make a pot, depending on your resources. If you decide the request and limit That you have to read now is When Ever We Will Read Request Quotas So Now Kissam Banana If you want, request quota is created in this If it is made in the engine then diploid whenever You are created whenever your containers are created So what do you give to that container? You give the request end to the container Limits So you directly say that bro this is deployed file ok this is mine There is a deployed file, what do you find in that file? You have to do it where you put it Always look at the port container specific pod If you have to give request and limit then You mean what your containers are then you I have to go to the containers and tell them, brother. What do you want Hey to me, come out Gone, okay, I need a request, okay. How much I need resources Requesting Resources Do I have to request it? I want to request my CPU I need a CPU, how many 100 AB What do I need and I need memory. Meaning Rum Rum 128 AB or as much as you like If you want it, put it here, it's mine. The request is so much that this pot is going to run I need this much CPU and this much memory. Okay, this is the minimum for me now. Request minimum is required as you said If you give food to your mother, what will you eat? If there is dal roti then I will eat this much dal roti Max, Mummy, I don't want more than two rotis. So Limits Limits Limits again to you CPU limits will have to be set if Your CPU can pull up to 200 GB. Okay, not more than that and similarly You can also get up to 256 MB of memory of which you can pull, if not more than that What happens is that your pod is as He takes resources and will not take them further. If you want further then you can read Make reps, then they use their resources. Distributor to Load Distributor will take it, what happens to your node It happens that it does not come to a complete halt. Because as much as you have proportion If you are eating in the same then this is a waste of resources. There are requests and limits that you If you want to insert then press escape colon double key enter ctl apply hine f namespace a engine Key namespace created cube ctl Apply Now my deployment is Persistent volume and all these things. Believe it or not, high persistent volume Make will have cube CTL get PV in the name space engine to This is released, it needs to be deleted. cube ctl delete PV Local Persis ment Volume which is the namespace It is in Ajax, I will have to delete it. Now what do I have to do? Yes, now I Persistence by creating Persistent Volume I will create the volume claim and then I will apply for my deployment now. and what are you saying Hey friend, I always mess up I will do whatever you request. These are not requests, they are requests. As there are resources, so there are requests and If there are limits then what happens to requests? How much do you need to run the pod? What are the resource requests limits? It happens that you run the pod so much To avoid over-accessing memory Limits so I always that something so in I mess it up, what happened again? Cannot be handled as a deployment strike Decoding error unknown field spec template Speck Volume Mounts Volume Mounts We did not change the volume mounts. what happened to the volume mounts Hey man this container volume mounts containers I accidentally took it out You should take great care with indentation. Why do you need to take care of this? The indentation is because you are using the Vim editor I am doing what is generally used in the industry What happens is that your VS Code is used. So this error in VS Code is due to the linter. There is one thing that shows itself. So that's one thing, so cube CTL gate Pods Hein and Engen These pods have arrived now you Karo hi fano wid then you will show that What is running, showing everything Now you can do cube ctrl Describe pod this one in the name space Nx and if you check it then you will meet Key Limits for this pod is CPU 200 AB The memory limit can go up to this point. The request can go to the CPU so much If I can take requests then limits end Probs you have no limits and probes Limits and Requests You Have Deployed Your You have put the beans nicely, just like this You can also add your own stateful sets. And that too will happen to you very easily. What you have to do is directly here I have to go Yours is called My Sequel or My Sql You have to go to CD My SQL and your The stateful set is in the im stateful set In that too, you can manage resources and You can configure the limits well and you can do this In any pad, in any pod, you Resources as much as it needs RAM and CPU If you can get that for him then it's yours. Concept about resources and limits Your OK has arrived, so resources and limits. Now your next concept is done. comes that is probs this is very This concept is an interesting concept It is interesting because how is the name The probes are huge but the work is small. What work remains, two works are like three One thing happens, many others do it. Otherwise our syllabus will become dirty. What are the probes, understand it like this that whatever There are three types of probes. Lives Probe Redness Probe End Startup Probe Livens Redness and Startup Probe Probe means this is a The request remains Probe means there is a request that your pod it your Whether the pod is working properly or not is working r not simple so this pod is this Any port number from pod pay lets say 3000 Or something is going on at 4000 or 8000, right? There is something going on at 8000 with Lets That app of yours was this Jungo wala pup. Let's say that one is running at Rs 8000 but You have to make sure that it runs at 8000. If it is still there then you will use probes when When a pod is created, it will be an internal The request will be sent to port number 8000 like this He will make a request and after making the request if your pot is alive or dead live Otherwise, there is a liveness probe test. If your pod is being created then ready It's done, it's ready, it's ready The probe kills your m when your prop pod If it is starting then at the time of starting Start up properly with the Startup Probe You will need a different method to determine whether it is over or not. If there are different types of requests then this Let us try implementing it It's going to be interesting so what are we We will do whatever we want, we will do it ... In the kits we were watching, We put everything on deployed names If you had given it then you will go to VIM Deployed now. This Note P is its container port. 8000 is this beyond this my AI is running or I am not going to see him LiveSoCERTV Livesya is our direct slash, right? Port 8000 on that, so that's a slash on 8000. will make a request will make HTTP Gate that if that request comes correctly then well And good, if it doesn't come correctly then there An error will come that brother is still missing his pord Your pod is not live, similarly as Live video whether your pod is ready or Otherwise my notes are a test which we He had created an app and shown it, where did his P A, you could see us here, the engine I was trying it, I was trying it here Well, I just turned off the ingress controller. It is kept that way, if it is not opened then 8000 Our walk to the port To see this, we used two probes. Mare prob means request initial Request Escape Column Dull Enter Lets Give it a try to see if it works or else Cube CTL Apply High F Service CreateDrawAnaNavigator Is container creating so right now container is being created The container is still being built. He has been there, that's why it takes time Because it's a large container I Installed on Docker Hub, will build the following He will make him run slowly and now he will start walking. If it is ready then what will I do now? I will watch it in this pod, this is my pod. Is that my LiveSoCERTV? And no gate Describe Pod this one in the namespace nx enter so speaking what redinus probe feld gate http this one pay 8000 dial tcp connection refused why why connection Refused because it's your pup He doesn't have this 10.24.53 But this will not work on this port, so if you If you run it on your own local then it will be yours Basically it will run on this what the locals say If the host runs it then that will work but this is But it is failing but I am watching it. I wonder why it didn't liven up the probe. Made a Radius Probe, so what failed? It is fine because this is our IP. There is no address at all. We are on this IP address. People are not allowed but their own redemption Where did the probe go? Line probe Here it is LiveSoCERTv vala pod is running kube ctl get pods No Cube CTL Describe this pod called Notes P diploid then Pods slush note p deployed in the name space Annex Okay, so your lives probe is Hit it and it was correct, some problem If not, that was live, your pod is Correct means it is running so if you Will you also try port forwarding for your What is your service called, Notes? Pap's Service Notes Pap's service which is in namespace enx and which If it is running on port number 8000 If you open it, it should ideally be 8000. Pay working so probes just checks It's a Way of Checking If Your App is Working Or not, like we just put this IP I checked by entering the port number, it was The prop also internally checks the redis prop. It failed because that IP address The cluster was picking up the IP if it was local If the host or any particular IP is picked then it If it had also passed then the work of the probes would have been this much Just to Check If Your Pods Are Running successfully is not just about work So, we have started this project of ours. I put the live probe in the diploid. Hum log ne lives probe mast dala diya hai Okay, after how many seconds do you want? You can also add intervals here or You can also add intervals from the lets. If you want to add an interval, you can add that too. ho late se i want initial delay Or put some periods in it, that too You can put it, okay, so there you go. Probes ok where did yours go so Linus probe You also requested with example See redness probe it was failing Because cluster IP if you again any e If it is on KS cluster then that will work fine There will be no problem when we complete the project If you do, I'll show you that too. Let's move ahead now, where are we now? Gaya Probes Limits Tents End tolerance Interesting Tents and Tolerances So what are the tenets and tolerance? First they understand what is this Particular A So now let's get to the concept here. Let us study the diagram a little bit. Now I have made this diagram very dirty. done with all ten lines and all but if If you remove these lines then yes good diagram We made a nice diagram, it's okay. It's Good Diagram Now whenever I tell my cluster that brother cube seattle apply deployed to ai The server tells the scheduler its arrow Let me shorten it a bit, the API server says It is the scheduler that can schedule the pod. Now he manages his schedule accordingly. that worker node one has to send the pot to worker Whether to send pot to node two or worker node But if you want to send the pod correctly then the schedule is correct. One who decides on which node our pod will be The schedule will be correct now as we speak. The concept called tolerance and tolerance Tent as the name suggests, tent tant humlog If you tease me then let me tell you You have a relative who is taunting you. What a useless brother he is, how can he do anything? What is it, you will not go to his house, correct? Because he hits the ton, why is he a useless man? You will go the same way if you use the scheduler You want the scheduler to read this node number one Pay should not go to node number one or node number Pod Schedule on One If not, what can you do with node number one? Will you make a tent? Do you understand what a tent is? Tent Is a Way of Telling Your Kub Nitas You can create a pod on this particular node of the cluster You won't schedule that is tent if it It is tented but whether or not our something We have relatives who tease us. Yes, but still we go to their house. They tolerate it and live in the same way. tolerance means if you have any tented You have a server, but you still want to run it. So you can put tolerance on it as simple as that. The concept is of tarnished tolerance Get it started let's just tent end In tolerance, I give you a simple I'll tell you how to throw a tent. First of all, you come and set up your tent. get it done c cube ctl get en all namespaces Brother, we could have taken out what all we had made. Look, father, you have made a lot of things, so in the engine I go to the CD engine Went Okay, now in the engine, this is a pod. This is a paddle, it's a great engine Now this is a beautiful, good-looking pod. Pod This is the pad, if I run it, where will it go? Cube Ctl Get Pod In The Name Space Gate Pod in the Name Space Engine, so all this stuff is going on here. What will I do? I want to do it all at once. If you want to delete it, press cube ctl delete name I will make a space engine Everything will be deleted now, I will tell you What am I demonstrating? I'm trying to do this to you I am demonstrating that I now I will create a pod and when I create that pod Yes, it should be scheduled at some node. will probably be on worker node one It will happen on two, it will happen on th, but if I tented worker node one so it Pod not scheduled on that node Hoga That Is Basically Tents and Tolerance I'll get that scheduled, okay, right now. I've got all the cube ctrl gate pods in the name space ang nix kar diya koi Pods is not working now what should I do I will do cube ctl gate nodes in all I'll bring the nodes and I'll say it now. cube ctrl taint taint kill taint node who to node this which is my cluster worker tent it, tent it, something You can also add any kind of thing to it. You can tell me that this is what it is Na that is production ka hai prod equal to true Because there is a production node, then above it If you don't want to run it then put product two and this Say no, no, schedule, no, with a colon. Schedule means that brother on this node Do not schedule pod enter no teads worker It's been a tent, brother. What will I do now, worker? I will also tent two workers Three Ko I will also make a tent, what does this mean? This means if I take my cube CTL apply hine f pod first to name I will have to create a space, the namespace is now created. If cube seattle apply hine f pod I will do Pod will be created but cube ctl Get pod when I do in the name space angel Nix this pod is pending brother this is pending why is it because one two three this three node All three of our tents are done. and beyond whatever becomes tent If the schedule is not met then if I cube CTL I will describe the engine pod. I will describe it in the name space and Janix is ​​then saying failed scheduling row Out of four nodes are available one node is Untolerant Ted these control planes and three Node Head Un Tolerant Train Production equal to true so that your control plane It also happens to be tainted and that is why Pods on it can never be scheduled And you tented the remaining three. Now that schedule is not happening. Now what do I do? This is my cube. CTL Gate Pods Hai This is pending Poor guy, if we give him a hand full of notes, we People Cluster TWA cluster as we People had pitched a tent, worker one, this one Come on, let's make a tent for Worker Two. Did you not tent node TS cluster worker To tent it and no schedule Now put a minus in front of no schedule I will give minus minus, which means whatever the tent is remove minus means remove then enter no Teads clustered and two untented which tent Tha got removed now will you do get pots Running, oh brother, why has it started? Because he got the pod, now if this If you describe it, he will definitely get something. Then what did the schedule do? scheduled whom to tide worker to Because the worker was too untenanted, he was sent away. Brother, the container started well and went well. I completely understand how you You can now pitch tents with lettuce. I put the tent back to Worker Two Now my pod is still running, why? Because once you open the door I gave him entry, now he will continue to run fine. So once you have untended pot note Something went on again if you tent someone. It won't make any difference, after this you can buy any pod. If you create it, it will not be created. Okay, so cube ctrl Delete high a pod so delete the pod now I Let me tell you that now I have all the nodes tented all nodes view cube ctl I also told this worker to Tant Nod Schedule and tented it now it's tented How will I run it on the pod also, I am Go into the pod and listen to the confession of the pod tell the container to confine that container Meaning not the conf of the container but of the pod Go to Spec and say it Tolerance, tolerance and in tolerance, say that Anything whose product is whatever you had put Prod what is the operator Equal equal to hum log ne product equal to I had put true, now the product is equal and value true then any thing that has Your tent is lying there, which is the product end value is true what to do with it Effect No Schedule So if you have any node that has prod Equal to true and no schedule entered Tolerate it and move beyond it Escape Colon Db Enter Now there is tolerance in my pod. Given that any node any node that has There has been a tent in which product is equal to true and effect no schedule is already It is tented, how will it work on it cube ctrl apply han f padl enter pad Created Pots in the Name Space Angle Nix Running It worked, it didn't work before, why? Because there was a tent, but not because there was a tent. I used to walk, now I have gained tolerance, so I am walking. I hope you find peace and tolerance A lovely concept, I understood it very well. Went It would be great if you also understand tensions and tolerance. I must have come and next we will go Horizontal Pod Autoscaling and Vertical Pod Autoscaling on HPA and VPA This is a very important concept when you You go to study Kuber because Kuber is from NITS. The main function is auto scaling auto Healing is all its work, so HPA Horizontal Pod Autoscaler VPA Vertical Pod Autoscaler so this is for auto scaling It is a very important concept Let's read this in a little depth. Brother, what is this? One or two examples also. I will try it because brother is in the train. If Shubham is there then friend hands on is possible I am going to read HPA VPA to you here. So first of all let us understand this auto scaling what is auto scaling Because everyone is using microservices now. Architecture has come and everyone has come Optimize your applications based on traffic Now we have to scale it like A means horizontal pod auto scaling then comes VPA Vertical Pod Auto Scaling Then Another He comes whose name is Keda Keda Bhaiya I had never heard of this Cuber Knits event. Driven autoscaling is generally too much. It is not used but I can also tell its meaning. Let me first understand HPA VPA Horizontal pod autoscaling means if your The pod is that pod is mast uspe trough trick waf Crazy amount of traffic has arrived This pod will scale automatically. The scale will automatically increase and such reps will become his habit. I will go and do all the reps of this pod. Your diploid is like it is not like We put five reps in Deployed And in Horizontal P Autoscaler you have said I told him that brother, if this much percentage is on CPU If the load becomes too heavy, three more rep Make it so that if you say so, then he will be a Great under horizontal auto scaling will make your pod reps now this happens HPA in which the pods form raphes then Here comes VPA VPA means vertical pod Autoscaling that earlier your pod was like this and The maximum limit that the pod used was You read about the resource limit, right? He uses 100 AB from resources let Yes, but there is a lot of traffic on it. It can handle a maximum of 200 mph of traffic. Can If you want to auto scale it then The pod will become Hulk Hulk means this pod There will be so much power inside, brother, this is a big one. The scale will be changed and the first 100 AB And there are 200 AB resources, now they are 500 MB can pull up to 1000 AB so you can have a Horizontal increases the strength of the pod In a pod, you increase the number of pods. Or do you increase the number of reps? You increase vertical pod autoscaling You don't increase the rep now only the pod Resources and Limits Have Requests and You increase the limit to that person and the scale to that person. If you do it then generally VPA or vertical Pod scaling for stateful applications It is used for if you have a mother SQL is a stateful set. If the state is full set then you can put VPA in it You can, but if someone sends your normal application Let's take a look at the Django Kuber Nits The application is normal, if you like it If you want to scale the application So you can put HPA beyond that and You can increase the reps so that you do five. I replied and said that if you pay Rs. 50 on this But if the traffic increases, the traffic will increase by 50%. If it goes then it becomes five then it becomes five Brother, you will get the rapt, so this is the Beauty of HPA but brother, I understand HPA I came in Replica increases VPA in Pdf It becomes bigger, what is hard, hard Matlab Kuber Nits Event Driven Autoscaling He sees how your events are brother. Re-routing is a high traffic situation If you are going to put it on the Air HPA then it will There is too much overload and stress. If he is living then he will put VPA then based on The Nature of Yours HPA of metrics and events or Selects any of the VPAs But brother, here you have a very important The word spoken is whose name What is a matrix? Matrix means quantifying force resources How much CPU is being used brother? How much RAM is being used and all these Matrix is ​​based on this Horizontal pod autoscaling or else Vertical Pod Autoscaling Actual Work So first of all this cluster of yours It has come, where has my cluster gone, here it is This cluster of yours is cube ctl Gate nodes, these nodes, how many Traffic is coming, how much is happening? You should know its matrix. Matrix address is using command called Cube ctrl top node or cube ctrl top pod if you do kube ctl top node Error Matrix A AI Knot Available you do cube ctl top pod Matrix API not available to Cube cube ctl get namespace in system So in the cube system you have a Matrix Server should be there and that Metric Server on your node and on your pod How many resources are being utilized? What kind of CPU is this, what scene is it, all this is here Tells you have the Matrix API If you don't know how to do it, then what do you have to do? You have to go to your kind, whatever our Kind was not go to this and find the matrix Where are you looking at Matrix Lo is not there, Matrix is ​​in it Is there no search church? Confession load balancer is not one of them. If the Matrix server remains, then that Matrix You have to install the server no matter what. No, I who The notes I will give will include all the In the history command that will remain, I will do this I will give you the full command if you make a mini cube pe ho mini cube mini cube pe agar You are a mini cube, so mini cube pay a lot It is easy to use the mini cube directly. can you do mini cube well I a little bit If you come down, will you bring chill again, Mini? Cube enable matrix server okay so these mini cube The add-ons that are there, add-ons You can go there and add mini cubes. enable matrix server then you will enter So now I just installed the mini cube server It has not started, that is why it is coming like this. But if you have your cluster on Mini Cube If created, enable Mini Cube add-ons Matrix Server works fine after doing this You can, but if you are on a Kind cluster You have a particular URL, that I I will give you the URL something like this type is Cuber Nits Kind S cluster Matrix Server such that running Matrix Server on Katas Client Kind Cluster and then You have a particular This is from this location, this is the location https.com CATUS 6 metric servers and releases Latest download from this type of URL You have to take all the URLs brother. Where to find Cube a Cube Starter Go to the repository, there I have done this HPA VPA kept in folders All the things and in this I put that whole cube Nitus Sys Matrix Server Releases Latest All download components are provided in it Copy it, okay, you've copied it, now you go. On your cluster This is your kind of cluster Na so go to this and paste that cube ctl apply h f github.com The manifest file of Cuber Neighborhoods also remains You can also apply from github.com like this You can, there is no scene, it goes very well. Enter fast fat, all things now Created a Matrix Server named Then we gave him a roll and went back and forth. People will read Role Base Access Control. given a role and then created a service I made a deploy and it started running, so this is us What people have done with the Matrix server I installed all the things that were there but Sometimes that thing doesn't work because we Running on a brick instance Instance pay HTTP HTTPS us If the entire server is not signed then we If it is not signed then a TLS this security If you have to bypass then for that What to do on Edit the Matrix Server You have made the deployment plan, right? Edit this for the deployed metrics server So cube ctl in and cube system then inside the cube system namespace Your deploy that has the Matrix server Edit it, then take it here and put it here. Two Cube CTL Hine & Cube System Edit Deployed Matrix Server Enter Now This Your deploy has opened which you downloaded. Had to take tension for Matrix Server You don't need to write that much You can download it now. What you have to do is put containers in it. If you want to find containers, then these are the containers You just have to add two small lines in it. Add the Security Bypass to Deploy Under container d Argus so container k jo Argus Just two lines of security bypass. I want to add that cube let insecure tea ls that your cube lays which TLS is run on your worker node If it doesn't have HTTPS security Even then it will work, no problem, cube let Preferred Address Type Internal IP Host Copy the name, external IP address and What you have to do is go here and throw it away. Went and threw it here, now what to do about it This is what the indentation is messed up Fix it, so I've done it Fixed the indentation. Escaped. Colon Delay Enter Deployed Matrix Server Edited Now Deployed Edited Deploy the file, now you have to restart it. You will have to restart it is very simple cube ctl roll out restart deploy Matrix Server What will happen if In your name space cube system which The deploy you have entered should restart. It will be rolled out, meaning slowly every one Pot by pot it will restart Enter Deployed the Matrix server and restarted it. Once your Matrix server is restarted Then what do you have to do, then I will see you That cube ctrl get pods in the name Space Cube System in Cube System If you have kayak pods then can you see matrix The server is still pending and is still running. pending till For some reason it is still pending OK Matrix Server Kako Pending [music] I installed Hare Matrix Server. If I have given it then there will be no problem Should Cullet Insecure T LS Restart the [music] This too should have been deployed Why is Cube CTL Gate pending? Sorry Top Node Matrix API Not Available Matrix Why is the server pending? Let's see the cube pending coming CTL Describe Pod Matrix Server This one in the name Space Cube In the namespace of the system cube system Let's describe it and see what hey man hey man I'm teaching you Tents and Tolerance right now. so all my nodes are tented so my The pods are not working oh my god so right now one by one I will untick all the notes, sorry. For that because while teaching I make a mistake It was said that all our notes are tainted, so we As many nodes as there were, we had worker one. Let's make it no schedule minus It has become tent, worker two has no The schedule is reduced to zero and the attendance is over. Worker three should also be given no schedule. Let me give you the attention, now as soon as I Attended now I will do cube ctrl Gate Pods in the Name Space Cube System Done running saw brother Cubber Nitas in so many All these are concepts but the fun is in this brother. The fun is in this if you like all these concepts. I understand now, look, it looks big to me. I was asking brother why all the steps are pending It is correct but tented the nodes so it is moving Both of them were not there right now, everything is going on right now. Your metric server is now installed. Cube if you will. CTL Top node so you'll know which control plane It has 4 CPUs and 669 GB of memory. The worker node that is sitting there is 238 Ab Worker Note 2 284 Worker Note 3 299 Ye AB now I want to see who is the heaviest What's the heavy pod that I'm driving? Cube Seattle Top There's no pod if I want to see that Which is the top pod in the engine namespace? So there is an engine pod which has two 2 AB memory If he is sitting with it then you can see it like this Can you tell me brother which node is the most Which one is taking up memory and which one is taking up CPU? The pod consuming the most CP memory. ctrl delete pod Dottle delete hine a puddle as pat deleted now If you cube seattle top pad engine karega you You won't get anyone even if you do my sequel You will get none and the default is none. So you don't have any pods running. Okay, now that I've explained the core concepts to you. Engine taught state full set persistent My Sequel to Volume Taught H Notes An application A new Deployee Pod Auto Scaler Let's see the thing whose name is Apache Bhaiya What is Apache, this MKDIR Apache What is Apache Apache Anx There is a server like a web server which You can also download the application to If you allow it to be deployed then the CD becomes real Denge complete next level em name spaced l Create an Apache namespace. Kind Name Space API version v1 meta data name name what is my Apache is just that, Apache uses the Apache namespace Apache itself keeps the namespace escape colon dk enter cube ctrl apply hine Apache namespace and my Apache namespace The space has been created, now what is my job? This good has to be deployed and that Deployed to Horizontal Pod Autoscaler Want to scale automatically okay so v I am Look at the deployed email, I will get you revised. I mean, brother, writing deployed means this much too It won't be difficult, I'll write it quickly. How fast do we write, kind what? Our deployment will remain Deployed then our meta not API version What will be our app sww ok then What will remain of us, the name will remain intact and Our name is Apache of Diploid is fine and what will be our name? Space will remain our Apache, then what will remain Our specification will be that we need rept We need only one by default. Will remain P Apache okay selector done then This is our selector's criteria. what will match labels match labels be like this Match the label that ends in Apache Okay, now again the selector and the rape one. The work is done, now we need to create the template. is template templates not template meta Its data and name will remain Apache is done, now what can you do about it? You can put it in the template spec. You can put containers in containers that name Off the container Apache then Image of the container Apache Generali HTTPD is HTTPD is such a tool remains whereby You can create servers and all that stuff. It is very crazy, you should have bought version 2.4 It is a good latest one if you want it. Take the latest one, put the latest one like this, okay Let's get the latest version. Then what will we do with the ports? Container port of the good ports what remains 8 remains so I am here Container Port A OK Container Port AT Now here is the most important thing for you. The task is to ensure that the container's request end A limit will have to be set because that is one It's a best practice This is practice, you can modify it later. You can do it both as HPA and VPA So what should my resources be? Request CPU Kitna Chahiye Again 100A How much more memory do I need again? 128 MB and how much limit do I need? Max Max my CPU that pulls up and 200 It goes up to M and the memory that we have Let's go and pull my memory up to 256 A. I want it to be mine, Apache. How much would it take to prepare the diploid? 1 minute It must have taken 2 minutes but it became an escape route. My deploy is ready so cube ctrl apply han f deployed low entered What about rapt again, friend, you have done it so many times Still not able to write reps to rept ok keep practicing it will happen Selector does not match template label OK then You have read the meta data of your reader and meta data Labels are not included in the data name. Labels are not killed P Okay, this should be your label. in the template and deploy as soon as you do this Created pods in the name space well You will need a pod running Apache Deploy. Now I get to share this pod publicly. If I want to make it accessible, I need a Service Dull made the service how kind API version before service metadata Brother, this meta data API version is up and down What happens if you write, there is no problem. You can write it anywhere, the whole time. Manifest only scan will kill API version v1 Now Meta Data P No Name Ach Service namespace Apache and your spec should be will go Selector what you want to select Ho Anything To Have Labels P Whoever has Apache, brother, we will support them. We will select it and after selecting it What we'll do is just a little ports whose protocol Will be done TCP whose port number will be 80 and Whose The target port will be 80 and so on. What is the difference between target port and port I mean, I have already read all this of yours, but this expose The port in the cluster and the target port Meaning [music] container port so jisko container i hope you Now this must be great for revision. Then you type in whatever you want to enter. Put the cluster IP, cool IP Capitalized service and cube by doing this CTL Apply Han Service Dull entered the field, what are you saying? Selector of type string cannot Unmarshal Hey Friend, selector labels are good for you. where will the selector labels be located What doesn't fit into your labels remains yours. Normal selector and you will do it. Apply and service create great now you Will do cube ctrl get all in the name space So what did you get from your rep? I wanted a set and I got it, your deployed I got your service, I got your everything has been received What happened to it, it's okay, it's done for you I've got everything, just a little thing I'll give you I would like to tell you a very small thing that What you might find very useful is that when Whenever you access a pod, you Do you know how to access it? HTTP whatever your service name is As Ache Hine Service service name then dot Default Dot svc dot clr dot local this when you do Yes, this has become Apache brother, it should be Apache. Apache and if you do this with curl HTTPS CURL HTTP Apache Service service default local this if you are from outside If you do it then he will not get it but if you Doing it inside the pod is not possible without any namespace. If you do it inside the pod then it becomes your domain Name: This becomes your domain name for that pod. So what is the best service to reach It is running on port number 80. Whatever cluster local is inside is now the default Service is now your default location. Apache will come Apache means namespace so It's not happening right now because you If you are doing this from outside the cluster If you did it from inside the cluster, it would work. Okay, so just keep this in mind that if You need to access a pod to access a service. If you want to do this, you can also access it through DNS. You can do it brother, how do you know this? Cube CTL Describe the service Good service in the namespace Well, when you do this, here it is DNS is not showing but this is its The name is this dot namespace dot your cluster This is how it comes out, okay, I'll do this Next, when you do HPA, you will be able to access it. I will get you fixed now. Deployed it all createdted forward cube ctl port forward to whom my service service or service slip good good I will expose the service which name Space is good, run port number 80 82 Let's map 82 to 80. I will give it to you and I will give you the address 0.0 enter what is he saying permission Denied it, no problem, by doing this We will run the same command again now. I started forwarding it, now I will go to my I'll go to the security group on the instance. and a security group in bound rule I will add it, which will be named port number. Change the port number to 82 as you did to 81. I'll give you this port number: 82 port range I added it and now I am changing my IP. I will get the address where did my IP go This was the address, right? And if you go here If I run port number 82 then it works. Meaning my good deploy is working great. It works fine so here's my Till now the work is fine but the problem that is occurring now is This is a good server, we call this good server Leave it in public, let's train with Please post it in Shivam's community post brother Everyone can come and access it right now. Our family has become so big that it has become 1 lakh. I am a subscriber, there is a silver play button on the back. If everyone comes and accesses my cluster I want the cube CTL Gate Pods In the name space apache when there is a pot right now. Moving on then I want the cube CTL scale diploid Apache Key Diploid Hyphae Fun [music] Reps three become in the name If space becomes Apache, then scale is now me. If I do cube saddle get pots then it becomes three Okay, this container creating container. Creating and running three became but brother, he You have seen the traffic that was about to come. Visualize and scale pods manually What happened was scaling, this auto For auto scaling if scaling is not done Now I have to do Horizontal Pod Auto scalar to i m h Padwa aa aa now here I will make my Horizontal Pad Autoscaler So its There is a little API version, right? What stands out is the auto scaling system. v2 Auto Scaling s v2 then Auto Scaling v2 Meaning when your manifest containing auto scaling Their A version is like this now Whatever kind it is, that kind is what it is. Horizontal Pod Auto Scaler OK Auto ng Even though it happens but its particular The name of the resource type Autoscaler Now put some meta data to it Key Name Apache HPA Apache HPA which namespace It will remain in Apache, now whatever it is The spec will be very useful which Scale Target Ref Scale Target Ref does not mean you What you need to scale is the pod. Have to scale Deployed have to scale Scaling Rept Sets is Stateful Sets what you have to scale If yes, then tell me that scale in target ref. If you want to scale it, I need to scale this thing is kind diploid whose name is good diploid whose name is good diploid and whose API version This is SS v1, so this is the identification API Version / v1 Name Deployed Kind Deploy all these things, your one deploy Now we have the details of what we made. You've put it in, okay, it's done now. What is the minimum number of reps you want from me? I need at least one pot, brother. Keep going and Joe Max Reps want that five pods should run in these cases. Off a lot of traffic this is what we want From your auto scaler that minimum one is run I will drive only but if there is a lot of traffic If it goes then it should be five, this is what I want, but To want this you The matrix needs to be looked at very carefully. On what basis should I make these five reps? I want it to be typed in a matrix. Resources Whoever has good capital and good resources then Replicate this on the resource and Which resource will be my CPU My CPU will stay if my CPU targets If my CPU's target type Utilization is Let's say utilization means that I have so much CPU I am utilizing my target Average My CPU utilization should reach 5. So brother, please make me a rep if my average Once your utilization reaches five, you can become a rep Give it to me, I want it, so what did I say? is in the matrix type resource Name CPU If my CPU average Utilization of your capital will remain in this if My average CPU utilization is five. would reach So brother, I will auto scale it. I'll tell my autoscaler to escape colon double k enter now our three reps we People would first scale up and build a reputation. If so cube ctrl get put in the name Space You are a running man, now brother, this thing that you have just done URL di na at works wali iske abhi to It's not working because I stopped it a little bit. It is kept in it, let's run it in it What is Cube Forward? This was Port. I will enter forward, it works fine. Look, it will continue and it will continue on this Brother, what is the method of making load? How to increase the load on it, see two ways So what you can do is this The URL is No Online stress Generator Great online stress generator Your site is loaded by using the URL A Breaking Point Load Test to Find It Before Your User to Start Testing for Brother, let's free our account. Brother, he is getting the work done. Email Here is the password yes god what a joke It doesn't matter, brother told me to do it. If you run it, this is its code Yes, you should confirm brother, this is what Kind of brother, this is it, that's all Just let's start testing brother. Testing what type of script should we Start with Browser Script Protocol Script Create Protocol Come on brother, get me a script. Script OK Step D HTTP Step This is not HTTPS localhost. No, where did my URL go? This is my URL. The URL I want to stress test Y Test gate is correct Start, this iteration is complete, friend So give it to us at once. Gave He does one thing, all this nonsense We don't go into things ourselves. Brother, we will make our own load tester How will we make a tester, so one thing will be done Let's create a pod that We will name it load generator, okay load. Create a pod called generator from it First, let's look at the cube CTL gate. HPA Horizontal Pod Autoscaler in the name Space Apache My get hp in the name of Ach AA C AE Ach get HPA aa because I have used my HPA Cube CTL applied Heine F HPA Horizontal Pod Auto Scaler CreateDrawAnaNavigator It's okay if he does something like this right now. Which is my CPU utilization that is just 1 But okay get HPA is still % it a little If I make it smaller, if I zoom in, will look cool You should get HP min pad max pad now Currently a rep is running, okay right now a Rep is running and minimum pad so much now I How do I do stress testing in this? I will do it then cube ctl run so what do you get from cube ctl run You can do anything with Cube CTL Run If you can make a pod, I'm going to make one now. I want what I'll call a load generator If the name is okay then the interact terminal is okay cube ctl run interact terminal Load load generator name interact generator name There will be a terminal that will use the Hine Hine image Please write to me in chat and tell me who is this? This is the image that I told you about, which is generally It is used to write commands, its name is If there is a busy box then I will use the busy box. I'll take the busybox and make this thing. In the Apache namespace and its open in the hine ain bash I will do it Enter so what he's doing right now is the load generator will make a busy box and give it to me will open it and give it to you cube ctl run it load What happened to the generator? It usually takes a little time It's okay, we can do one thing. Cube CTL Get Pod in the namespace Apache then load generator clc crash loop back Why is the cube showing an error? Try CTL Gate Describe Describe pod load generator in the namespace what are you saying ok Hey, there's no bash executable in it. If there is no bash then it doesn't matter, basically The command we entered was hyphen bash you can put something else in its place sl Can you put bin sls so that it works So basically he doesn't have a bash. The busybox one didn't have bash so We delete that, delete pod, which load generator in the namespace Apache remove it now We will make a small pod. ok cube ctl Run load generator A load generator named make a pod whose image will be what busy box and which Load generator will be created in namespace Ache Created Pods in the Name Space Ache Try it and the load generator is complete. Crash loop back off now watch this Why is the crash loop backing off repeatedly? Because our busy box has what does it do just enter the command command If you do not put it then this problem is occurring then one It works, remove it, delete it do it How do I put it in? Yes, it's fine, what should I do? I keep it on, I keep it on cube ctl run hine i interact terminal Hine Hine TT wa time to live in it Keep the load generator on And we will use the image of busy box. Okay, that container from TTY, right? Waiting for you okay and namespace Apache I will make it and give it to him. sl s will give sh because bash will find it I was not able to open it now It's done, okay, I got it, it's open now. What will I do, I will give it to Brother While true while true means as long as there is life As long as you live, you can do as you wish, brother. Run a command What to do Do W Get W Gate W Gate means you can access any URL Bring something from there and give it to me All the options are there, you can even remove it if you want. Can you get what http I What did you say if you have Apache? Service Apache Service If you want to go inside then its namespace is Apache dot SVC Dot cluster dot local when you put this and Do you know what will happen if you do it? Apache services that are part of the Apache namespace He's in and hits on it now. Enter what is happening that file assist file Exist we can't open ix html5 file Agist Okay, so let's change it a little bit. see are han q And if it works ok then your load is generated You can see that I have used the same name Which of the following URLs did you hit with the space? This one is showing it works. And it's still going on, so you're seeing how much Late that it works it works it verses it Vers it work it verse means what is happening I created a pod which is in the same namespace I am here and told that pod brother, come on, run this. Now I am generating the load. Now I I know what I will do in my local area. I'll go into my downloads and I am saying that my server is down right now. Meaning there is some load generation going on in it. So I can send SS to my server from other place I will try to do it from the side tab Try to SSS your server I will do it and call it cube ctl Get HPA in the name space aché Now you can see the CPU utilization. It's been 18 and if you and I do it Cube CTL Gate Pods in the Name Space Oh brother, one two four, oh my god It made a lot of good load Our generator is already running. Running running how crazy it is and here If I stop this I stopped him and he finished. It's done, I stopped it, this is mine load generator This was the load generator whose job was only and I stopped it just from generating load. Now Look at this Hua Cube CTL Get Pods in the Namespace What Good Running is Cube CTL Gate Horizontal Pod Autoscaler in the namespace See now CPU Utilization has come down to 2, okay CP Utila my % has arrived so it means this much now If there is not much CP utilization then that You will have a great time, what can I do now? Let me show you the cube in front of you. CTL Scale Diploid A diploid Nafan Reps equal two in the name space Apache Deployment The scale is done, now see what I will do. cube ctl gate pod karunga gate p and I'll just put a witch in front of it, witch okay I will apply the paste, now you can see it slowly. My pods are getting smaller, can they? UC my pods are slowly running out First one, two, three, yes, see it will gradually reduce. It's been a while, two seconds, this, this, this It's going slowly, what should I do now? I will check my HPA HPA CP Utilization One Now If Low CP If there is utilization then keep only four pods from it. There are only four pods to get pods I will do it now, just look at your one, two, three, four, that So, I just created it, so This is how Cuber Netz is coming in One Shot Apache Right now I'm using cube ctl delete hine f Why are you deleting Deployed Just to give you an idea that in these cases for the first time I create So there will be a pod and then a cube CTL apply when deployed now I created it, so there is a pad, there is a pad Apache Deployed's Cube Seattle Gateway Apache what should I do now Doonga Cube CTL Apply Highin F HPA Horizontal If you also install Pad Auto Scaler then horizontal Pad Auto Scaler is also running fine on it ok horizontal p auto scaler is also running Now I'm going to watch my cube CTRL Get Poords in the Name Space Ache ok great can you see yourself he Why did you make it five because I loaded a lot. I had generated too much of it, that's why He automatically created running in it. Running Running Running Created automatically How many four have you made, now see one being made on its own. can you see one was CreatedDocumentsFragment Because the CPU was being used too much. So I hope you have understood that a How to automate Horizontal Pod Autoscaler Pods makes crazy drop a boom in the If I can show you how to make a chat Horizontal Pod Autoscaler for a Jango Application so this Jo Mera Jango Ka Naats App Is This is Jungo's nuts pop if I go to this nodes I should put some good resources on it. resources such as Request CPU 100 MB Memory 128 MB and similar Limits so 200 MB End Memory 256 AB if I put it like this then this is my Deployed is also currently consuming resources and Similarly, what can I do on my own? have to copy In writing to myself, I have given you It is shown in writing but I copied it from I get out of this I get out of this Exit OK LOAR Generator finished load When the generator is finished, the cube CTL gate Pods in the name space ache to dekho load The generator is still running, delete it. Two cube ctrl Delete a Pot load generator in the namespace Apache so The load generator has just finished working. ok load generator is done now what do I do I am a simple one, I gave you that bus load Why did you make a generator? Just a small demo. to show that if you are in another pod You can add a pod within the same namespace. If you want to hit service dot namespace dot I hope it is also called DNS. I hope you understood that thing, okay. Now I also need to create its HPA here. If you want to make a dottle, then Apple itself is not I'll pick it up from here so I'll make it and cat hpa and this I as it is I use this If I pick it up, what am I doing now? that your Not well deployed on your notes I'm going to scale the deployed. Who is going to scale the notes pup deployed will name it Notes The HPA and its namespace may Inside Enux was OK Notes P Deployed this All right, okay, clear escape colon d I don't understand what I am doing Am I am here Powering your Notes app So right now Apache His story is over, so Cube CTL Apply High F Name Space or cube ctl apply n f deployment dll Deployment CreateDrawerNavigator No matter how much the resource utilization is Cube CTL Get Pads in the Namespace Enx So you can see that Nut AI has become diploid. is similarly cube ctrl apply han f Your service has also been excellent. Now what do I have to do next to AA If you want to apply then apply cube ctl h f HP's Pup has also become a bean like us. People made it for Apache anyway. Now brother, I have made notes for you in this. I'll have fun when I karoonga cube ctl get hpa for The namespace engine that my Notes app is running on So right now the CPU utilization is at 12. Meaning this is a bit heavy, so 12-core CPU Utilization automatically made that brother pod Diya will cube ctl get pods in the Name Space Enks Can you see that three pods he made I made the first pod 69 seconds ago and this This was 23 seconds ago, it just got a little Made it a while ago, like we did with HP. I'll do it again, it's only 38 seconds, it's only three. I know why it is stuck on the platform because which is also the CPU utilization of the HPA If you are a distributor then divide your money in three pots. The work is done, okay, great, is that right? Get it, can you see it 56 seconds ago Created just 10 seconds ago 11 seconds ago Two more became That Is The Power Of Autoscaler Because your application is Notes Pa It was taking more CPU than it should have. According to him, he was taking 100 ABs. He made more pot than what you have now Notes P has become highly scalable Auto scaling is ready brother, cool now I I'll put everything on GitHup for you. You can also put it on your resume. You can do it as you wish right now. Auto scaled to a good level Hey brother, how long have you been teaching me, my God? Father, it's been six hours, there is no scene left yet. I will read it, okay, so right now my work is on this. If it's done, then the cube ctl delete namespace ang nix ang remove nicks and similarly i paach ko I will also remove it. I will not remove Apache. Why wala because in Apache right now I Horizontal Pod Autoscaler So I told you I have just told you about the vertical pod. I will also tell you about autoscaler, I will not leave you. I mean, I think this video will be popular. Meaning, 20-25 hours are going to pass, just sit and watch. You just wanted Cube Netz in One Shot Ye Dekho Cube Netz in One Shot your cabinet in one shot looking like this See this at once if you Kuber Nits If you want to study, then father Crazy, let's move on to the next topic. Vertical Pod Autoscaler View Vertical Pod For what is autoscaler, you The files that reside in the Vertical Pod Autoscaler If so, you have to download them. The files that reside in the Vertical Pod Autoscaler You have to download them from the group. So I will give you the link to its git repository. If I give it to you, what do you have to do with it? Who to clone Official Cuber Knits Auto from repository scaler here's this one so cuber nits Auto Scaler from the official repository Look, it's still running an hour ago. What is Qnet Auto Scaler in this Repository Content Auto Scaling Related Component for Kubes Cluster Auto Scaler Vertical Autoscaler Addon Reiser Charts End What is the cluster autoscaler? Cuboidal or those that form clusters scales them to the cluster as well You can also increase the notes but this kind of I never did it, so that's for another day. If we need this, it keeps the vertical I'll code this and clone it into my I'll go here and put this in Get Clone. I will give you the code for the autoscaler. That's great, that's a very big code, that grave nits If people have written it then how big will be the meaning So it's coming along great, it's happened at 50 so far. Brother Sir, are you Went Done 100% done ok so what do I have now The code for the autoscaler is here now. What I'll do is go into this autoscaler and go to CD. Autoscaler and then vertical pod in it How to create a vertical pod in Autoscaler I found out brother because I was in autoscaler I'll go here, here, vertical pod Autoscaler is written and what is in it Everything is there if I install it If you want to do it, here is the installation guide. I installed it after reading the guide. I can see it like this, it's written in front hgt clone otr gt then cd autoscaler Vertical Pod Autoscaler Then Check It Out Whichever particular release you want to go to And then you just have to run it. Hey, let's do it right now This is something hacked, something someone No problem, we will do it, what is there in this, dot There is a folder named sl hack hack inside which There is a script called VPA update s which You have to drive yourself Enter boom boom boom boom everything went away Deployed CreateDrawerNavigator The work of the scaler is over, which means The repository was auto scaler finished its work Gone is the difference between vertical pod auto scaling Pre-requisites are required for this You have installed it, now what will you do? Now you can have a great Vim Apache app. PA Dull Bana Dooge Vertical Pod Autoscaler Again, its type will be vertical. Pod Auto Scaler Vertical Paw Auto Scaler Its Function whose API version will be and will remain again the same Autoscaling S v2 autoscaling v2 but a little bit in it The catch is that k8s also come brother, this How long will we remember this? Documentation is provided for you No need to remember v1 is by the way So autoscaling kv1 is the API version of autoscaling Now its meta data will be in Brother, please put its name. Please enter Apache VPA and its namespace. Well, in the Apache namespace, your auto Scalar Vertical Pad T Scaler Name You gave me a spec and put it in again like You provided a target reference in the HPA. Scale Target Reference in this bus You will need to provide a target reference. Will you give the same reference as you gave that had done the time what was your name Apache Key Deployed good and what else is there in it What API version was entered? Tha P S v1 and what was Kind di ploy ment so aap jisko scale Are you thinking of doing scale in HP now? The target ref was the only one in this target ref is ok now the one to scale What you are thinking of is Apache Deploy now. A little about the update policy If you have to write then what will you do in the updated policy You can do it, you can put the update mode Update mode means you can use vertical pod What updates do you make in autoscaling, e.g. I told you in the explanation that The updates you make to vertical pod autoscaling The thing you do is called your pod. Which was up to 100 A earlier, now you have to do more. So based on your use case what can you do You can put it on auto, auto, that you Increase it automatically and you can make as much as you want. Yes or you can put initials. Meaning, as much as you gave in its deployment It was the same but I want it to be auto scaled So if there is auto scale then I put auto then There are three options for this, you can choose update mode off You can keep it if you don't want to scale. You can keep it auto so it will auto scale or Then you can put initials so you get a You can also give a good number, I have done auto Escape Colon Double K Enter Cube Ctl Gate Pod in the Name Space Apache is running a pod ok kube CTL Get HPA in the Name Space CPU utilization is at best 1 so first which is a lot of pods CreateDrawerNavigator Now what do I do? I will delete the cube ctrl hine f HPA then HPA is removed I will give because horizontal pod auto scaling is if I load this on bro I will hit you hard if I give you a load Horizontal Pod Autoscaling Pod's Reps It will make me not want to get raped by the pod. What I need is my vertical pod auto If scaling goes this way, what will I do? cube CTL Appla Apply Hine & PA Vertical Patler I will bomb it, the spelling of spec is wrong Brother has written it in your IM VPA. I'll go and correct the spelling of spec S Fifth note of musical scale S OK Y Done Apply H Apache Vertical Pad Auto Scaler Apache name not currently in the default namespace It's okay in space Look now Apache VPA is in auto mode CPU 25 GB is using this much memory Using in KB is provided true If it is yours then what will I do on one side I keep my watch on one side I will cube ctl ko gate va pa for name space good I will watch that its good How much resources is the VPA using? So I'm watching that on a tab. You could have given it some other name instead of local. Okay, for now, local means your The server name itself is a little different and here I What to do I will give it to you, my Apache service is broken. Dude Cube Ctl Get Svc In The Name space apache my apache service is running My pod is also running from Get Pods in the Name Is Get VPA My VPA is also working fine Everything is going well brother, I can't wait any longer. Everything is going well, there is some panic. cause some havoc let's cause havoc They do the same, they run their load generator So load generator come brother cube ctl run How do I load a generator? So the load is the generator, nothing, poor little thing. image which takes the image of the busybox and runs its namespace in Apache I enter the command sl bin sl s and After some time he would come to my busy box Now I will tell the busy box brother what are you doing brother True Do W Get While is a loop while true meaning on fine it loop keep going Brother, keep moving, don't stop, don't listen to anyone. go while true do w get command What was Heine Why are you guys telling me this right now? Tell me how internally a pod with the same name How will the service hit the space? Write the name of the service and then the second part After this your good name space will come again Service will come, then cluster will come, then local so this is your DNS your End of service DNS for internal use What will I do after I do this? I will tell him to just do this You did it, then you After you've done this Yours Done, just do it [music] what happened why is it not working I need to restart my service. is it okay no matter I did not think I would get this service back. Restarting will have cube CTL port Forward which service Apache service which is in the namespace Apache Its port number is 82 mapped to 80 Tax and address at 0 put it and what k hey friend pseudo hein e this The port has started working, now I will see that This good itworks of mine will continue No, it works in a new tab. Where is he not running my service? We will get this started now, we will get this started They will say brother, let's go to Apache service, you Apache Let's start running Apache in the namespace gone okay it works it works now I I will tell him what I will do brother. Listen, I will tell this Dunga Vach Cube CTL Get VPA For Name Space Apache is now using 25 MB of CPU. It is 25 M now, he will increase it now. Now my pod will increase the number of pods. But it won't increase his CPU The thrush hold of increased slightly It will take some time to see him I will increase the butt, he So Tworks Tworks is coming Once upon a time, Cube Ctl got Pudd in the name If we try space apache then Apache Deploy is still running Look at this, why is it from 25 AB not increasing will continue to grow, will continue to grow It will take some time to grow This is because it may be the current CPU usage. My studies are going well in that now. I want to see how much memory I have on my pad. Gaya so cube ctrl get pad in the name Space Apache not pod get pod instead of top Pod so Apache is taking 83A and memory 9 I am taking it, okay, just a little more left, 85 85 happened, it is understood that his He has some limits, he has some limits. There is a limit now and I am pushing it. I was 83 earlier and now it has become 85 and more. And I will push it to its limits If you want, get this hit from multiple places. You can also get this hit done from different places. You can also have your pod auto scale. can be seen yes then cube CTL Gate VPA Can You See Now Joe It was 25, now the scale has crossed 100. I have done 109 and this is how you have Enlarge Your Pad You have enlarged your pad Now if you wait for a minute, then that too will happen and And the scale will be done, that is auto scale, right? So it will scale further and have more CPUs Take He will take it, it's cool when he says crazy I remember having time He has gone crazy, he speaks very coolly, friend. Sounds pretty good to me, that's an 84A CPU. That brother is using the core Sir Gate VPA 109 Oh my God, understand I am coming how 25 app was running you Great just scaling right now so this is Vertical pad out scaling where Cube CTL Get Pad in the Name Space Ache If you do it, there is only one person and he will keep worrying. He will not stop, how was it happening before? Even a little load was applied, pat pat pat pat very much All the trees were being made, now that is growing Try describing this with Cube CTL Dude down l cube ctl Describe Pod Ye in the Name Space Apache right now Look how cool it is I don't see anything like that right now, but it's okay. Never mind, just look at the VPA again. Cube CTL Gate VPA now only at 109 Okay, I will load as much as our load The generator is giving decent load in that too Giving Cube CTL Top Pod in the Name Space Engines Not Excess Apache x86 ab now top node look node get top node So your control plane is at 20 But your worker three is on 31 CPU is sitting with 6 638 A cores I was given a CPU at 31 in it. Can you guess who is on worker three? Sa Pod is running Let's help you cube CTL get pods hine in the name space ache Hine o Wide which is our work load generator He is running on the worker's th brother is getting killed it works it works It works, it works, so load is generated. Going right now by doing get pod get vpa Look 109 okay it's been 10 minutes we guys VPA vape is playing I hope you get vertical Pod Auto Scaler must have been understood Horizontal Pod Auto Scaler is also understandable. He must have gone, if he has come then quickly watch the video. Hit like because it's been 6 hours brother My throat is dry here It was fun, okay, so this is what happens brother. Which you have discussed in Scaling and Scheduling. I have taught people this and clarified it a little. Turn it off, friend, what a mess you have created. Brother Sir, please clean it a little with a bigger eraser. clean it I will do everything dirty, just watch it once Let's take a look at how much of our coverage should be. If it is gone then let's do a small revision. So this 6 hour video of mine has been made. Cuber Tzan one shot will still be great There is no problem, it is just our core The concept has become quite good Workloads are distributed across all cores Monolithic in concept, everything is done There is also a cluster in the workload All services have been completed in networking also Ingress Network Policies in EKS I will teach you, everything is in storage too. Pas Volume Claim Storage Class Conf Map The secret is all in scaling a schedule HPA VPA has become tall resource Done Limits Done Probes Done Node What is Affinity or Node Affinity? Watch Affinity Affinity Meaning of being attracted to someone What is called affinity is For example, if I like it too much If I feel thirsty, this water is enough for me. It becomes more precious, so I will be more Affinity to I will have more affinity towards This is if but how do I find this thing I am using its characteristic that I What should I do if I am thirsty? Andar water is equal to true inside it If there is water, then I can quench my thirst I'm looking for something to quench my thirst, so I'm looking for a I will keep such a condition that water is equal to True, I can get water here. If this happens to me then what is affinity? If you need to install your pod on a node If you want to schedule it then about that node Please tell me a little bit that the name of this node is equal to this or type e equal to this key e equal to this resource is equal to this so if so He found something matching yours. Now I will show you Pad's confession. Like you write node affinity cuber nits If so, it has a simple, little old node in it. Yes, look at the 24th July and 26th July 2024 Go to node affinity then if you get node Affinity is the concept similar to node selector where you can choose which nodes to place your Want to run a pod? Want to schedule it? Yes, you can put it like you would for your pod. Put that in spec, brother Affinity node affinity expression that This might be matching with the letters that your The pod is that zone, in this zone is yours. node is in this zone so if it If there is a match, then your pod will be in the same If the schedule is done by going to a particular node then It is also called node selector. It is also called affinity, so this is Unit Tha Node Affinity Tense and Tolerance Ye Both of these work kind of similar But what is the use of tension and tolerance? If you do not need to deploy the pod on any node Any node needs to be scheduled If you don't want to get the schedule done then you can tent it. You do it, no definite, it says the opposite Brother, I want to get the schedule done on this only. If I want it, it becomes your node. Affinity to HPA VPA node affinity tense By prop tolerance resource quota limit we People also finished scaling and scheduling. If we have done this then 1 2 3 4 pa units are ours The next unit is over now, yours What remains is cluster administration. In the unit where we are going to study Role Base Access Control Bhaiya Ye Role Base Access control, what is this thing to me? Let me explain it in depth and understand the role. What is a base now you are in a house right You are in a house, this is your house so to speak. For yours remains but beyond what right would have been Yes, that belongs to father and mother, you are from there. Even if you have servants, you have one in your house. There is a roll, right roll means roll as you What roles do people play? Like there is a bread earner, that is, in that house Whatever the person bringing in money or salary Or if there is some earning work then that role Bread Earner Roll Homemaker or housewife, such roles remain Alright now let's have a roll that I I will bring vegetables take vegetables Come on, okay, there's a roll to bring vegetables. Okay, now we have a user. There is a user named Shubham. ok now this is my user name is shubham Now I will give this role to this Shubham. Bring vegetables but this user is Shubham and this roll Shubham, how will they talk to each other? We will talk via Bindings These speak to bindings This is called roll binding, OK roll. The binding can also be such that another There is a user who is late, my sister is okay The second user is user second who is Sanika She is my sister, now she is my sister to her too. I can ask you to bring vegetables tomorrow. But that will become possible only when this Role binding between this user and this role There will be role binding in this also, so whenever you Reading back is role base access Control whenever you read R back or Role-based access control is simply this: that the resources of Kuber Niti Such as Pods Deployed State Full Sets Services and so on are yours to access whether or not there is access to a A role is formed, a role is formed like ours The role that comes with vegetables is the same. I still have Kuber Nits Just like you had a house in the cluster. Just as this was your house, so too was Kuber Niti's. There will be a cluster and within that cluster, as many There will also be users, what can those users do? What you can and cannot do That thing is called role-based access control. Now goes to Role Base Access Control You need to read two things. One has to read the things that happen. service accounts service accounts End is the second one, user OK remains the second one Your User Service Account means your remains of temporary user type and that In a service account, you are basically a user. What do you do with let's say I am a user? If I am a manager then a service called manager account or I can have a If I am an administrator, then the administrator name can have a service account as well Whatever name you enter, it's a service account. Maybe treat it as a user only user This happens at your entire cluster level. This is your service account. Namespace can also be at the namespace level It can also happen at the level, but your users occur generally at the cluster level Now at the entire cluster level in the same way This increases your namespace level. Roles that are deployed in this namespace can I get it? Can I update it? Can I delete all these things? If I can do these roles and that service To assign this role to an account, you need Hoga Roll Binding roll binding and similar There are no roles at the cluster level. cluster role cluster role and that Cluster rolls for you binder Cluster Roll Binding Cluster Roll binding so when you read r back In simple language it means that Your User or Service Account How much access do you want to give him? If you can control access, You can do it on two levels, either namespace level that resources within a namespace Put it in and you will access that level. Or you can do it at the entire cluster level You can cluster it if you namespace If you are doing it at the level then you should read it. Roles and role binding if you cluster If you are doing it at level then cluster roll and Cluster role binding so this is your simple If there is a concept then now we are giving examples Role base access in that Create a service account in the control namespace will create a role will create a role I will also make the binding and then I will tell you I will explain it completely, okay, let's go now. Let's take a look at your hands-on. Cube CTL Gate Nodes Mast Near You All worker nodes are ready. Kyber Nits in In one shot, now here I kiss on roll base control access ache excuse me apache2 so we will go to cd achhe now Here we have deployed HP. All things cube ctl gate ns to pass Apache namespace is my sequel. Name space is cube ctl get pots in the Namespace: What do you see in the good namespace? So the Apache deployment is running the same way. which we were looking at things cube ctl delete hine f dot to hine What happens to the F dot? All the risos All the courses are in it, burst burst burst burst If deleted, delete the namespace Apache It is done and the deployed has been deleted properly. Now whenever you do Role Base Access Control it Do you understand as a concept this is also very important to you? It is important to understand that brother cube CTL Auth Who Am I that who am I cube ctrl What happens if Information about the current user If I get it, my username right now is Kuber Nitus admin and I am in the group cube Adium Cluster Admin System Authenticated So my username is Cuber Nits. Admin now at Being a Cuber Nits Admin I can see what I can do I'm using cube ctl auth so whenever you If you do R back then you will get Auth related information. I have to run a lot of commands like Cube CTL Auth can I cube whistle th can I mean what I can do this can I get pods Can I get pods, yes I can get pot what do i do now cube CTL Apply Hine f namespace so I'm going to create an Apache key namespace. I will create space, now I will see am cube ctl can auth sorry auth can I Get Pods in the Name Space Okay, so like I'm an admin and a I am very upset because of the meaning of admin user. I can do anything by entering all the namespaces I can because I am an admin user Cube whistle at can I get pods yes now Do you know what the problem is in this? Obviously, you can do anything as an admin. It's like you can do anything URN Administrator, you are a free bull, do whatever you want. But sometimes you need to uninstall different applications. has to be made and you don't want every A user can access the application For example, think that the name of the good I am deployed, look I am deployed. Diploid is so strong, Diploid is very Next Level and Ye Production Key Deployed think so if I do cube CTL apply hine f deployment yaml enter Deployment The Can I Gate Deployed in the name space Apache yes so being an admin I am everything I am able to drive but tomorrow if someone else of mine The user came and that too it was our production. Deploy and service everything Someone smaller than Lets started accessing I am a fresher user, okay, new. The intern has come so if I asked can I Delete Delete deployed yes ch it so risky so I I wouldn't want anyone to delete something like that. If I give permission, what will I get for this? I have to make a role, I have to make a role Okay, I will have to make a roll in the roll. What will happen in my role, I will tell you that I what are the things I can do okay Let's say like I did in my example I had given you vegetables to bring, so bringing vegetables is a roll so I made a roll here Kind roll okay made a roll now roll What will be my role and what will I do? I can but along with that your API version also The API version will remain whenever you return. If you do, then R in Role Base Access Control backed Authorization case come, you will be happy by doing this You can add your own API group. You can enter the version, this is your API group. And if this is your version then you can put it like this Yes, now it's a kind of version, add meta data what would you put in the two meta data bits Let's zoom into the meta data Name Apache Role Now enter Apache Role in it You can do whatever you like with Let's I want to make a good manager. I want to create a user like this, I want to create a role like this I want the one whose name is Achhe Manager now What access will that manager have? I'll put that here, okay, namespace, so This role operates at the namespace level. So now its name will look good in the space. There will be rules, they are very interesting brother. The rules you follow are very similar to Rules will remain API groups ok API What will happen to you in groups if You put an asterisk in it I mean, what all the groups are Has Apps S v1 R Back Authorization Authorization OK Authorization K Come on, this is the starting part. In the API version it is called group So if you put this in it means All groups are covered, there is one group Blank then there is a group apps then there is a There is a group and what remains It would have y ye above take ye group There are many such groups, okay? So this black group is the one in which Only v1 is written, that blank group A S v1 means the workloads For the deployed deployment that seems to be Then there is also a batch group which is cron If you feel like doing a job and all those things then it is like this API groups are available now, you can also resources you can provide resources that you What access would you like to give to this role? So I All this about seeing deployed and deleting I would like to grant access to the pod I would like to give, I would like to give service access to the OK service so much access I would like to give so many resources now comes Verbs Verbs Now Verbs Very Important It happens because whenever we cube We write CTL commands, right? what do you write cube ctl get pods Cube CTL apply cube ctrl delete cube ctrl Watch Understanding Cube CTL Create cube ctrl apply cube ctrl patch, these are all verbs we use So basically what I did is I took a He has created a role called Ache Manager. What the roll does is that whoever has this roll That will be the deployed pod service. Can apply Can delete can watch can create If you can patch it, any user who has good This particular role will be called Manager. That brother will do all these things and by doing this I escape from the cold world and I play my role I will save it, okay, I have made this roll. If you give me a role, I will make it for you now. If the role is ready then I will apply for it. Cube CTL Apply Now f roll now I want to get this roll which is my can delete the post can delete the post Deployed can update all these things If I apply this then I will get a good manager. Roll Created role in the namespace Apache to Right now I have a role called Apache Manager. Now this role is done, okay now I What will I do if I have to offer this role to someone? If anyone needs a binder, I will use this I'll give you the binder, but I need it first. What will be a service account? It happens that he is basically a user, so v I am service account dwa aa a what should i do now I will create a service account. Your name will be Kind, Service Account OK service account will be its kind and Its API version will be v1 OK Kind Service Account AI Version v1 Meta data will now be my service account My username and all that will remain. I will have to name it as my user. what do I want to name it good user I created a service account named Ache User I will give you what is active on my namespace level It will be okay, now I will put it in the namespace. I also put it in the right namespace. I put it in, okay, this is mine. Service Account Escape Colon Dk Enter Cube CTL Apply Han F Service Account Service Accounts Achi User There is one created fault user and one good one If there is a user, then I have two users created. Okay, there are two users, the default user, so our Remains the default user and is a good user Now what about me? The user can get this particular deployment Let's see if we can Cube CTL Auth Can I Cube CTL Auth Can I Get Pot in the Name Space Ache yes so my jo kuber nits admin user That is, get the pods inside the Ache namespace I can do it, but if I do it here High as it is equal to good User Hyph Han Edge means cube ctl what What does Auth mean in Auth Auth Authentication? I can get the pod namespace in good shape As a good user no no I can't because My service account is just CreateDrawAnaNavigator Roll Binding Dull and here I create a binding I will give it here, I will say kind role Binding role binding that it is such an emul file in which I will take my user I I will take my roll and let both of them go by Bindi Now they make the API version which It will remain simple and backed. authorization k iv1 okay this r back authorization ka ai The version remains, its meta data will remain Name Ache Roll Binding Ache Roll Binding Now Ache role binding whose manager's because Apache what is this role my role Apache If it is a manager then the role of a good manager Binding is fine, the role of a good manager The binding is done, now its namespace which It will remain, what a good application Get this particular cool name space for subjects subjects subjects Meaning, what kind of people are evolved in this? The first one is my Y Evolved What kind, which kind is mine, evolved? service account to but usme here it's a user okay I'm a user here If I create a kind user then who is mine what is the user what is his name The user name is apache user apache User and API Group What is API Group Sorry API Group, this is your R Back's The first part remains that it is known as API The group is the group of your user. And you can find out his name here. You have to write okay, whoever your user is You will have to write all the groups here now. Write whatever else you need to write. will have to roll Ref role Ref means this user who is your Which role should you give to an Apache user? I want to give him a kind of role. I am the one whose name is Ache Manager is a good manager, in the role of the name I want to give and API group is this Same is the same R back authorization kade come this be Its API group went away, so we did this. If created then user achi user API group I added it to this, finished, that's it. do escape colon null key enter cube ctrl Apply Online Roll Binding and Enter Now What is he saying error passing role Binding Converting Line 10 Did Not Find Expected Indicator I AM Line Number 10 for role binding what have you got subject to this Oh Or this list which is there, generally it is inside like this It remains like this, okay, it remains like this and your role Ref will also be inside it okay finish like this If it remains in the subject, kind of this role reference In this you just have to keep the indentation inside Escape Coil Duck Enter Apply Roll Binding R Back Authorization Apache Manager Role Binding Get role binding in the namespace Well, now look at the Apache Manager role The binding is based on the role of the Apache manager. with I gave you a binder to bring vegetables or whatever. We have just named it Apache Manager OK Apache Manager Now this good manager this is my apache user With this Ba has come with the ending So now if I very carefully cube Ctl Get Auth Can I Get Pods in the Name Space Apache As a user, User, now tell me in chat that you are a good user We had a service account. given a role called Ache Manager and What is the access gate to that manager? can delete the pad can delete the pad Can update so on now tell me Will it be able to get the pad no cube whistle I can get paid in the name of what I did Cube CTL Apply High F Service account achi user to kiya hua hai cube seat The Can I Get Pa Ache Name Space Age Ache Users do something that This is ours, what is its name, this is the role, this role Let's take a look at Yaml and see how it works. What all can this gate do? Yes, the pod is right, let's try one thing. There is a small work that we can do here. A trick just to give a check that will this work and hit the hash here I mean this is completely commented out and We give it here also and here Let's make a hash and post it here too. gives one Atric and here we kill a hash. What have I done, all that I have done API Groups and Resources and Verbs I just commented on everything that was written and API Groups All Resources All More I'm just giving away all the verbs. Just to check if my user judge getting some Kind of access and not then after that If you filter it out, double escape colon. Ky Enter Cube CTL Apply Hine f roll dot email so I've confirmed the roll Diya Roll The binding is still the same and your There is a service account, that too is the same, so now What I will do is cube ctl auth can I Gate Pods As a user Apache user No Ache user dot Well, what do I feel because this If you are an Edge user, you will get a little something in it. I have to give a namespace as well Let's give it try Cube CTL Auth can i service account so check it once If you take it, what do you have to pay for it? Cube CTL Auth Can I Get Resource S System.DataServiceAccountNamespaceService Account name and then name space let's follow this Let's try the System Service Account Let's try this: OK cube ctrl the can I got paid Yes, can I get it read this complete statement The System column service account is currently in service. what is the name of the account good user now Next Apache User then this Staging What is staging, by the way, let's look at it in this What is staging in its context? [music] Staging I feel it's not a name space Yes, you are watching Staging Is a Name Space. There is a namespace after the service account. That's why they have given staging, so our The name of the namespace is Apache then what will come In this, the service account name is Service Account Staging service account name is not the same as before Service account will come then Apache then service Account name then namespace service Account name then namespace Apache is still no cub whistle th can i Get Pods As System Service Account Apache good User System Service Account Staging [music] API group added to Tiller OK rules Put resources into API groups happened I have put all the namespaces in. The Can I List as System Service Account Namespace: Username is correct. The Cube Seat: The Edge Case Mistake to Avoid Being aware of basically user can be name Similar Sytex Accounts and Can Trick It It is me OK A System Te default Okay, so basically what I'm trying to do I am looking at its user as apache user am I my Apache Why is CanI not giving user access? Gate Pad Gate Pad Gate Pad Vase Pad Hai In The Name Space good No, if I remove this, can I get it? Pots as Ache User in the namespace Apache Come, I have just found its particular I saw the syntax, even in G, there are many here. There was something there, but finally got the perfect one. Syntax it is cube ctl auth can i Get pots as a user okay then your name Space will come, what were we doing before? Cube Seat Loth Can I Get Pods As a User Well then no one was coming, I have to say then we people System google2 auth can i get pots as a user Ache in the namespace Apache yes why Because he has a role Now Cube goes a little deeper. CTL Gay Auth Can I Get Deployed in the form of a user when Ache User in the namespace Ache Yes I Can Get it, but now look at the small trick in it. I did a great job in the role I played. Sorry, my role was Yamal, in that I did everything I made a fire, now see what I will do I know I'm just telling him a few things. I will allow it as I will allow it brother You can only get the pods Only the pods could be gated and The API group of the pod remains blank. If you live there, then look at this good manager now. What is the role this good manager has a role that he can gate pods Datchi L Auth can i get pots as a user ach user In the Name Space Ache yes I can get pots but can I get Diploid Can I Get Deployed as Apache user in Apache namespace This Deployed yes hey yes why is it coming we I M Roll Hey Brother, why tell me because you have given the role Edited but cube ctrl apply hein f I did not apply for the role brother, how is that possible? It will work, so whenever you edit the role After that apply it, it is confirmed now you karo cube ctl can i get pots yes i Can get pots because in my role Getting the pod is allowed but can I get it? No, deployed because it is not allowed brother. So what am I going to do now? I'm in a roll call. I will go and give my brother a diploid too. I will give it to you brother, you can deploy it here and Services both take and deploy which That API group comes in the API group Generally if there are apps then I have this API group I unlock all and purse resources I unlock deployed services. Verbs in just and only unlock the gate I have done escape column double enter Cube CTL I forgot to auth again, please apply it brother. First apply role dal to role base access Control is configured, now do cube ctrl Auth can I get deployed as an Achi user yes Can I get it sir? can you get a Service as an achhe user yes but can I get HPA Horizontal Pad Autoscaler am I HPA no, because it is not allowed So if I roll in the dump Go and click on Deployed Services here. a small HPA on the side or If I also add the horizontal pod auto scaler I should also put HPA and press Escape and enter. Apply to and can I get HPA now Why would the name of the BHP be something else? That's why it may be possible, but what do you do in the role? Go ahead, but yes, let's try a little more test. Cube CTL Auth can I delete pods as a user Apache user the namespace Apache can I Can delete pods Cannot Why because the one with delete in verbs I haven't put it yet, I'll put it now. So you would have just entered both apply and delete. Yes, escape colon, double k, enter, apply. Role to Role Base Access Control Manager Confirmed now can I delete pots yes then This was your role base access control that you Give that roll a serve Binder with Account Two and One Bar Binder given everyone applied then you cube ctl auth can i access it from You can check the control now like I cube CTL Auth Can I List pots As an Apache user in the namespace Apache I can't I can't because I did not add the list here but like I just add it to the list and I I apply for the role and I get it instantly. I can do my list pod that is your Enjoyed the concept of role-based access control That's how you learn Role Based Access Control and enter your service account namespace You can make rolls at the level now that you monitoring logging doing things at that level Then you need to specify cluster roles and cluster We have to learn all that role binding, so let's go. They will also see what we will do. Come to your place, where did you go? our syllabus so in our syllabus we People have seen R back It's not yellow, it's green, we are back We have seen it, now we are going to see How does work happen at the cluster level in R-Back? So first of all understand that cluster The work we have to do at this level is Why do I have to do this with the whole cluster? looking at the metrics of the entire cluster Monitoring the entire cluster's logs I see I would have wanted it at that level. I understand that whatever our R back It happens if you create a service account in it. You are like an achhe user, my sequel is a user. This gives them access only up to the namespace level. should get pod delete pod and so on but when If you create a user at the cluster level, Cluster Role Cluster Binding This is all you need This happens because you need to run the entire cluster To fetch logs of pods across the cluster Have to raise the entire cluster's deploy So what should I do now? I can give it a I will take it to the cluster level, okay? cluster level pe I will work for role base Access control in an Apache namespace We will not work, MK DI R Dashboard Create a dashboard Dashboard What will it mean for your entire cluster? Tell me everything, brother, what's going on? Give it to me, what have I done to you? The cube that is the cube starter repository In the starter repository I kind A great full of clusters how do you You can setup the dashboard, I have also done that. If it is given then what should you do first? You have to manifest your dashboard If there are files, then they have to be applied cube ctrl apply han f ye jo Particular files are recommended What does this do to your dashboard? Once the manifest file is created, I I'll go to the CD dashboard and everything is right here. work fine so cube ctl Apply Han F Brother, this is the name of Recommendable Board. How did you become this Git Hub user content? Cuber Nits Dashboard of these Cuber Nits Official web in the official Git Hub repository It is bringing the dashboard from ok, I am picking up his email files. Service account created in Cuber Nits dashboard Created a Service Cuber Nits dashboard named Secret made some then conflict map made one Created a role called Cuber Knits Dashboard Roll made that Cuber Knits Dashboard Roll What access should the cluster role have? Created a Cuber Nits dashboard Also created a cluster role so that it could be used for the entire The cluster must also have access to the role Binding the cluster to this role Role binding done for this cluster role Then I created a deployed service and If we make this then basically if we Check the syllabus so I have given you the name space Taught how to create Taught how to create a service account I have to learn to make a service and make it a secret. Taught Confine is to teach role base access I have taught you control, I have taught you how to make a role. Binding is taught by deployed service I have taught everything except deploy cluster roll so let's just cluster roll now I'll teach you how to make it, so let's go now. We are a dash Board admin user ok dashboard admin user If you make a Dwa AA then I will be a grave nits I want to create a dashboard and Create a user to access If I want, what would be the name of that user? So I'll kind of create a service account. If the API version remains v1 then it will also Fine Service Account User You Can Use Any I will create a service account only for this. In the meta data I will say the name admin user so an admin user named one i I am creating a service account named Space, it is very important for you to escape. Colon dot which is the name space, you need this Wali name space daani hai name space cuber Nitus Dashboard So Cube Nitus Dashboard Name If you want to enter the namespace of the Vim dashboard There will be a namespace in the admin user. Your Cuber Nitties Admin Dash is fine. So now you have an admin user named Service account has been created, now if you want, you can do it Enter this sign three times in the file and You can also write another email file in this file. Just one of many projects There is an email file and as many as you Deployed service ingress all in one He puts it in, that too works, it Complete fine if you get it in one go I want to make it so it's completely fine now What am I going to make here? cluster Roll Binding brother, why did you roll the cluster? You haven't made it, why are you making role binding? Because cluster rolls so cuber nits Cuber is already ready for dashboards Cluster Role Already for Nitus Dashboard It has become what I want for myself The dashboard that was available for the user Admin User This user with just that role Binder is there so I need cluster Role binding now has the same API version stays r back dot authorization case iv1 okay this is the API version meta data of this What will happen, you can name it anything. Let me put the name in Admin User binding is OK for admin user Let's get the binding done, give me the namespace This friend has a grave of Nits dashboard take name space now its role ref jo What will be the role reference and what will be the subject and role ref so What will be your subject? Kind of the one above, this is a service account or Such a name to copy and put here What is the name of the cluster admin? admin user like this okay name admin user who It is also there, put it in, what else should you put in it? Your Kind Name and Yes API Version API Your version comes in Sorry API Version API Group comes in API Group This will be yours only after R Bug authorization. A group named will come up, okay, so API Your group is already created, what should I do now? It has become my subject that admin I've moved the user to a service account back. Put it in, okay, it's done, now roll ref this With which role should I create an admin user? I'm going to attach it, so press escape colon and double click. Enter, this role is the cluster role. I have to attach that cluster role with me. What is the name of that cluster role? How to get cluster admin kube ctl Gate Cluster role Cluster role in the name space Which Cuber Tus Dashboard So Cuber Nets what is the name of the crystal roll in the dashboard Oh brother, there are so many roles for him. There are a lot of names, a lot of roles. Find out now what is the name of this role There is too much roll, its cube is subtle Get Cluster Roll In The Name Qnet Dashboard QNET Dashboard has lots of The tap is yes No problem, you can trust us. It is written here that brother, which one If you want a role, the name of the role is Cluster Role. And the name is cluster admin, so this is from here. You can also copy the roll ref and get the shortcut here. You can also add that in the dashboard admin. Okay, so API Group Role Based Access Control Authorization Keyed Kind Cluster Role Because I need to enter the cluster role name Cluster Admin So a person named Cluster Admin There is a role that holds all the roles. If I have all the access then I will put it in Escape key Del key Enter key Ctl Apply Now Dashboard Admin User Enter Now what is he saying The Cluster Role Binding Admin User Bidding invalidates the Subject Zero API Group Unsupported Lr Back Authorization Case Ao Supported Values ​​Block So let's see what the dashboard admin has API group is in Kisam Tha Subjects R what did you put back In this Take the subject, what did you put in the subject? If there is none, please put a namespace. We people So here we are Enter only one namespace on it. Let's stick to the syntax name Space Cuber Nits Dashboard It's Done I became a dashboard admin user and now I am using Cube. CTL Apply Han F Dashboard Admin User Service Account Admin User Unchanged Cluster role binding back to admin user Binding I have got the role, now what will I do? I will apply this thing, apply this Now I look at my cluster I still have time to drive it. Some effort is required to run it. For this you need a cube ctl named proxy. A command has to be run but access to it cube ctl then find the token to In the name Space Cube Tudge Dashboard Create a token admin user so what do I do My new admin user I will create a token for that. So that he can access my dashboard. When I got entry, I took such a big token. Brother, copy this token here by doing this Let's take it, copy this token somewhere. Let's do it and I'll simplify it. Cube CTL proxy cube ctl proxy nfn Address E 0.0.0 enter Now starting to serve on 8001 whose The port is open, so now my dashboard Where I will monitor all this I will receive it on port number 8000 so let's go Brothers start looking for it, so this is ours. Instance Security Groups of this instance Let us go and make a new rule in these bound rules. I will put a rule that brother Give me access to my 8001 anywhere else Save it, okay, 8001 has been granted access. Now the it instance that I have running has a Get the IP address, here is the IP address End Port We need to see what's going on at 8001. Can't provide a secure connection This is gone, now what exactly should I do? If you want to go to the location then I have done it here. Exact location dala hua hai sl ai v1 Namespace Cuber Nits Dashboard Services Kyber Nitus Dashboard Proxy allows you to Particular Location Go will have to Enter Side Can't Provide Secure The connection is fine if it is a secure connection is unable to give, it means that what The port number is also 8001 as 8001. I will need a binder, let's see what's going on. To serve on 8001 now let's refresh this Yes, he is not giving it here, why? If he is not giving it here then he is giving it here cube ctl proxy 8001 address zero The one and only Cube CTL Proxy Try Cube CTL proxy what is he doing now starting To all on 127.0 is serving on localhost Not serving on localhost Papa, I don't want to get it done on local host. Starting to serve local host then let's Looking at this, Cube Seattle Proxy Expose Kube CTL Proxy Expose Service Expose IP No How to Use Kube CTL Proxy To Access QNET API cube whistle something like this is ok ok Okay, let's try this: port, address, Ch Let's Give It Try OK Cube Seal Proxy Port Number 8000 Address Equal To 0.0.0 Kube Seal Proxy Port Run on it And get exposed at this address, let's go. Brother it is still showing the same starting to Serve on so much showing but not very sharp of if this Will work 81 OO for Biden tch means 8001 is working now what should I do with this I have to go to a particular location and here slash daal ke boom kya ho gaya arre for Biden brother, for Biden only, is giving me this Where are you giving for Biden? Brother for Biden Cub Proxy for Biden Cube GTL Proxy for Biden sees If yes, then it is saying that it is able to access Dashboard by Cube Seedle Proxy Absolute We are also getting the same error Okay, we did everything, we did all this. OK UI read cube seedle proxy session Regarding using Cube Seedle proxy Port Accept Host A OK Accept host dot astic aise karke woh kuch to bole It's coming, 21 people have given it a thumbs up. Maybe it will work, let's see Accept host like this Enter OK starting to serve and if go here and we People here But then what was ours? Copied this URL and it's here Went and threw the proxy Enter Boom We Have Our Kuber Nits Dashboard Finally, these were our brothers, Floor Ekes Bye Florex, thank you, so will we. I will give thumbs up because this answer works so well. Generally in your day to day life it is not necessary That everything goes the way you want it to There will be a lot of errors, mostly errors only There will be errors, you can google it 2 GB You have to do whatever it takes to solve it. Let's get started with the Cuber Tus dashboard. Let's put the token, we have put a big token It is beautifully saved here. Here is our token, let's copy the token. And go here and throw the boom token. what happened to him why sign in No Insecure Access Detected Sign In Will not be available access dashboard over HTTPS and Using Local What should I host, HTTPS or Access only via localhost Now you will have to access it via localhost. Get it done, I will do it brother, right now. Brother, it has come to my mind that I will do this. Let me just explain how to access it. I have to do it, we will go to the local now, okay. This is my local, okay, this is my local now. Local Pay Cube CTL Gate Nodes Only No, the cluster is not created yet. No problem [music] CDs do one thing Yes, they do a very cool job, this is what No, this is our Complete Cuber Nights N One Shot all this stuff Let's put ours on git, now run it locally What will happen brother, whatever happens, get the gate It's great here, we have our own MT repository. I would have made a movie called Cubes and One Shot and this We will create a bean repository your kiss I will make it on Pe GitHup and I will take you there. Whatever happens, I will show you the dashboard. I will keep playing videos for as many hours as I want. How many hours did the video take to make, oh my god, 7 hours So no matter what happens, I will remain Public, yes, let's create. The repository is now HTTPS, this is my Repository Hai Isko Main Kuber Tasan One Shot what do I do now if I put it in git Remote Han v Remote Hai Hi So I am not using this How do I push the code to GitHub? Remote Add I will do origin ad origin and this is my This is the URL, I will add it but this URL Why will my access be denied? Because the password seems personal, brother. I'm going to take an access token here. Go to my Git Hub and go to GitHub's settings. I'll go into the settings and then I'll go into a developer settings and Then I will create a personal access token and I will call this personal access token generated New Token classic and here's my thumb okay this I would say for Cats in One Shot I did a A token has been created which I will send back after a few days. I will expire access to the repository Why should I generate this token? I am generating this token because Why am I getting this from my local? Pay this token to gab.com from the machine at gab.com But I want to access the remote control. Git is added status, add all these things, get d dot all What did you say about adding Git Embedded? Repository o o Git This is the status which is not in the middle A repository named Auto Scaler So brother, I don't want that CD, this is the one If the autoscaler itself is also a repository If you don't put this then RM Hyner Auto Scaler Remove auto scaler brother ok git status be Went and we made my sequel similarly. Our Jango Notes app is also a song. Repository Tha LS CD or Joe Jango Notes If you have CD then you can write notes on it. This is in this RM hine R dot git jo dot git If you delete that folder, its git If everything in the repository is also removed, then Git Status is fine, ach auto scaler hum delete kar Diya, it has been deleted, it is done, so it is done for us. Why is there an auto scaler nearby? The gate Go L S CD Apache Auto no scaler ok ach auto scaler now If not, then git commit hynum aided Case in One Short Manifest is ok in the manifest file I am doing git commit and git Push Origin Main Abhi Main Kya Ho Gaya Now git push origin aa master because local If the branch name is master then push to master It will be done and push it is done and here if I will go to my repositories and I Kuber Nits in One Shot Ki Mast C Repository Found it in which there are no Jungo notes. Because it is a different part of a different thing. I will post the story, don't worry. Dashboard Admin User Let's get your work done That's all I had to do for this file. full of git let's clone this now What I'll do is I'll go to my local and I'll go to the CD document and work. I will go and take the train with Shubham. I am driving in my local that is yours So much hard work is going on for the dashboard Git Q Create in One Shot to Clone CD Cuber Nits in One Shot gone now here What was I supposed to do, yes, first of all me You had to create your own cluster, so how could you create a cluster? It becomes a stop Go to our confine in kind cluster Fig this Joe Conference So I am [music] Confine is how I create my cluster I want to Kind Create The cluster end will remain the name within that cluster TWA Cluster End [music] own Confine डट y AA ok this will be it Assuring node image Preparing nodes OK Writing Confession Starting Control Plane Now what will I do with this cluster of mine? I will remain in this with my Cuber Nits I will make the dashboard really cool for you. It is a completely amazing dashboard. I will give it to you, it's okay Gaya done cube ctl gate notes so these are my It is not ready now, it will be ready after some time. Lets do it It is ready one now everything is ready okay so cube CTL, all my notes are ready now I I will do my Dashboard So first of all for dashboard What should I do? I should get your recommendation. I have to put all the files, now they are all ready for me. Go to the dashboard folder and I created a dashboard admin user and he If you want to apply then cube ctl apply naf Dashboard Admin User Service Account Admin User Created Drawer Navigator sl v1 sl brother where are you getting this from From here I have given the complete path here. is sl ai v1 namespace proxy so this I'll copy it and go over here. I will put it on my enter, it is going great no error no nothing now i use it I will pick up the token Here is the token, copied the token and I slammed here and sign in boom you have Mast sa der in nothing u display because If you haven't made anything yet, let's make it quickly. what will I do if you give me this cube By sending CTL proxy to NAM I'll keep running it in the back end and make something what will you make friend What will you make a CD of? If you want to make engine engine things, would you make everything? Pho dete aaj to cube ctl apply hine F namespace namespace CreatedDocumentsFragment Your backups are running. Your set of reps It is running and deployed is also getting ready. How many containers are being created, so every thing is happening now these things that are happening All the running that is happening right now is this thing You will see it in the dashboard. Refresh it. Refreshed it now nothing to display Hair is speaking but if it above name space If you change it and put the engine here then You can see your diploid is also visible. Your demon sets are also visible. The cron job is also showing pods two Succedence since which second is it going on Confinet and what is your ingress What is in the engine ex note ingress There are things, everything you can see, how much This is so true, it is next level. Workloads if you want to see them The status of this is something like this that D Man Your sets are running, we have seen everything. See what's covered in the sidebar Let us look at the workloads In 2018, we used cron jobs in workloads. Set up the daemon, deploy the job Kia Pod Kia Rep Set Kia Controller Kia State Full Set Kia Service Me Ingress Kia Service of Ingress Classes Conf mapped to Key Config Persis Volume claimed secrets Storage Class Kia Cluster in Cluster Roll Binding Roll Cluster Events not yet done Namespaces Kia Network Policy is not yet announced Nodes Persis ment Volume Role Binding Role Service Account Custom Resort Definition I haven't done it yet, but if you pay attention Look, you've covered all the concepts. Brother, I have covered all the concepts, almost 99 But all the concepts are yours, enjoy it. I am telling you how you are one of the best Kuber Nits I mean, it's been seven to eight hours in the same video. It's a different matter but you have done a great job in just one video. Matrix Sir Monitoring Logging All Viewed CRD cool I'm going to tell you about But how do you feel about it here? Till now you have done a great job here with your cluster. Monitoring Nitus Dashboard Cluster Monitoring Logging in, see Li, obviously we are the people project. Monitoring Prometheus and Grafana in We will do it together too, but for now brother, this thing Enjoy the workloads Enjoy yourself, you will get everything If you want to check the logs, you will need to check the logs in each pod. Let's say this is a pod, which one is your Inix? Take this pod of Inix. All the things that happened in this pod You will find all the events logs. Wherever there are mountains, you will find everything. So we have seen it very well that Bro how do you install the dashboard of your cuber niches You can make it, it looks very beautiful The dashboard is also a luxurious pendant pod. If everything in the world is gone, then you and everything that was yours It is going on or pending, whatever it is, it is you You can see here, okay, so this is how you Can you make a dashboard of Cube Knits? Now let's move on to the next concept which is Let us see some of its advanced features which There are custom resource definitions, well, these too It comes in advance only, let's see that too So if we talk about custom resources First of all you have to understand the definition If you have to find out what this resource is, then Kuber Niti has pods of services it occurs All these things are diploid Isn't this what you're playing the whole game on? All resources are pod is a resource Deployed ingress is a resource now all these Resources are something that helps governments I already know if I do it, Cube. ctl create pod or kube ctl run then He knows how to make a pod cube Seattle create namespace so he knows this I want to create a namespace, but what is this namespace? How do you know what its structure is? If it happens then you need to create such resources which is not in cubic nities by Default but you have to make your own From custom resources let me create a database Where I am no longer I want to create a source of shubham in which I can share all the I can store batches, it looks interesting. I am feeling that I am my own Kuber Nitus I am creating a resource as if someone had code must have done and created a pod that You need to write containers in the spec for this. If you have to put images in containers then This is a structure, a similar structure. If you want to make it for yourself, custom Resource definitions seem to be a bit more Tell me in detail, I will tell you like your pod It happens Like you have a pod, what do you do in that pod You can create an API version of that pod. which is v1 but if at the same place But what happens when you are diploid? diploid When deployed, you write the API version. AS v1 correct so what are these apps here Why this app is not basically your group The name remains and the API version remains yours. The API version of this resource Pot remains a resource as it remains Its group remains blank, meaning here There is nothing, only v1 and v1 what This is a version and inside it you what do you do inside it You write spec directly, spec means Specifications of the containers you will be making Then your names will appear in the containers, then your The image of the containers will come and so on you can see this You make all the things but this structure Now you have to define it, right? I created my own resource from Let's Where the Pods What Kind Happens The right kind is pod, not even s pod If it happens, what kind of pod is ours? Okay, so let's make a kind of pod. Now I have to create my own resource, let's Batch Me for Myself Kub Niti has to create its own resource I don't even know what a devops batch is but Still I will create my own devops batch where How will the pay spec be that the batch name again Duration of the batch, then which batch Walking on the platform What is the platform then batch mode Now I will tell you all the specifications. I can't create myself out of thin air like this This specification should be shared with this resource. The resource needs to be defined and this is Custom Resource to Custom Resource Definition There is a structure that you can use in graveyards You can create your own resources, let's do it. If there is then M KD I R CRD a CRD Let's create a folder named cd crd Now here's the Pei im a I devps crd a Devops' own custom resources I will create my own custom resources for devops now. Whenever you create a custom resource definition You can create custom resources from that definition only. If you can make it, use whatever kind you like. It will be a custom resource Definition Custom Resource Definition and its The API version will remain the same. Extension A Extension kv1 so what are API extensions That's the group name of the custom resource and by the way You should also create a group name for it. Let's make a meta of it now. Let me make it a little bigger, its meta There will be data, write the name in it, what you I want to create batches of devs I want it like I have on train.com And I'm going to put some speck in it. Meaning that this custom resource definition What should happen, as I said There is a version, there is a group, so of the group Name the group and let me call it I want to enter the group name Train with Shubham Train with Shum Co to this I its group I want to put the name of this Vishvam Coy This is the group name, what else can you add brother? You must have noticed that whenever you create a pod When you make it, you can make pod PD pod but when you read you write cube CTL Gateway Get pods s plural same as in names you You can write plural or this particular which What will be the plural name of a resource? So will Deps Children What will happen in Singular as you saw The pod's pods will be deployed. If it gets deployed then what is singular Hoga Deps Batch Singular and Kind What Just like Pad has a capital P, so do I. Write the devops batch of the devops batch like this in capital letters I can write capital b this is me What I'm doing is creating my own resources. Now you must have also noticed that whenever you do Yes, service and whenever you create a service, but When you get Cubber Nits service so cube ctl get service but now cube Do you also do CTL Gate SVC? If these are short names then here you can enter short names. You can also enter names like Passion Children And WS whichever you like short name and you can put now you want this whatever Custom resources are those of a namespace If there is scope inside too Scope Name What will be the name of the scope Spaced name space that you this Dave Baches name Use the resource in any namespace can you do versions version can you version What do you want to give to Lets? You have given the first Now new versions are made from time to time. If you can create a version, then name the version. If it happens then the version name is v1, okay Group Name Train vs Shubham Version Name v1 so like group name in deploy If you have an app and its version is v1 then your API version becomes Apps v1 group What's the name of the train, Shubham, so tomorrow when I I will create a resource for Debs Baches. Then it will become AP version. train.com v1 like this ok name is done now Served true, serve true means I call this I can run it operationally if I want to. I can also store it with storage true so I can basically make anything myself. I can also create database units of You can also store your own data in Kubus. I am using custom resources now. If you want a schema, you need a schema which Yes, this is a particular definition Uses schemas such as the Open AI v3 schema. Standard definition remains that your type This will be the object and your properties. And so on, this schema remains. That's why we use the Open API v3 schema. You can use any other schema Yes, but generally speaking, Open AI v3 remains the same. You can keep the type of schema as object. You placed the object, now that object Some properties There will be properties there will be properties Like there is a pod, there is a speck in the pod What are the properties of Spec? Then your containers names of containers and so Non-diploidy what remains Spec Reps Labels and selectors and accordingly His logic is written in the same way as I am I write about the properties Spec Type object Then what else do I have to do, type this The object will come in spec, then what I want to put it in this I want to enter properties and see Open API The object type of the v3 schema will remain and Spec inside properties will remain in spec will also have types and properties and its You can enter whatever you want in the properties. I have to put my name in my own words. I want to enter the duration platform mode. So the name of my batch will be this what should happen whose type will be something like string It will be of type and I will describe it I can also put Description This is the name of the Deps batch Name of the Deps batch now in the same way me and what do I want to add name duration Platform mode so I want to enter the duration hmm duration let's type String No duration No duration Description Description This is the Duration of the Deps batch so this Deps batch ka duration ho gaya mode that I this deps How am I going to teach the batch? String Description This is the mode of the batch Examples: Live and Recorded (Generally) I teach live only, now let's after the mode Which platform should I use? I am going to teach you this thing, so type String Description This is The Description and Platform of the batch done so this is what I did I did this and added some description. and put some of mine and some of theirs Pay I will be able to create custom resources all this What is this all, this is basically my structure. that whenever I create an object of this type If I create this type of resource then my I want the values, I want the mode in it I need duration and type name I need a platform, I can tell you all these things. I can and by doing this I create it I will give it to you, I will save it, so what have I done? From top to bottom I did a custom Created the resource definition that Kubus had previously I didn't even know, but will he know now? Debs Baches Ki Kaha Train V Shubham P Todan V Shum Co because you need to have a You also have to write group, double escape colon K Enter now what should I do cube CTL Apply Han Adeps Sdi Enter Now What is the error saying when retrieving? Current Confession of Resources AI Extension k1 Resource Custom Resource Definition Group Version App Extension Kind Resource Name Namespace from Server Dev Resource may not be mt resource name may Not be MT so the resources we have given Custom Resource Definition I may have entered the name wrong. Custom Resource Definition (DEFI) Definition, wait, we'll look at this. Cuber Knits Simple Cuber Knits Custom The resource definition now contains Go ahead and try it yourself. You can use it from here. Yes, it is very easy and look, there is no custom here. copy the resource definition So this is its API version and I have It is correctly written as custom resource. The definition must be written correctly OK let's check again the group has been added I have put the names, I have put everything. Let's see this, may be the name is not correct Let's Cube Seal Apply Again OK Error When retrieving current confine resource API extensions for correct resources Custom Group Versions on Kind API Extension Kind Custom Resource Definition ok name blank namespace blank from Server Dep CRD Resource May Not Be Mounted Let us once again see that this What is the capital D of metadata? Gave I have entered meta data escape colon double k enter End Cube Seedle Apply Custom Resource Definition API Extension DevOps Batches Due to a mistake created by your A lot of time can pass, it's over now. Cube CTL Gate CD By doing this I can see which b.in This is a newly made custom made by V Shubham Resource definition is meaning like Prometheus Thanos's custom resources are created Vertical Pod Auto Scaler's custom It becomes a resource, however, you should also have one of your own. Custom resource has been created, now its benefits What is it brother, the advantage of this is that you You can create a devops custom resource using be like what kind of it would be like you You make pots, you make groups and ingress You make all this, you make a devops batch You can keep its API version, right? with Shubham Co v1 why this because this group This is the version, this is the kind of understanding This is the kind of custom resource name that came in Okay now the meta data is the name of this batch. What should be the name from let's I entered Passion, I don't know how to sell it now, I have no name space If you put it in then you can put it in the name space But if you have to write a spec for it, What would happen in me, what would we want? In spec we wanted in spec name Write down the duration platform mode Name Deps Zero to Hero Junoon batch na ye ho gaya name Then what else do we need, we need duration Duray Duration, duration, then we can put it Three months from 25 January 2025, then what else can we put? If there is a platform then where will this batch be built? The platform will be launched with Shum Copay and Mode It will be live Recorded Live Edge This thing is always crazy, does Kubus even know this? It wasn't there, but you created a custom resource. Deps Name Batch Name API Version Use I entered his name and then I put everything and escaped the call. DC Enter Cube CTL Apply High F Dep What is Sarmal CR CR means Custom Resource CRD means custom resource Definition Enter batch as CreateDrawerNavigator Gate Gate Now I can put it here. Devops Batches Enter Passion Batches Now I What I can make another batch cps2 now I let Made a new batch of cess c2l which I named Put passion batch lets to 10 And I don't call it simply passion, instead I call it passion. I will put 10 batch in it and let it be this batch by the way Hogi Nahi Junoon Bach Na Vad Be The Last Batch And by doing this I apply cube ctrl F Dave S2 Enter Hein F Bola Tha Han F Jan become Rib Junoon Bach Nai which is a Devops Batch Hai To Nem Junoon Batch Na AI Version train.com creation duration in days Nine Months From January 25 Onward More Live Age Always Named Devo Zero to Hero Passion Batch Awesome will be on the new platform train vs Shubham So you see how you created your own custom resource. Made it and brother also promoted it strongly. Diya of your new batch, so this is how you Custom Resource Definitions or CRDs You can make crazy cube knits now. Brother, these operators have also become our CRD. What are Look Operators Generally? used for programming Programming as in Golang Python has operators and these What are the operators like now we Created a custom resource definition in Debs batch Now to program it, schedule To do this, some extensions will be required. For that there are operators like Argo CD operators are Prometheus operators, then all these operators so you can use this custom resource Definitions that create custom resources You can program it and The Kuber Nits API is also very important for It happens because like all these pods and Your deployed Rept Sets service ingress All these things are available to you via API You can also access Python's API Mujhko pata hai ke OPF ke OPF so If you write OPF Python then it will Python Framework Two Right Queue Operator Python Framework So there is a Python framework that you can use to build Kuber Examples of how you can write Nits code I'll go and look at the examples. What can you make with lettuce? You can make a lot of things You can make dimus, dimus means background. Tasks you imported to Cope F D Man I made it so basically it's too much In Open Source and Cuber Neighborhoods Generally, you have to make a contribution This is not asked in interviews. I will also tell you this in the interviews. If you don't ask what, then CRD is not generaly You are asked, API is not asked generally Operators are not asked for you Yes Helm will be asked Service mesh asked You will be sent to security Security Standard Image Scanning Image You have to do the scanning, you can do it via tv you can do it by docker scout if you You can see here you go to your Docker It's fine on desktop, your Docker on local. The desktop will be on that Docker Desktop. All the containers that are running late clicking beyond the mini cube or whatever it is You can maximize it here and you can do it here Pe Docker Scout Likhit Sakaata Ho And You Can Do Image Analysis with Docker Scout You can do any Please upload the image, I have mine. Gruff is gruff from Let's or someone else take it kind of note on which we can deposit our cube Running a Kind Cluster of Nits Vulnerable, you can see that there are six Critical Severe is 15, Very is 15, Medium is 29, Low is 15 Savarin is specified and by doing this you can have fun You can also scan your images using Docker Scout is all you need in Image Local And you can pick it up from here or you Also go to your local and docker scout by the way It does not come on this, there are plugins for this. It runs only through plugins, so if you now You can study it from your Docker Desktop Docker in Docker Desktop Scout is enabled and this allows you to track your You can also scan images over the network. Policies Secret Encryption We Have I saw that base64 is the code and base64 D-code: These two types of encryption exist You can run any network CICD integration in policies which will be a complete project with Gitops I will get cloud managed services done in it. In this we are going to cover EKS AS And GK will keep this for some other session. It will be too much I think the video Will cross 16 and 20 hours if I this If I cover both of them then this will remain eCase Your CICD Integration Monitoring will be done in the project, it will be yours Gaya Deb Trouble Shooting you guys saw How do we debug in Cube CTL? How can Kube CTL provide logs There are resource usage analysis top nodes like We did cube ctl here Top node, so here we have resources I get the utilization that I have control over. The plane is the top most node then the top Which pod is taking up the most space? Hai let's say in the name space ache to ache I have this pod which has a lot of space If he is taking all these things then we have If covered under resource utilization If you talk broadly, we have Matrix Server Logging Monitoring In Operators, we saw an overview. Home Service Mash Connect API CRD These All We have covered all the things, now what is left is are that your projects and some and Advanced Tools Friends, till now you have seen so many We have created all the manifest files. has made so many things, I know a lot Over Writing a Velminik file Writing its kind Making its template and many other things It remains but if I tell you that there is such a There is a tool because of which you can do all this manifest You can get rid of the hassle of writing files. And for each environment you need a separate You don't have to create a manifest file every time. No separate manifest file for the tool Everything will have to be packaged, so how much? If you enjoy it, friends, the name of this tool is Hem. Brother Helms manager is Tus ka ab bhaiya package What is a manager like you do at your place? you write edo at gate Install Unzip unzip like you would at get install unzip or at get install docker you at which that there is a package manager for your System, you do that, what is happening? ok as you do with your package manager Unzip and install Adicate to your system And all these things get installed like this Similarly, you can see things through the hem. You install it using your Kuber Nits The manifest file is too much brother. I did not understand clearly, please tell me a little more. Tell me a little more in depth about Helm Helm happens to be a package manager. For example, for cube knits you Like a lot of Cuber Nits manifests There is a file, you have to make an engine, you have to make my Do you want to make a sequel or do you want to make your own? You have to create an application from Lets you Create your own notes page or any other page So what do you write about? manifest file as you would in your deployed You write that it has become very big, okay, like you In the manifest file you can add your deployed writes Yes, you write your service, you write your you write Ingress you write HPA and As many more compacts as you can have As You can write, you can write secrets Yes, okay, so all these things are for everything. Will you write for my sequel too? You will do it for your own benefit also and if you Deployed service ingress HP of all these Look at the templates, they all have the same things. There is a kind and then there is its kind API. version its API version meta data its Metadata Name Space Its Name Space End So on then when everything has to be the same then why No, we package it with a package manager. Why not use a package manager and that The package manager installs all of these things. Hem is a package manager that will You can manage your Cuber Nets workloads Manage Cuber Knits applications can you You can deploy and so on today. Let's understand how to actually use hem. If you want to do it then let's go to our server and say this This is what I'm going to do, so let's go to our server. Here I am heading towards MKD. I will create a folder named Hem. cd hem ok and inside hem I type install Gonna do hem charts hem charts What happens brother, for example like you Here's the engine, here's the engine, and the engine What's inside is your cron job Ingress is Persistent Volume is Rept sets is daemon sets is service deployed end So on, you made this yourself and that's it. thing if you need a package in an automated way If you had to make it with the manager, you would have made it with Hem's You can make it through but for that thing you You have to install them first, let's install them. Hem you have to go If you have Google 3 then go to Hem's official website Go The Package Manager for Kubernetes This is The Best Way to Find, Share, and Use Software built for Qubus to Qubus in All the applications that are made are all yours. can you make it through what should I do now If you want to install hem then install hem You download a script to do You can do it and with this script also you can hem What should you do if you can install it? Hai curl f s aa gumd a to gaye naam ki a The script will be made for you and that script The content inside will give you this If I get it from the URL then I will come here I'll go and copy this to my helm. I will paste it in the folder and press enter And I'll do it then get ahold of this shell I have received the script, cut the message. If I try it, it will All means all functions and all shells The script is written so you can play Hem You can install it so you don't have to do it yourself. All you need to do is install a small I have written it in the file, ok now that file You will need to make it executable. From the Seech MO 700 you get its executable Now you will have to give permission for that cool green color Ki Ho Gayi L S Han L Executable Too Done, now execute it dogg. A Enter Hem version 3.16 already latest mast aapka Hem is installed if you are using the Hem version If you do it then you will not be welcome hem If you do version then which version of Hem do you think is right for you? If you get all the versions of Sa Go, then help There is also a version of Go written in Go lang. You've got it, now how to use it? If you do it brother, then if you just and only If you write help then you will get all the You will get all the help things like commands What you can do with Help Help With you can create new help Chart you can create environment you lint You can do it, meaning if you accidentally do something If you have made a mistake then something in the template If you mess up, they can also see it. You can list, you can push, you can pull. You can search a lot of things. If you can do it with Hem then let's go first First what will we do, we will make a hem If we make a chart then how do we make it? Help A chart of I Ache from Create Let's If I want to make it, then good I'm creating a chart named Helm Apache Helm am helm create apache helm enter then Creating Apache I made a helmet inside which I am Apache I will play it for you guys so can you see A folder named Apache HEM has been created for you. then cd apache helm now if you ls If you do, you will get Charl Charts templates and values ​​and what is it Helm's own creation How did Help create all these things? If you do tree in it, right now the tree is in it. Otherwise what is a tree, that whole tree Structure tells you where your folders are Let's install what's inside sudo att install tree small command What will make you so beautiful? This will show what Helm has done. I've made things for you and here I am I will give you tree enter so you have helm Created Charts Fill Charts Then Templates and inside templates Deployment hp.in survey service Account done so what you were thinking here that If I make an engine, then its You will have to write deployed, you will have to write HP He already made it so that everything would have to be written down. hai and thatchi of him that you will get your kuber Complete return of nits manifest files I don't want to write that it is your template, meaning if You will go to the CD template and click on the LS button. If you do this then you will get all these deployments. If you will do this Deployment so you are not fully deployed. Likhni is the Zoa version of diploid Whatever kind is deployed, it is all automatic. It is written and its values ​​are Inside such curly brackets include well Held Full Name Labels Include Ache Held Labels Recca Include Values ​​Di Replica Count each selector labels so what is this thing This is a templating engine and this template In the engine you just get the values ​​provided and those values ​​have to be transferred directly here. Brother, I will get injected, then Literally nothing to do if you are not in service If you go to the service department, You literally don't have to do anything with your port Whatever the number is, it will be derived from the values. Whatever the target pot is, you will get the same here. You will have to write the values ​​in the same way. No, why have these people done this, but You will also need to enter values ​​in the target port here. The target port will have to be written like this and there If you have to specify the target port then that If I do it for you, it's a small All you have to do here is like you Service D Port is written as Target D Write the port Denge ok sorry service dot target port Target Port Now What's the Best Thing About It Now you can find the file with the port values. Go and edit it and whatever that port is. Target port your values ​​will reach here I go and add the target post here. Whatever you do will reach the protocol. Just put the protocol that is running and it will be added. If you want to escape colon pain then you will get the complete information. Service completed, fully deployed ingress No writing it all down, templates for you You will get those templates which have been created automatically. I have to use it, but brother, these are the values Where does it come from, so whatever values ​​it has Open Karo Values ​​now in this these are the Default value use for ach helm this is a yaml formatted file declare variable to Be passed into values ​​let me say Its diploid replica count should be two. I wanted to do two reps, so I did two. I wrote down the image I want now. I don't want to have a repository Repository should be used HTTPD because I have a good server The image for that is available on httpd Pull Policy If Not Present Meaning, if my image is not presented then pull it or else don't pull it tag Let's tell you about the particular HTTPD If you want any version from lates to 2.4 then you You can also add tags here and all this The values ​​will go there and get injected now. If you need anything else, you can add that too. If you want to create an example service account put create true and for everything like For security port security you You can put any service you want If you want a cluster IP, you can use the cluster IP If you want note port then you can put note port Put it here, for example, the port number is 80. People there named Target Port If I added a field, then here I will put a target Add a field called Port and enter 80. So whatever you want to add in the template, you Add to the values ​​you get in the values If you want to add something, add it to the template. This will keep getting injected This is how Helm If you want to enable Works Ingress Set true here, any class of Ingress If you want to enter a name, then enter it, any resource. If you want to add CPU limits, you can add those as well. Let's say I want my These run on 100A CPUs, you can go up to 200A. You can also add that if you need any probes. You can also enter that, basically order scaling. Whatever you want, you can go to values. You can configure it for your help chart. And those values ​​to your manifest files This is how cool Helm is now What are these four dots, brother? So if I do v 4l inside this v 4l Whatever chart you are making inside this Are you making a good help chart or engine? You are making my sequel, you are making it Details remain about what its version is what is his name what is his description what is its type, what is its version and API version whatever, P version whatever to enter You can put that here, so double escape colon Now I have my help chart. Going into his values, all those values I put what I need for an Apache It is for example apple is good for me what do I need for Apache Where did my httpd go? I need this image. 2.4 tags are needed and this service is needed If it happens then I have given the port number in the service Enter the target port and port Done Now what I have to do is my job What do I need to do to package this chart? I have to do it, how will I do it, the package is simple Hem Package.com Enter Successfully Package Chart And saved it to home ubun to kubar tuj in one shot Helmet has now become a helmet in this package You can import and export You can do anything with this package. But generally I put the package in the wrong place. I have done this, let's remove it Generally what you have to do is get out of it. And this is a good thing, you should take it to If you want to package then lm Package Ache Hem Done Successfully Package Ache Hem so here is your good hem package This command was also correct dot means here Package whatever you have. Two but that location should be package inside it. Which is not right to get you out of it okay what am I going to do now hem install helm install my package is done Now I need to install that chart. Now what I do is I change my chart. What name do you want to give me? Let's say Lets do this with Apache instead of Enux So instead of an engine, this is my Apache. Apache engine both are same kind of this Apache which is the HTTPD server that I I am going to give you an example, that is it now. I need to create a dev environment for this. Making it a production environment and create a staging environment If so, I can name it directly. hm help install dev achhe and then my Chart Name Ache Helm Enter Can You See Dave Ache Deployed But Namespace Is Its Default If that's wrong, what's the problem with that? You know if you do cube ctrl Get Pods then you will see it in the default namespace Ache's pods are also running, how accurate is that Meaning you have to enter hardly two or three commands Padi and your running is good if you get If you provide services then you will get good services. The service is also running if you deploy it. So you also have to run the deploy of De Ache It's so cool, what should I do now? Create a new environment using cube.ctl Okay, bye Dave, if I had to look at this hem chart. If I want to delete it, I can write it directly. helm uninstall dave apache help uninstall dave apache and All the pods I had, get pots all Deleted Gate Deploy All Deleted Gates All the services are deleted which are running of Kubus. She is just walking Now why did I delete this brother? You created it so quickly. Why did you delete it so quickly? because whenever you install You install any help charts Dave Ache from Let's as well as his name Space Create Name Space This is very important to create a name. Space is very important, let's say Dave I am creating a namespace with a good name. Am Enter create namespace not you directly put a space in the middle of the name Dave Ache and before Obviously there is a command where You create a namespace and the namespace You also give the name of it, I am forgetting the command But let me just give it a try, so The command is create namespace and Han A Dave Ache to Dave Ache name ki namespace ye use Will end at the same time install it Time Hyfe Fun Create Name Space will also Enter done so what does this do you whatever You are creating your own chart. Name the chart. Name your chart and then you Enter the name of the namespace you want to create. Add two more flags on the side that hein ain create name space to let's say You've built good servers for Dave. So that's going to go into the Dave Ache namespace. Similarly, if you are building for production yes then hem Good for install production Which servers and charts to use There is going to be some good help with the help chart. Templates already help in this I just made a list of charts that are tucked away in a folder. Changed the name of the installation put production apache and namespace Production Apache High Free Fun Create name space boom so now my If it is deployed in production Apache also If I do cube ctl get pod in the Name Space Dave Ache So My Dave's Pods is also running and my production pods I want to run from the let's If there are three pods instead of two in production What can I do directly with VIM? I can go into my helm apache helm and Go to Helm and enter my values. I can tell you what you do brother. You know, rapes, we remember them. If you had put two in the beginning then two key In place of three, I want to put three reps. I want to put it, I put it, put it now What will I do Helm upgrade helm upgrade i just and only I want to upgrade my production. Prod Ache and name your chart which is Ache Help Enter Production Ache Has No Deployed If you are a religious person then you should also upgrade your account first. You will have to go here and get its package. If I have to, I'll go to Eim Charl. Whatever is my Ach Hem chart, go to it I'm 16 this is the P version, change it a little bit. I will do it I'll change it a little bit, one escape column. Dub k enter so I have made my chart I have added a value to it, now I am going to package it. I will do it at the helm package apache helm such enter save it to ye So I just got this package now I I can do it directly upgrade then my app name which is Apache of production then here is my Apache Helms Production Ache Enter Ab Aap Dekhge My Production Apache Has Been Upgraded Happy helming production Apache has been Upgrade This is the second revision now my dev How many pots were there in the Get Pods in the Dave Disability Dave had two of my but because of my Recent upgrade to the production Apache Mere I have three pots, see how easy it has become. Managing multi-environment so right now I your dev to production and just two minutes It will take me more time to create the staging Helmets are possible now, brother. The question arises that what should I do for my revision? Number one was the one with only two pods instead of three. If I had to roll back beyond that, Helms is a fan of my Joe production. That was my revision number one, revision number One in which my particular two pots are running I want that one, I want three. If you don't like it, helm roll back production. Apache revision one then your namespace Production Apache and Roll Back Was Success Happy Helming and if you get You will find in Pod Karoge Production To how cool is this, drop a boom in the chat If you understand that through hem You can do anything like I did just now. Created Apache Hem as well as I can Cube Seat No Cube Seat No Hem Create any Take node JS P is a page of Nana Jas which I want to run If I want to help create a new character, please enter it. You have made your nut like a package. Do it Helm package now before packaging it first You will have to upgrade the inside of it. I will have to update the values ​​so I am then run in the cd node Jas P Go and put your same tree inside it. It is made that all these things are chart chart dull Now in the charts You can go ahead and name it Nut GS P What is its type Application Its version Can you put all those things here now? You have a small change in your templates Go and look at your service port a little. It's a manual you have to change Thing so what will come to you here like this The port at the top remains the external port. Target port is the port of your container So here is one Please enter the target port so that the container He should also know what the port of So escape colon double k entered now What I will do is add values ​​to it. I will change it and you can now go to Docker Hub. Here's Docker Hub, so Docker Hub if you remember it. We must have read a lot of notes and If you had put things from all over the world then what would I do? I can go into my Docker hub and Any image, anyone, anything, I want it I can run mongo deb if needed I can run mongo deb which is good I feel like I can drive it myself now. also has Docker Hub, then by signing in to it Now I'm going to run my own things, okay? If you look, I have a floss cap. Notes app Afzal's Portfolio is another notes app This is Node's app, there are so many Tutor apps. apps is node app will take because node jas If you want to run me then this node app This app runs on port number 8000 so this Train V Shubham Snowd Pap I will pick this up And in the image, instead of repository, use Agen. Engine by default has such a place holder I will put the engine on the train wish node Pull policy if not present tag i take I will take The latest one is the node pop Brother, give it to me, this is for the secrets And all this is fine, service account is fine Just tell me what to do here. That this one I have is on port number 8000 It runs and its target port is also 8000 I understand that this container is worth Rs 8000. It works and I get exposed whenever I want to. also 8000 pahi karna hain boom scape colon double k Enter my values ​​have been upgraded so I have received a letter from Nat Jas, some somewhere. I also did not write any email file. I did nothing, I just went and took the image. I've put in the values ​​now I'll hem Package Nut Jas P ko package kar do bhai package It's been done perfectly Install Do I Need Node for Dave Now If you want to make a dev node Nuts for JS Pup Dave JS P Banana Hai In The namespace Dave Node is named Dave Node. I want to create an app in namespace and I will also give it a create namespace. But Dave Nut Jas P of my chart My name is P, my release name is this What is the name of the chart that will be used? JSP This is the chart you will use Han Dave Nut Create Name Space Boom and your Dave Nut Jas P Diploidy L Gate Paw in the namespace dev node your p running The gate Service in the name space Dave node so your Its port number is 8000. Brother, Cube CTL will forward it. port Forward which one for the service Dave this one Copy paste the name of the service. I need to map port number 8000. what else should i do with 8000 Port in the space dev node namespace Dev node namespace after forwarding I am its What to do with the address 0.0 Enter forwarding from 8000 Now I I'll go to my brick instance and see that Is my port number 8000 open? It will be open because my notes It is P, that too used to run on port number 8000. I'll take the public IP and go here. An HTTP request on port number 8000 by hitting Hello batch write your plan on Learning junkin whatever it is I want it I can change whatever it is but mine too Doop test Hello, like, share, comment, everything is going well. It is made in what f minutes 10 minutes two minutes pata No, and this is how you can help through something. You can also install it as per your convenience. Pap whatever you like from Let's someone Our [music] Helpoversies CD can also be made, let's go to Hem Let's see through Argo CD help through Argo CD or what else can I do? Hem's through Argo CD yes Argo CD you make through hem let's Now let me tell you about the cool Argo CD Argo CD What is Argo CD? I will tell you in depth as well but if You can make an Argo CD in two minutes. is one second So you have to install it here. In Helm is not here, you can directly go here will find it somewhere hem show argo cd helm write like this Two Helm Argo CDs wrote this and here You will get everything, how to add it If you want to do it, it will also be somewhere in it. [music] Man Argo Sea when I take you end to end I will tell you when I teach you, but if you If you really want to know how to do it then There are some things that you like Repository needs to be added like a I will give you a small example helm repo d helm repo add but which repo I want to add, if you don't know then search him Let's search for Prometheus Hem Search is Hem Repo Search is Yes, Helm Repo Search engine to search Engine hey friend atli that command is jh click Hem repo is not happening Search Here is Hem Hem Search Repo what are you doing brother hem search repo now nx you have to search So he will tell that brother Prometheus Community This exporter is something, Anx such a hem Repo Argo CD No Result No matter how many you have installed You will get these things now, a small one. sa install helm Which tax to install? A Helm Repo stable named Stable There is a repository which you can also search on Google. Helm repo if you can There is one called Stable Charts. If so, what happens to the stable chart? Generally just to check out things to report them Repository of stable and stable charts put the link and as soon as you do it like this hem Repo Ad Table and pick up this link and this one here go and wander Enter now in your computer your basically This repository should be added to the system Now this stable repository is being used I'll tell you what it is, so here you are. go and you can just check stable karta kya That is basically you have some topics which are like this It is for quick start, isn't it? There is not much work left for it Even more if you want Maybe he removed it after seeing artificial things. Anx hi here it is now let's say me engine Install Karna Hai Via Hem To Isam Me I will click and if I get it via Ajax If you want to install him then you need to directly what to do look this is what I was looking for Atlee was not available, similarly Argo CD If I had to do Argo CD, I would Directly Argo CD's Hem Chart Use from here and lets me If you want to install Prometheus I can install Prometheus directly from here. Hem Ripo The Prometheus Ripo Update done how cool it is let me show you I'll show you how to install Annex. Click here directly on the engine TL;DR Meaning of Too Long Didn't Read You don't have to read all this, you just do it directly. helm install whatever your release name is OCI Registry Docker Vsami These Charts So That's all you have to do, that's all you have to do yes and that's it let's try it so hem I would have put the install my release Am Enjan Hem Enjan Hem Enter This Ho got helm install engine helm can you See what happened, yes your engine helm has been deployed in the default namespace and this All the things you will do if you cube ctrl gate pad Get pods so you can see hem is now Running is so cool, friend, it's running. You can directly install whatever I want. I can tell you how cool it is and like I I have installed it just like that, what do I care? All you have to do is remove this link and Install this is the name of my chart uninstall that thing uninstall And it will be uninstalled similarly. Our production Apache also comes with names. I can uninstall PRD properly. Similarly, I have my Dave Also, uninstall Dave from here. I can do it, it has become so simple for you Add your Kubus Manifest to the Kubus Applications I will give you more examples of how to manage Let's tell you Mango Dib I want to install MongoDB so I I will go directly to Mango and start Mango. DB Container Image OK MongoDB Go Helm Install OCI Registry Versus MongoDB copy this Take it here I will go and slam the helm install tanami MongoDB and here I will put it Using MongoDB Creating a namespace for the name Half Create Name Also add a space so that the fraction pod don't become a word Enter helm install mongo db helm pulled Done so if I I will do clear and cube ctl get pod in The Name Space mongo is currently running an inet container It will end after some time and that watch My seal get pot for mango and that's a little After some time, yellow running also started for some time. after zero out of sorry one out of one running This will also happen and your Mongo The DB will run perfectly. Running is so cool now you Directly Cube CTL Enter the name of the unit in the IT pod. enter namespace mongo half b put two enter lo pod k Got in, LS done, the whole pod is made mongo mongo shul kia enter le mongo db Connecting to MongoDB Local started working Host Direct Connection MongoDB Brother Sir, this help would have been next level. What you are saying is going on for two minutes. I am downloading everything and giving it to you Kyber NetS is creating its own manifest file He is managing himself and in this way You can see things through the nice hem. Deployee has added helm a You can see from the list what you have done. Things added in the name space Mango to In mongo your mongo db is helm and In Enux you own nothing by default. There is nothing, so in this way you You can see what you have installed. Then uninstall whatever you installed. You can also install it directly. DB Helm Co In The Name Space Mango Boom To Helm has some life cycle. Helm you Do you create or install? upgrade, roll back, and then If you delete the history Look, I told you to install Helm. Hem uninstall told me help upgrade also I told you and also told you to help roll back. In One Shot You Will Get HelpPrivacyTerms I will not leave anything brother this time Cuber If they break all the policies then we will be the first ones to You will understand what happens in it Container vs Side Car Container, these two concepts are its If the parent topic is removed, the pods It comes in that we are inside the pods What we generally run are containers. Run it from that also there is inet container and there is a side car container, by the way Normally you can only have containers in pods. But you can also do all these things. Yes, what is the difference between this and the inet container? And in the container of the side in the container like this Understand that you have inet in both conditions Both container and side container conditions Has a main pod or a main container So consider it a pod, okay? The pod will always be the same, okay, the same pod. Whatever you make, it will be a pod. What do you create a manifest file for? You create a correct manifest file Whose kai kand remains pod right kind Pod so whenever you unit container You make it, you make your side container Kind will always be a pod, just what's inside it The containers that will remain in the space will be There will be two containers in it, two or more There can be more containers but one The container remains your main container in which Your main application should be running on the rest of the net container side container these two containers To help your main container It happens like you create a database with let's You are going to create that database. Took the main container and put the image in it Let's look at Postgres as a Postgres tool. If you upload the image then the main image of this postgres Before the container is made, it needs to be made from let's A folder is required or a path is present. must have or need some connections If there is one thing to initialize it It container Guess what is an it container Things to do before running the main container Should he give an inet container lets So I started a project somewhere. I am here to run that project A folder in that particular location You should be present, just like we do. If we make a directory, then one The folder is created and then automatically A unit container before creating a deploy You can run it wherever that folder is created. First the unit container will run, the folder will be created or Whatever his task is, that task will be completed. And then when the main container runs, this is what happens. Inet container Bhaiya side container It happens like Batman, isn't it? Batman used to fight alone at first, but then He found a side kick Batman and He became Robin, so now both of them fought together. So, you have a simple manifest. A single manifest file will be created. Whose kind will be The pod and the speck in it will have two Containers will run, one container is your main page It will work and the second container will be from let's That could be for logs. Log Collect. To be or Continuous You have to store something somewhere. If you want to copy it, then it can be done on the side. On the left side, both things are moving in parallel. Side Car Container as a Helper Container Saw Just like Robin is Batman's helper. This side car container is for your new container. There is a helper brother, then you will understand this. When you show the example hands on Let's get hands-on, so let's get a CD. MKDR do MKD I R it A folder named containers or pods makes CD cards now here I am what will i do em it container d y aa here now Here I am going to create my inet container's manifest I will start writing the file, now I will always remember it. Keep the manifest file of the it container The kind that lives in him is always in the pod This will remain because you can run the containers inside the pod itself. If you create it, you can also create it inside Deploy. You can, but generally for this example, pod There is a unit inside which you can choose one or You can run more than containers which The API version will remain v1 and its The metadata will remain, that will be its name now. You are testing, you are fine, you are testing. what am I doing now about the unit Next I make its spec Meaning, I will give its specifications now. Inside the pod I launch the inet containers inet containers inet Containers Innate Containers Your Main Containers If they are separate from your main container, your main container will also If you remain, containers are your main containers. So I understand what containers are. Your main containers are in containers Your main place will come where your actual Running applications in inet containers I am supporting him or lying to him. Whatever container is needed for this, now it is mine What is the idea, listen, my idea is that I will make such a name such a thing. Box man or put its name Main container okay I will create the main container and This is the only line where you will enter the name of the container. I will put the name in it container ok So I have two, I have one unit container and One main container, now this is the unit container That image will use the latest Busy Box will use the image and run a command will run the command which will be a shell command and In that he will say that brother, there is a shell like this command and speak Echo Inish Ization started dot dot dot dot like this and a little Will pause for a long time like sleep for 10 seconds then it will echo again in which it will speak Ligation Completed Done, I realized this was the previous pod. He just started a project called Inila Ization will hit print then for a while will stop and then come again inila completed done now This is a 10 second wait, for that 10 seconds what should I do if the main container should run only after I will put it in the image. Busy Box I will get the latest Busy Box here. I'll put a colon and enter a command. That brother, whenever this busy box starts, a shell run the command what main Container Started main container started means it What am I proving by writing a container? I'm proving that my main The container will start only after initialization and Initiation complete, all these things should be How crazy is it that I should check it quickly? I can do that brother, by running my containers First of all these checks, all those things can ok done escape cold drink enter this I saved the cube and applied CTL. han f it container yaml enter in test Created by Can You See in It Taste Pod Inish easing and if you do cube ctrl Describe or log this pod Look, hey man, cube ctl logs this pod What is the default container main saying? container out of main container it container not Found why this is known because inet test The name of your pod is the container it is inside. You will have to lock it if it is running. so cube ctl logs in test inside that The container which is the main container, its logs Show me what he is saying, I am not found o v i m it container me men do not Why is the found speaking tha ah echo forgot If the main container is started then it basically I made a slight mistake in my command. He is saying that I am not found, it doesn't matter. This is done, now what should I do to save it? I will do it and apply again cube CTL Apply Applied Ho Gaya Can You See This it test is invalid fobd n pod Updates may not change the file spec container Only addition to assisting a cube ctrl Delete a pod it test so which unit test Why do we remove the pod first? Because what is already initialized is a container You are trying to edit it which is a wrong thing to do with politics If you stop it, it is good that you will also get errors. It is understood that if in it containers You can stop a moving iron container and If you make edits in it then cube units will Not allow it so now cube ctrl apply High Quality Item Container Emulsifier in It Taste Created Logos or Logos Inet Test I need high-fancy logs Logs from the inet container are also needed and Logs from the fancy main container should also be entered Can you see the main container? Started and before that I had to have it container I need logs of inila ejection started Sleep 10 inila completed i think those who There was a sleep command, that too with Echo. Once printed, put it in the it container. Whenever you want to end any command Nor do you need a further This colon has to be put like this, semi colon Now you have to apply the cube. whistle Gate ports in the nameless space Can you see it test completed to which initial The initiation that was there has also been completed which is the main There was a container, that too is complete, now I can do it. cube ctl delete pod it test Done deleted now look I will cube CTL apply hine f now you my photo S cube may not be visible because of this CTL apply hine f in it contain createdted Pots Cube CTL Get Pots Now Viewing Ho in it taste zero out of one in it initial is happening means cube ctrl logs it Test K in the Container It Container Initialization Started Initialization Completed It container work is finished If yes, then now this status will change and if I'll get pots Completed I understand that it How Containers Work Until It The container was running kube CTL Delete High FA, I'll try it again. As long as your it container was running What is his status in the gate pad there? Tha it because it's going cube Seattle Apply within the container I apply did it ctor now watch cube ctl Get pods to can you see now initialization running And as soon as 10 seconds are over, There was a sleep of seconds, after that the pod initialized It's so crazy how it contains and in 18 seconds Completed understood how does your innate Containers work interestingly that first you Inila is kar do then your main container Drive your sidecar containers this way There are also side car container DAA now in What example should I give in a side car container? I'll run two things again always your it Containers and your side containers If only the containers are running then just What a difference there is here too The pod will be there and your API version will be there. will also become v1 and your meta data you can Rahe ho naam side car test side ka test You are creating a pod named where In spec you are giving what in spec you Why are you giving containers? You are giving containers in this, you have side Why didn't you give the container brother because if If you give an inet container then first it initializes It will happen, there will be a run, then it will end, but if You need to run containers in parallel, side by side. If you want to run a side then you will need to use containers named You will have to put it inside that spec, so here I create two containers, one in my The main container will remain the main container and the second He will remain mine will remain on the side car Container: One main container and one side car container Now what do I do in the main container I will put it in the main container, I will put it again Image Image Koi Bhi Le Sakta Hu Busy Box Let's take the busy box and I'll put it in what command should I run in the main container What is the use of the side container? Are any of your containers running with let's? collecting his logs his logs or He has to copy something side by side Its job is to help, so let's I have a main container whose command is what do I want to do here I here Pay an infighting I want to run a loop and then end after a while. Whatever I have written in it No, I want to finish it with let's I'm here for an infighting The shell command is h where i is c I will do what else I will do while true while True means while true means brother infa I will play loop inf loop inf loop and here I will just do what I want to do. I will get it done. should I do something brother, hello Friends, what are you doing? what am I doing this hello Friends, it is written that I am a Which one should I save in a particular file? I will save it in a file whose The name will be Let's Say Sl Ver slog someone take the log dlog okay I Save it in this particular directory I'm going to and as soon as I'm saved I will make him sleep in dialogue I will wait for 5 seconds and then do it. okay what does that mean that I Hello friends, print again and again I will get it printed and then after that here If I leave it on the wire log, it will be mine. The main container is the one that repeatedly Hello friends, the ver log will keep printing But what is this doing, this is an application What is Hello Friends One Place Store Do my side car container is my jo What is the function of a side car container? As soon as my main p is leaving there All the locks I put this to all the locks I will print the busy box on the screen. And should I give him the command that brother, you Run the shell command where you will Wherever you go, what will you do, simple Which is CAT, CAT means display the content Whose content to show Ver log App log These are the contents that you have to show. I understand what I am doing I am just showing its contents and Let's show me only 10 pieces of content. If you want to show me the last 10 then I will tell you what happens to the tail hine tail hif Show me the last 10 items in this file. Okay, but now this is the main container whose job is What is to Produce Logus this side container what is it To display logs, I will comment here. Let me explain what this container does. Display Logus and what this container does Produce Logs and in the same way you can use the engine here Run the container and its logs are produced. I will stay and run the container from one side. who will keep watching his logs just a little The thing is that if you store the data somewhere What will you need if you want to get it done? Mounts will be needed, volumes will be needed You will also need to provide volume mounts. So that you can keep data sharing then name I put shared data shared logs and its path I put the mount Path is this slush ver sl log so this slush Ver sl lock jo rahega yeh mera mount path Same mount for the top container Path mine for the container below as well The same thing will remain in the lower container. I will give it to you, what will happen to me if I The container which is the main container is produced will keep logging, will keep logging, will keep logging And the container on the other side is Will continue to display simple escape colon double enter cube ctrl apply hine f What is the side car container enter saying Spec Container Volume Mounts Name Not Found Shared Lock then you need a volume I'll have to create a mount as well, so let's do one. V also creates a volume mount. Im side car container so you first spec Also create a volume mount by going to will be called Volume One You will need to create volumes and name them. Give two names shared Logos, this is the volume mount name, isn't it? You have to create yourself and its MTER by an MT DirectoryEntry Created Parts Can You See It Taste Well, he failed now because I told him Deleted side test is running What's crazy is the side test is running Meaning if I take cube ctrl logs Whose side I will take the car test logs and from that Main Container If I take out his logs then I will get nothing. Why will you get it because the work of the main container What was the main container's job? Produce Logs But Is A Side Car Container whose job is to display the logs if I I will check the log changes of that container. Side I will check the logs of the car side car container Which is this enter can you see hello friends Hello friends so a container main container The side container producing the logs Displaying his logs and this Like two brothers, both destruction, both great walks And in this way you can inet container and can implement side car container Yes brother, now its a little bit of real world Please tell me the implementations as well so that now The concept has become clear, it container means If you want to run the main container before running something If you want to confine, put that unit in the container. Two more if the side card containers both Both have to be run parallelly, helping Like container, put it in the side container put it okay done a little bit of it real Tell me the world use case so it container You can see the use case of Engine in it container So you will get the official documentation of Neti. Also give some example use case OK, I see a lot of injuries or something here. Do not use it container with engine not shown It doesn't matter, even these people have their It hasn't been shown that much, it doesn't matter. We will make it ourselves in our project. We will run containers, what will we do with our The project will remain, that project will continue. Some things will have to be initiated, those things we People take it from an it container and I show What I do in the evenings is I If I had to introduce something in the future Like I have a Spring Boot Bank Pup So I am into his Kuber Nits. I run the container generally like my The state of the sequel is full set in this can you C is not here, where did I put it? it container put it in it one someone I had put the link in the project. I'll put it in the description, here it is. So this is its real world use case Like I have a diploid in that diploid What do I have to do? Look at me first. Is it that my sequel has been made or It is not made that much, I just want to see it. What I do is I use my back end Deployed is he his my sequel connected If he remains connected to my sequel then My sequel won't last until it does. If I am not deployed then my main The container is the main container which is the banking app The main container is what it needs, a mother Connection to the sequel So What I Do I tell the inet container to wait for Taking the image of a busy box of my sequel I run a command that until my My sequel is not up, until then you Keep waiting and as soon as my sequel Once it is up, the work of the IT container is finished. And the main container runs so you have a real I have also seen all these world use cases. I generally get projects done in batches. Because these are slightly larger projects We live and we live quite next level So there is another such project which is based on this video I'm going to meet you so stay tuned I Hope you understand that Cuber Nits What is inet container and side car container in It happens, let's move on to the next topic. Now our next topic is service. Mesh Service Mesh Baap Re Crazy Topic Service mesh so the topic of service mesh Let us try it on the local train, okay done. First they should understand what a service mesh is. Let's find some empty space now. We have read so much that this This is your page, right? It looks something like this. Oh my god, it seems there is so much Kuber Nitesh above too. We've read it, let's go ahead and read it again. This is the remaining space, I can see empty space here. Come here, we will study. what is Service Mesh Service Mesh Look up Service Mesh like names It is like that, his work is also service. It's a mess, there's a pod from here. The service is running, there is a pod there. The service is going on when I tell you this about our Three dear application, how does it work? I know I'll show you three dear There is an application and a service is running in it. Voting service is running, other service The result service is running again A worker's service is running which If the votes are calculated then these three The service is running now. This is the service port number. Moving from Lets to 5000 This service runs on port number 5001. This worker node runs on a separate port. How do everyone communicate with each other? What is all this, these are all services I know you don't get this completely in your mind Let me take another example Because this is the project that In a little while, we're going to do a Let's take another example, that you have There is a great application called Zomato Zomato Zomato Zomato Mast is your application which has a The service being run is named menu menu so I pick up my phone When I look at Zomato, I see a menu. The card appears and then I move to another one. I go to the server service whose name is The order then goes to a third service. Nowadays you can also book events on Zomato. Yes, Diljit's concert was also booked. Bhai from there to there are events like this There are a lot of services Delivery is another one which is on the side of the hotel Does the hotel owner depend on you or the hotel owner? You will order and the delivery person will pick it up from there. So a system like Zomato is enough All complex services are running now. How are these services all these services? Where will this thing go from here? You need one for gateway and through that gateway all Services Imagine that you are standing, now you don't know People, where are you from? Tell me in chat who you are. You are from C City, I am from Pune and There are too many brothers in Hinjewadi, Pune. There's a lot of traffic, there's a lot of traffic This is Chhatrapati Chowk, traffic is coming from here. Sometimes coming from here, sometimes coming from here There's a lot of traffic coming from here. This traffic man does not control himself. Which traffic should be routed where Which traffic to redirect where and to redirect this traffic We Need a Tool Called Service Mesh so what is service mesh service Mesh gives you a gateway through which you You can route your services You can basically redirect A very popular complexion There is a tool called Stee So this is a tool which is a very popular service. Mesh tool so o read way too much It's not difficult, but I'll give you a trick. I will tell you how to read AO, so you should go to AO. and write g p just o demo and just there I have to enter it, I am getting started What is Steo is an open source service Mesh that lets you see transparently Layering the Distributor Application I help a lot, so what's in it? There is service to service communication goes in a cluster with encryption your Load balancing is automatic. Gain control becomes automatic Matrix Lock Traces Everything is visible There is something very cool about your service. This is an interesting thing for you, come on. Now let's setup this AO so whenever you When you setup AO, you will need to install it on your phone. Click on it and choose platform specific Now you have to go to the pre-requisite platform In specific, I mean they used Google's Separate engine details are provided for ES. Separately given Separately given for k3d There is a separate microcontroller for K3s. separate open for separate mini cube for k8s Different for shift, different for cilium Different for someone, similarly find yourself here What to look for is to look for kind because We are working on Kind Cluster So now click on Kind Story and do Kind. stio pe klik kar diya to kind is a Tool for running local Kyber Network clusters Using Docker Containers and Nodes Kind Wise This is the kind of thing we've been reading for so long. To Kind Create Cluster Stio Testing: First of all, we take a stereo A new cluster named testing will be created. A cluster is created on which a ST test is done. Let's create a new folder here. We give MKDI R I have done this O AO, now I will go to CD AO. What can I do here, I am kind of I will create a cluster. Kind of create a cluster. Name Steroid Testing A Steroid Testing I'll create a cluster called Okay. Now this will continue to happen comfortably, what can I do? I will do it, I currently have two clusters, one cluster where my whole kuber tuj ind one Shot what happened multi user system Detected failed to create cluster could not Find a Log Line That Matches Your Target Multiuser system detected no problem So basically you already have a cluster here. It's going on, let's go to our local We travel on local trains, what about us on local trains? will create a folder work cd We will go on the train with Shubham, okay? We will drive our AO well on the local train now here. MKD I RTO Practice is okay, stay practice locally. I will do what is there in it, stereo practice Now I already have a cluster running locally. cube ctl gate nodes so I have a TWA clusters like ours run on the net Cube CTL Gate Nuts Same I also have a cube ctl in local Sorry, a kind of cluster is running. It would have been a big deal if you had set it up locally. Now what will I do? Directly You can download it yourself from google.it Where did I go here? Yes, here it is. I'll come over here and get into my system. If I download the complete package of AO then AO Can You See Downloading Ao Package [music] 1.4.1 From HTTPS AO to AO Downloading fine on my system Come on brother, do it The download will take some time because SO The package that comes with it also contains some of the AO's. If there are some examples, then that is enough. If there is something interesting then put it first We would have downloaded the entire package. Let's download it and take some time takes y Okay, until then, let's see what we have. From which second in local is the namespace local You didn't expose this much of mine, did you? My MacBook Pro is so cube ctrl Get name space so this is some of my local There is namespace, there is already something of AO in it If so cube ctl delete ns so system I will delete the one which is already my AO. I do a lot of other things too, friend. I run a lot of things in it. I generally create a P namespace. I take it and keep running my p in it. okay let's see that yes let's by the way Our release has been downloaded to I will do this directory in ls. So A.O. 1.4.1 The latest AO is 1 24.1 that is your If the pass is downloaded then CD S 1.4.1 AA now it has license in it is binary Manifest files are tools are dummy There is a manifest, there are samples whenever you need something If you encounter such a situation, always read readme.md. If you want to take it then read the cut readme.md So what does the dummy say? He is a big dummy. What am I saying brother, our school Title is is an open source service mesh okay There are some things in this dummy. Community Introduction St is composed of This component to stand in a side car There are proxies, but so are microservices. As many microservices as you have It would also have a side car container running. What is the function of the side container? The main container's logs are all Keep giving things to him, keep moving you The work of the toyo also remains the same, side car Containerized ingress and egress traffic Things to consider for service to server communication keep giving Keeping Enviro safe if you have a history of osteoarthritis If you get a chance to give a good interview You can directly say that Styo Styo Yus What Styo Yus An what is a side car Container proxy that allows what that what It provides as many server services as you like. Of all the services that remain, whatever There is traffic, it keeps injecting logs. Microservices on the home side's proxies to Handle ingress and egress traffic during the service Mesh is not an overlay, it is a simplification. Enhanced, it also has good AOD What is OD, it is a control of AO Plane stays; it provides a service Discovery means as many of your applications You will see all the services I have. So service discovery gives you that Inside you have the pilot, the sidel. The gallery houses the pilot who lives Configure your proxy server Sidel Certificates Issue If you need access to Gallery validation if needed Remains to ingest and aggregate logs Now it also has an operator who will help you You can operate with service mesh. Think Kali or something, we say it We will see and let's tell him everything in this. After seeing Diya, I felt something for myself. It became clear that one of the There is also a service called Studio D, so you All this remains a theoretical part, we call it theory. I don't enjoy it much, we are practical I enjoy what we do We will go to practical here. Move to the studio package directory Yes Brother, the installation has come in the AO package. Directory Contains Samples and St ctrl o A shell named controller a executable located inside the bin folder If it is there then it is by making CD samples where your I have all the samples, oh my god, so many. There are samples, there is also a sample of open telemetry. That in the next video, in this video No, open telemetry is fine, samples are available. Lots of it and yours in the bin here Ste CTL is also kept so if I Karunga dot s et ctl Enter so cool he is telling io confine Command Line Utility for Service Operators To debug their Ste Mesh use Ste Ctl Admin Analyze Auth and so on to stay We execute all the step commands with CTL. Like Cube CTL to Cuber Nits Runs the command in the same way as OK from Seattle runs the command now this binary is its If the location is here then it means I am all over If I can't operate a computer, I'll have to If you want to run the computer all over then copy me I will have to do it or I will have to move this sti ctl ko kithar sl usr local sl What happens to my computer without this? which are local binaries like MKDI R PWD these are the commands, those commands will also include Ste CTL Enter hey rey ​​yeay what are you doing overwrite ok yes Rename ST permission denied no problem Do sudo whenever you get hooked like this If you have to do it, use sudo. Done, please give me your password. My password is incorrect. Done, so now if I go somewhere in the entire computer If I run that CTL from here also, then it will run. What you have to do is your shell Script or whatever executable file it is It has to be moved to user binaries This is your job, okay, what can I do now? I will now proceed further in my tutorial. I will give the SCTL client to your We have done the path and added it. How to install it now? ctl install Book Info Demo Profile No Gateway Yamil What does this mean? This is a book called Book Info. Project which comes by default in AO Let's install it, so let's step CTL Install Han F Samples Book Info Make sure that the directory entry you For AOD What is AOD AOD is a component Have AOD Installed Installation of AO Completely done means I have AO is installed AO AO runs from CTL AO is not just a I have the command installed. Now I will run it, how to run it What do I need to do to get the namespace? Label to instruct step to automatic Inject if into any namespace I want to play it, what is it, service mesh? Which handles the rest of your services Yes, but it is a third party tool. Allow inside your Cuber Nits cluster If I have to do it, what will I do? I will give the default namespace a label that Sterio injection enabled if Sterio If injection is enabled then this steo s a Third party tools can also help you manage your Kuber Nits. If you can do some things in the cluster then by doing this I want to label my namespace with Cube CT Namespace Default St Injection Enabled Enter so namespace default not labeled not why labeled not labeled why why Why should it be labeled why Namespace label to instruct stu Automatic injection nozzle Why is the Deploy Not Enabled label appearing? No, we will search namespace. The default not labeled st will search like this [music] OK Name Space Not injected Okay, that's a very interesting error. Why is the namespace not injected? Label the default namespace. St injection enabled. end cube ctl label namespace default st injection enabled hine hine overwrite by See, the same thing is coming, get name space Let's see get namespace with label yes oh this is already enabled interesting I was able to do it somewhere before can you see your stereo system and default is your default namespace Sterio injection enabled which is Amazing, we were just watching it for no reason. Your stereo injection has been enabled There is no need to worry, so let this label be I have already given you what is your bio injection? Enabled should come like this, it should not come like this earlier I was waiting, okay, I am coming now, good Interesting Install The Cuber Nits Gateway API CRD CRD I used to like It was explained that custom resource definition is such Things that are in Cube nitties by default It is not present now, if you make it so then install it, copy this and here Go and paste the cube Seattle Gate CRD Gateways Enter chal ja ok deployed application now i Deploy your sample application Deployed Application Mera Book Info Sample There is an application like this B Book Info application Which will be a product page of Bali A Python from where it will redirect to your java All services are your microservices All these are on product page reviews. Will redirect to Details page Ratings page will redirect okay so let's go now What do people do now? Read ahead. have cube ctl apply hine f raw git Whatever of Hub User Content Sample Book Info This is We will run it smoothly, I copied the file. ml file and what we did I went here and threw it here, apply cube seattle Han F Raw Git Hub User Content AO Enter my service details created. What is the service, I will tell you this, which is my Book Info application is the details in it The service is built on Ruby on Rails If there is a service, then it becomes your service account. It has become deployed, the service has become Rating has also been made, so this rating is a note Jas's rating has also become a service. Reviews have also been made, these are reviews. Review one review two this reviews name There is service, that has also been made and what else There is a service called Product Page. A product page named Toy has also been created. There is a Python service, that has also been created. Basically, your entire application deploy apply if i do cube CTL Get All to my deployed product Page Rating Reviews Reviews Reviews All Things have become if I have to be individual If I had to open them all one by one, I would Let me show you how it is If you want to open the product page then click on cube CTL Gate I take SVC service product page How do I open the service? cube ctl port forward svc sl Product Page Product Page Which Ports Running on port number 9080 if so 9080 Colon 900 pe mera product page chal raha hai end After doing this I will run it on port number 980 Now I will go to the new local Host I will open 9080 and you can see it. My product page is opening This is a Sample Book Store Application Consisting of Three services as shown below: On, all these things are going on for me, okay like this You should go, interesting but brother, right now Provide me with a separate product page service. Then run a separate service for rating reviews. If you drive it separately, I will go crazy. I will have 50 microservices like this So how many will you manage? will manage the URL so you feel So let's move on to our project now. As we move forward, all these things have become The application will start getting all the services Get all the pods, all of them are running now, validate. That the pup is running inside the cluster by Checking the page title in the response Chalo Bhai We have to validate ourselves that whatever we have The application runs within the cluster. Let's go and see Okay, can you see Simple Book Store Pup? Title: We have got this in the output, so Which was their output Simple Book Store Pup I have got this title, I mean it They wanted it, it's coming to us. ok done open the application to outside Traffic means this to the outside world now Open the application, what did I say? If you need to close the application to the outside world If you have to open it for me, what will you think? It will take a gateway, so let's build a gateway for it. Cube CTL Apply Nuff Samples Book Info Gateway API Book If Gateway Enter Here Pay Enter Book Info Gateway The Created Way has arrived, which will solve all these problems. Redirecting services just like a Traffic Inspector coming from here Service redirected from here to there A has been redirected here and so on The gateway has been created, now what will I do to change it? Service Type to Cluster IP by Annot the Gateway will then annotate the gateway to the cluster If you create IP then cube seattle nutted gateway If you create a cluster IP, then the Bay Gateway will now The cluster will run on an IP so that the cluster Now he can manage the traffic at the level Try the Cube Seattle Gateway to see if you get one. Did I get the gateway or not and I have got the book Info Gateway from Stiio, this is its There is a particular location, if you want, click on it. If you can go to this will you go http curl http is particular What will you do if you find the location? You will get it now, so basically you will get a gateway. to which you can redirect it now I'll show you how to drive it, drive it outside Okay, done, now I'm going to call this gateway. I will open it like I just showed you. I was trying to run Gateway but it wasn't working. This gateway of ours is not working. I was staying because now I call this gateway I'm going to open it, let's open it. If there is a Kube CTL Port Forward Service Book Info Gateway St Port Number 8080 To I would open it on port number 8080. I am entering my port number 8080 and it should be open. and if I go to the local host 8080 enter localhost page Can't be found because there is nothing on 8080 Yes, but it is given like this in simple B The application consists of three services and Point Details Review Product Page So Such Slush to you if I do Enter the product page, it's open now. interesting interesting now comedy of Your book details are also appearing in errors. Are the reviews of the book also coming in? Where are these details coming from? It is not coming from the details page This is coming from product page to product page Now if you inspect this and You will get the network and refresh it a bit. If you do it, you will get it from where What's coming, get everything here You go and see it in the cool console. You will get everything here Everything interesting is being found in it. Sources Console Network and So So your product page looks great Everything is going great, turn it off. So right now your book reviews, everything here Bhaiya, can you see which service to route where? Where did these book reviews come from? I did not come, that is why the service mesh It's important, now let me show you how Which service is routed where this page is opened? I will show you the full URL, wait and watch now. what I'll do is my product page Everything went well and I was absolutely fine You can see a picture of how my URL is working. I'll open the dashboard and show you, let me drive. I am this, this is mine, I am in the back end I will run it, just put M percent in front of it. So it will keep running in the background. Now look what I'm going to do is create a dashboard. I will make what is called Kiyal Kili There is a dashboard that shows everything. What I will do now is I will create a Kili dashboard. But before that I will say it 100 times. I will request it on my product page. 100 times how to my product page Gaya to for i in sequence u 100 do is Hit request on product page The gateway URL is localhost 8080 s product page enter this This means that it will request 100 times. He visited the product page 100 times. Page read Details Page read Review He got the details and repeated it all 100 times. The work is done, now I am going to put it on the dashboard. I'll see how it actually goes. That is the power of O Can You See Now Cube Seattle apply samples add ons so I'm here I will add some add ons, I have added them now. Cube CTL Rollout Status Deployed Killy in the stereo system now what I I will kill you in my stereo system Which is my dashboard that's a service mesh shows what the actual service mesh is How does my product look like for example? Page I requested reviews from here Went to ratings, went to ratings and brought them back I went into details about how and when this entire flow happened. In how many seconds did it go to which port? Everything Will Be Shown in a Dashboard And the same dashboard is successfully rolled out Now you have to run that dashboard. CTL Dashboard Kili To Kili Dashboard Now It will open, so now your audio is finally The Kili dashboard is in front of you. Now what do you do? You can now see it in your applications. You can tell me that I have an application, details It has a product page with ratings. These are all the reviews, click on them. There is no graph yet, it has no traffic. The traffic graph has not arrived yet. Nothing shown Namespace traffic nothing showed In the Vision Version graph, you can now see some It is not the last minute What can you show on the display? You can show traffic distribution. Yes, but it's not coming yet If yes, I got it then this is your service mesh that you have an AOD that is your data plane Data collection and Grafana Prometheus Wherever you want that data Can store logs. That's it. Stee this way it's going great now if If you want to see its services then you can You can see the services, if you want to see the conflict then you Book info ki conf dekh sakte ho puri main jo It's here he lives on the traffic graph Which I want to replay I would like to Watch the last one of the last five minutes now. What did I do in the last five minutes? All that was done is visible here He will give it to me and then I stop it 100 times. I was going to take it back and see what happened It was supposed to be 100 times, 100 times request. They hit me and return the request 100 times. Let's see why I am trying this So that it shows up on my dashboard. ok so the product What was the page gateway URL on your local host? It was 8080, now it will hit beyond that 100 times. Hit OK 100 times and it's done. Now go back. Can I watch a close replay on his kill? UC is here now my book info First went to the product page and then Details taken from the product page Pe Phir Detail Se Gaya Review Pe Phir Reviews then Rating and finally Rating now it what is this triangle what is this triangle Triangle is yours by making a legend here It shows what a triangle is. Is If your yes is this then generally your triangle The service remains and the details you can see here If it is square then it remains your deployed First of all I'll show you how we went when We also did localhost 80 Product Page Enter So This Comedy of Errors open open Now what happened to the traffic graph? Yes, as soon as we People went to the product page and it was a comedy of errors. Opened and the product page opened in it, then this We came to the page and then what did we see? Show me the reviews, where did that come from? Came from reviews then showed details and where. came from the details so this book Details and these book reviews that we see Where are they coming from, they all are Coming from different services and o gives you a visual of this whole thing The service mesh reveals what else What is happening with your services? Interesting tomorrow you have 50 micro There will be a large architecture of services You can easily run SO in that too. Now you have to do one thing, you have to do this cool SO I have told you with examples that What is a service mesh? A service mesh is your How your data is shared across different services How to redirect traffic flow He is showing Now all the names of the services have come, all at once Mast s ki confine is looking full mash Everything is visible Good, your traffic graph will also start appearing. Now what happened in the last few minutes It so happened that I requested 100 times in a minute. Look what I did in the last few minutes. Show the full replay of what happened. Now it is complete. He will show you what to do in 5 minutes. What happened in 10 seconds? MT was ok MT was now I am fast I will tell him what happened in the last minute that happened Show me, there will come a time when I will I had made a request and that too for 100 requests. All the traffic can be seen here, can you see it? UC shows all the traffic interesting interesting superb I can see the entire awesome traffic. I enjoyed how you used to service Where are your services headed? It is known that a redirect is taking place I never knew what the reviews were. These reviews are calling ratings There is a rating inside it or it is five stars. Rating this four star rating this is a different How did you know that this is a service because of this Because of this arrow, I found out and that This Is How a Service Mesh Works I Hope You Understand with proper example what is ao I must have come and with this our The section with advanced features is It's over, let's move on to the next one. Your security projects Bhaiya what a crazy video this is, everyone in it Our concepts have been covered so much now If it has been done then some projects will also be covered. Get some projects done that we If you can add it to your resume, let's start brother. So friends, there is a lot in this video. There are more projects then one project Your mast pura usne jankan ci sdi Gitops Argo CD will all remain one project will remain on MangoDB because as of now we People made as many pots as they could Deployed made all those my sequel related. Thi a little bit of MangoDB too It will have micro services, meaning your The front end will be separate and one of a kind. The service will be running on the back end of your network. The database running on the JSP will be your Mongo. If it is running on DB then this will be a chat There will be an application that I am going to provide you. Then you will have a 3D application. in which python.kv is gone chat application So let's start with the chat application. If they give it then what a great thing it is, oh my god I have read a lot, just a little blank Give me space, it's good, this is ours The project is called Chat. Application on cuber knots which your basically There is a three tier application where your The front end is running on a writ jas and the back And your nut is running as it should and then your Mango is running okay so here I am A web page something from Lets for the front end So let's make this, let's take it, let's react. taking okay and let's take our back end Let's take node.js and get our database. Let's take MongoDB, this is our Database is great, now what do we need, we need these What everyone wants first of all is like the rules Accordingly, we will need Docker containers. Docker will come for this too, Docker will come for this too will go and its docker will also come okay so What do we have after all this Docker containers? If we want to make pods then make pods Nange it creates pod from Docker container then Its pod will be made from here and its too Once the pod is ready, we will prepare its pods too. and once the pod is created then We also have to make its deployment. It will be fine, its deployment will also be done. Its deployment will also be made. Deployment will be made once again. I have made it deployed, then what will you do with it? We serve cheese We will make it, okay, the service for this thing will be made front. end service and back end service Service and database service once our If services are created then these services If we want to talk to each other What do we need? We need English. If it happens then we will do all these things now brother Who will do all the things, see, I will tell you I will explain it completely, I have a few If three projects are added after careful consideration, then The first project will remain yours, right? EKS Cluster Pe EKS Cluster But the second and third, this second one The project will remain, it will remain your mini cube The third project on the mini cube It will remain on your kind cluster. Kind Cluster Done and Joe Monitoring with Promise You can get the graph done on the client cluster. If you can get it done by anyone then this The way I completed all the projects divided into clusters of types Very crazy, let's start right now. This is our project chat. Application on k8s 3 and this will be your mini Brother, if I do it on the mini cube If you are staying then pay locally so that we can Also try it out a little bit. If you get it out, let's do it locally. So let's start local here. This is my terminal, here is my local. We will come on local a cd dot dot So this is my local, look, this is my local. Shubham We need A nice little VS Code so let's come to us VS Code is gone, let's do it I can see it full screen here. It has opened well and we will If we open it well, this is our We are here at the terminal on Local and Local. If you open it, here you can click on Terminal New The terminal will open and here we will see the mini If you start the cube, then the mini If no cluster of cubes is formed then we How to make a cluster of people mini very Keeps it simple Mini Cube Start Nuff Driver is equal to Docker so Docker Cluster of a Mini Cub with driver Start it by the way, this is VS Code. What is this thing brother, so VS code is yours What to do if the code editor remains VS Code install then type this VS Code A very powerful code editor The code editor is free and open source. You can download it from anywhere Can do it for ws2 Can do it for mac If you can do it for someone then it is our wish. Let's move it a little bit to this side. VS Code here and Terminal here Done so your Mini Cube Hum Log Start Karenga VS So mini cube inside a terminal of code star driver docker enter so mini kube Version 1.33.0 is great on our common 64 Driver based running has started ok Creating and Preparing Docker Containers Kyber Nits Generating Certificates Keys Booting up control plane conflicts are back Hope you have understood all these concepts now. Done if I do mini cube sorry Cube ctl gate notes if i do this You should have a cluster of mini cubes ready. The control plane is ready on the local platform. That's it, now let's go to our chat page. If you bring it then where is the chat pop? Our community learner is Afzal Karke so Afzal Bhai had created a chat pup, so he You can mistake Afzal chat on when it is to Now how can I get it, he has done many chats. So I had put it somewhere but I had put it on Lin Na. He had installed the chat app CICD. By doing pipelines and all that. I had put it in but now what will we do in the future? It is written in the plans that we plan to Implement CICD Pipelines and Cuber Nitus Manifest for Content Orchestration So basically he has deployed a cool full Stack Real Time Chat Application Built what are we going to do with this application If you are going to do cube knits then future The plan that Cuber Nitus was going to do If so, check out the project on Git Hub. Click on this and this is their full stack. If we fork this on chat then Click on the fork and as soon as you fork If you click on it, then this name will appear on Full Stack Chat. This is an application of the main branch. Fork means you can cut your You can access the repository in your Git Hub profile I clone this thing and fork this I don't say that repository to repository Full Stack Chat is done now Get the code and this link comes up through which You can git clone this link Now it comes, what will you do with it? git clone how to do git clone First of all, you should create a folder where But if you run it then file open folder open Click here now I want to Train with Shubham at Work in Document I have a movie called Kabz in One Shot somewhere. There is a folder inside it, I am saying something I was running things, now I'm a new I create a folder called projects And let me create it here and this In the project name I opened Done Once it is open, here is my A folder named Projects opens. Here I clone a git repository I'll give it a try. Okay, clone a git repository. Now I can do this from here in git I can also go from here and open repository Now what will I do? Clone I'll create a Git repository and click Clone From Gab I will put now the repository's Name here Full Stack Chat page which recent page It happens that he has started appearing in me. I will click and as I click I will give it to him again and he will ask where is brother? If you want to insert it then it should be inside the same document Work inside train vi shvam vo aap apne You know me very well, local Look how much everything is lying around, why not? Code inside the project inside Jan One Shot Do that by cloning the git repository here This cloning is going on would you like to open Clone the repository and make it current. current workspace d to workspace so I am using this If I add it to the workspace, it Remove everything or dismiss, never remove, it's done. Close the source and go to your files. If you go inside the projects you will Full Stack Chat will be great to find. If you remove this, you will get a good full Stack Chat has got this now in it There is a folder called Cats which you need to delete yourself. Why because we are from full scratch We will make it completely, absolutely full of crackers. Everything will be made from scratch, it's okay now. Listen very carefully and understand this. What all has evolved, okay if you If you want to make any Kubb Nits locally then I'm telling you what things look like So the back end is the SRC inside the back end Meaning SRC means its code will be Docker So this is its Docker file. nice cool cool Docker Docker so here Its docker file is of back end then its The docker file of the front end is ok front The end docker file is here, a great front end. And the Docker file is done. Okay, what do I have to do with myself? I will let you know the front end. Docker build and then create a pod ok And then we have to make a deploy of that thing as well and If you want to make a service of that thing then all this Things have to be made. A pod is made only when it Docker has an image, it goes on Docker Hub. Include yourself in this project via Docker Hub as well. If you need it, go to Docker Hub and install it. But go and log in okay so this is my logged in and I'm here at Docker login So I'm going to do it here with my Docker Hub is my credential create If I do that, go to Docker Hub and create an account. I went to settings and went here. I will create a personal access token. Because I need to login to Docker So generate new token so this is my kets local So I had a new token for the local our One shot which was a separate token for the server Its expiry date should have been 30 days. Yes, I give it read, write and delete permission. is generate ok done so this is the command from docker Copy and enter the terminal here You can open Full Stack Chat anywhere. Go to Docker Login Train with Shubham and What you enter as your password is yours. Personal Access Token So I have this personal enter access token diya end kabhi time le rha rha raha ya yeh log in [music] Back End Build of Succedence Full Stack Pup You will build the Docker image and push it to you. You will have to build the front end Docker image. If you do it, you will have to push, so let's go quickly. Build and push Docker images First of all let's go to the back end so CD I went to the back end and ended up here. docker build hine t docker build hine t hine t means tag me what now if you If you want to push an image to Docker Hub, you need to You have to enter your username then train with Shubham Slush Chat P Ka Back End Train with Shubham Chat P Ka back end and this will be the latest dot so Docker build this is my docker file cd back Inside the end, this inside the back end which is Docker There is a file, build it, train with Shubham or You will enter your username obviously then chat Go to the latest menu in the back end and click on Dot. This build is happening, can you see its name? docker.io train vs shubham chat pop back end So if I do Docker You will see the images Oh my god, there are so many in my local area. images oh god oh god god you You will see that Train vs Shubham Chat on back end The latest image has been created Now I will push this latest image. How to Docker Push Train With Shubham sl chat a back and latest done push Refers to this Preparing Waiting Waiting Waiting and your image has been done, push on Docker Hub Similarily what you would do is cd You will do the front end, you will do the front end, you will do the CD now You can also see the Docker file here by doing ls. And here is the Docker build handle You will tag Train with Shubham as your user Chat by entering name p chat p front end front end then latest then you have your dot ok docker Build Train V Shubham Chat P Latest Dot Aur If you do this then you will build it as well. What did you basically do? Docker built the front end and the back end Created a Docker and pushed both of these to you If I had to do it, what would I do here? which is my Docker images in it again I have to go through so many images. Where did this front end of mine go? Chat P back Just as there is an end, there is your front, I will also If I push the train with me Shubham Sl Chat What should I do with the front end? will push so docker push oh yes if your Let's find out who has the name tag If you want to change it, I would have told you its command also. Yes, its command is very easy, you just have to write it. Hai Dock Image tag and the tag of your old image That will happen and then the tag of your new image You can take that and push it, okay? And with Docker Image Push you can push your image If you push it, here is your front end key. Image and back end image here I am pushed, now what should I do? Where did this MangoDB image come from? I will take this directly from Docker Hub So in Docker Hub if I go directly to And write it here Mango then you will get that of Mango DB Latest Image Directly from Docker Pull Mongo If I get it then basically I will have my own Chat should be back-end pushed to the repository and my chat pup front end is also pushed It's done, in this way I enjoyed myself. both are done ok Done, this is done and this is also exit. My work is done with this, so both of my The images have come to me on the front end and back end now what should I do with these two I want to use images and create my Pods okay using these two images If I want to make a pod, what should I do first? I want to create a folder here. Inside the Full Stack Chat app is a folder called k8s done first give me a namespace If I want to get the right one then I will be new in CAT. filename spaced y ok done now what will be its API version v1 Kind Name What is the name of the space metadata? Create a namespace called Chat P Chat Hine P I will give it to you, now see what habit I have. If it was IM then the escape code would be something like this There is no such thing, you can directly write well in it. You are done, now you will go to CD Cats. Go to the folder now cube ctl create han f namespace then do The command remains cube ctl create end cube ctl apply so if you have Something already cries if you confiscate it. If you want to do it, you do cube ctrl Apply if you are creating something for the first time So cube seattle create both moves cube seattle create namespace half aml namespace Enter the Namecheap chat page So you can see that the namespace of the chat page 6 seconds ago Done It's done now What I'll do is it's my namespace Now the next thing I will make is Make it directly deployed Deployed whose back end deployment dva AA back end deployment made directly If it gives, then understand it like this that if you have back end What do you need to do to create a deployment? Things will look like brother API version apps sl v1 then yours will come what kind Deployed then what will your meta data come The name of the deployed will appear in the metadata. Back end key from let's Deployed then what else will your name come in it Back end deployed and your name space front sorry front ad no chat p to Your namespace is done on chat now its Your spec will come inside in which your rept I always forget the rapes. There will be one, okay, there will be only one rept then You will find yours here You will have to give the selector, you will give the selector. You will have to write a lot of match labels brother. Here's what you can do Go to extensions, click on three dots I go to Cuber Find such a nits and cuts which is this Install it, okay, if you're done then Cuber Nitus Develop Deployed and you get all these things So it becomes very interesting ok cuber nits done mini cube upgrade Available to 1.34 currently later I have to do it later, not now. Okay, let me tell you all this. God okay that's it match labels then now Look, it immediately started giving error. Because you downloaded the extension Didn't you know that the Cubber Nits one will tell you everything? These suggestions will give all this for example here Pay Pap Chat, this chat is called, I will tell him that I will tell you that this will be my label, chat. You can add something else if you want. Let's put the back end label that back end The back end label for Deployed will be You can also put it like this, then you can put it Tem You can insert the let template and in the template What you need are containers. Hota Raat To Container Me But Container Yours If it comes within the spec, then here the spec and what remains in the template is meta Data remains as metadata or all memory How will it be again, you have a cut Read from the excellent documentation and enter the name Something that back And pod pod and its namespace take two chat pages All that is important in this is labels okay labels this is important Does not match label labels okay labels hey match labels why Labels are happening again and again and you will find them here Pop back end use the same label here too will have to do okay done then the meta data is finished What do you need in Gaya Containers Image What should be the image that we want? People had posted it on Docker Hub, okay? Chat P back end and Chat P front end If we want both the images then we will People do Train with Shubham Chat P back And copy this and go and paste it here. So train vs Shubham chat a back and latest We're done, now this is our container image. Similarly, there are containers here. Pass list must be array item image Then what is your name, put it in the name You can chat on back end so this is chat p back end ho How do you ignore this, friend? That's why I like Vim so much, it's so cool Look how it happens here, so much is coming so name chat back end Ports Now go to your Docker file and Look at which one for the back end. Port: Let's go, we need a port. Number 5001 P he is saying expose so let's go What do we need to put in the pay ports here? If you want to enter the port of 5001 container then click here Our container port is good, he gave suggestions. given 5001 ok container port 5001 and What all do you want to put in it brother and yours and Is there any environment variable so your Look in the Docker file and find an element variable Is it yes node environment production so There is a node environment variable named whose value is production okay so What will be your environmental impact in this? Will the name remain? Name Node Navi Node ENV Name There is an environment which has some value. There will also be production which he wrote here What has happened, what is written in the production, this is it Put the value in the value, simple now With this you will be done with your deployment. Gone means obviously it is not over Because in this deploy you will get your mongo The DB also needs to be attached to the front end as well. I have to attach all the things that will remain for now. So much of our back end should be deployed Now copy this thing like this The front end will be yours Deployed y AA so front end ka Deployment will remain the same, only changes will be made. What will happen like back end deployment By the way, the name of the front end will be deployed Space will match labels in front end The back end will be replaced by the front end. Front end done, this back in templates The end pod will be replaced by the front end pod. Labels will replace the back end with the front end. And front end, here are our labels now. Name the containers Chat instead of Chat Back End The front end will be my image train via Shubham Chat Pup is back and latest so our Here's what the Chat Pup back end had in Docker Hub Repository Chat Pup Front End So this chat pup Copy our front end, that's it. Our front end repository is now on the front end. Go to the end Docker file and see that brother Which port to expose then Docker went to file expose expose port 80 If he's speaking, okay, so the front end. Deployed Containers to Port Number 80 now in front end deployment What are the environment variables? So go back. find in docker file then in docker file I Gaya exposes an engine copy of the engine Confine also in this node environment Projection is given, let's also find its node would have put environmental production Yes, this front end was not working. Here's what I'll do: Production as it is, I will do it to me The front end has also become deployed e.g. I needed the back end as well as the front end It has become mine I am now diploid Now I will use my MongoDB If I create deployment then this is me as it is I will copy it and create a new file here. I will give mango DB Deployed y a a so of MongoDB as well This will become deployed, what will change in it? This will replace the front end deployment. MongoDB deployment will be namespaced The match will remain the same and will be done in the app. MongoDB will do this so MongoDB will be meta The data in the MongoDB pod will be Mongo DB pod will be namespace same chat pup And in AI MongoDB it will be containers Chat data instead of a front end Mango, do it, Mango DB Now the image that will be used will be Shubham Chat A Fronted Lettuce Nahi Use Hogi Rather, the latest one called Directly Mango The image will be used whichever port is of MongoDB It happens and generally 2 or 1 or something like this So the port remains, we can find it online. I can find something like this lo yaar toh mongo db port 27017 This is the default port of the environment. There is no need but in Mango DB you If you have to provide your password, please provide it here. can you Mango DB It DB password is whatever your root password is. The password and root username are yours. If you can, enter the root username value. Two MongoDB root usernames root and Similarly, what happened, no brother, value Enter the root and copy this and another one. Enter the root password Two, here root and root is the password. If you want, you can also reveal some of its secrets. If you can lift it, you can do this also, so be it. Your deployed is gone, but brother, ask for this. The deployed DB will be MangoDB so its Your Persis Hat Volume with Deploy And if there is a Persis at Volume claim then Persis ment volume will also come and PVC Persistent volume claims will also come I will definitely come and make it, so this is done. Your deployed persistent volume and Let's create a claim so you get MongoDB That all this has been deployed, now what do I care? Have to do it by going to the case and getting new File Mango DB Pavi AA Pavi means Persis at Volume Now for Persis et Vol what I I will do for Persis et Vol Directly Yours Simple Cuber Nitus Persis Volume Directly Likh Dunga And Whatever my persistent volume is I'll pick up that cool one, so percent here. How about the volume Here it is, so this pod has become persistent. Volume Volume Yes Here it is Yes got it So this is our Persis at volume okay so I took this as my pleasure I will take Copy and paste here then API version v1 Kind Persis at Volume Meta Data Fu Not Pavi Fu Pavi brother, this is our Mango. DB's Persis at Volume and its Jo Name If there is a space, it will remain on the chat page, so the chat page name Persis ment volume in space these and Storage Class Name Storage Class Name Us What should we keep as storage class name? Keep local storage so storage Class name, we are doing this on mini cubes. Storage Class Name for Mini Cube Let's see the storage in the Mini Cube what is the class name Is o So it's saying that if you get a mini cube If you want to pass in slush data then you Make something like this so that I can do the same. If we do, we will copy this and here If you paste this then the access mode will be read write Once we did the capacity 5GB okay Just enter this much data on the host. Okay, host data then percent volume Also, the percentage volume has now been created in the same way. We will also make a claim, it is okay, percent volume A claim can also be made, let's make a claim. Persistent Volume Claims Again Claim Persistent Volume Claim let's go here, they must have made it I was just looking at it, there was a If the percentage volume claim is this, then API Version Kind Persis at Volume Claim and From here we can go to our Persistent Volume Once you have raised the claim, copy it again. Take this much Gaya New File Mango DB Pavi Sadwa A L Mb us persis from the pvc2 pup namespace Volume claim has to be made, its spec will remain Same as your perspective at volume which Is access modes which are read write once read Right once its access mode will be now this Claim Persis at Volume by How Much If you request it The resources it is requesting How long will the requester stay? 5gb will remain in storage, okay so my MangoDB PVC 5GB of storage Requesting now this persis ment Volume Claim and Persis at Volume Hum If you install it inside the container of MongoDB then We will go into the deployment of MongoDB. And here directly where we people He has made a container and we are inside it. will put own Volumes Volumes Now we are in volume I want to put the name of my volume, that's you what can I put mongo data mongo data Now he has made a volume named Persis hat volume claim hai whaye wo Oh my God, it will come, I have written so much about it. Persis There is a volume claim but there is a tent volume claim. what is his name what is his Claim name is that MongoDB PV C then MongoDB PVC Its a Persis ment Volume Claim named If so, we have attached the volume to it. I just want to see one thing once that this Containers and these volumes are all one Done, the containers will remain in line. Done and volumes are in the same line I'm done, let's run MangoDB now. Let's check if MongoDB is running or not. Now the namespace of our chat page has been created. What I will do is cube ctrl apply hine First MangoDB's Persis Hat Volume I will create an enter percent volume Gaya Cube CTL Gate Persis At Volume In the namespace chat a dun so mere pass mango DB Pavee has 5gb of driv only retain It is available, let's claim it now. Cube ctrl create not apply han f mongo DB Persis at Volume Claim Dwa AA Enter To Mango DB PVC CreatedDocumentsFragment MongoDB with Vala now with PVC What should I do if my chat is on MangoDB? The one that picks up the image of MongoDB MongoDB Deployed to Kube CTL Apply Nuf Mang Db Deployment Dull Enter MongoDB Deployed Created Pots in the Name Space Chat page So can you see container is creating for Creating a MangoDB container If you want to see how to create a container If it happens then watch cube ctrl get pad in the Namespace Chat Pup Enter To MangoDB Deployed is now running so mast aapka mango DB deploy started running, ok done now You can change its password if you want. As you like, let's say generally the user The name remains, it remains. Mango remains admin and the password remains They can put anything you want in your secret. You can put whatever you like If you can, ask for admin and secret, it's yours. Entered the password and this Vim habit SK You put the colon with double K and After doing this, if you apply it again to your If you do it, it will be confirmed and your Perts The old ones will terminate and new ones will be made. If you go and see how sorted it is, then it is easy, Mango. Our DB has also become a great configuration now. Who do we have to convince? Now let's go. If you run the back end and the front end I think it's very important to run the front end yourself. There is no need for much front end so let's go only the front end will go Deployment l apply hine f front end Deployment Enter Front End Deployment Created in the namespace Chat P and mine Front End Deployed Error is coming Q let's see what is the error cube ctl get sorry Describe Pod Front End Deployed and Describe the front end deployment Will do in the name space chat pup enter so that what are you saying has pulling image train vs shubham chat pap Created Five Second Cup Successfully Pull train vs Shubham latest done what is this Gone is this get pots crash loop back off to He has crashed because Chat Front & Latest Trend with Shubham He could not find the image of the name Front End Why didn't he get a chat pop front? And if there is a Docker push train, then Shubham Chat P Front end should be available. Let's see. Why is he not getting a train ride? Shubham Chat A Front End Itna Hi Daal Ke Let's see end cube ctl apply front and deployment Let's try Confident Pods Crash Loop Back Off Crash Loop Back Off Ye My container queue let's is crashing See why is this? Crushing the cube ctrl g Describe pod this one in the name space Chat what are you Went Cube CTL Describe pod this one front end Deployed Chat P Ki Bhai Why It cannot find the pulling image Train with Shubham Chat on Front End Why It is not working, there is a way to run it Another way is to go to a new image and create a new folder. Get on the Docker Run train with Shubham S Chat P whatever its Chat P then front And try running the latest one, enter enable to Find Train vs Shubham Chat App Front End Locally pulling ok host not found o some issue in this Host not found in upstream back end In ET engine con default so here some So the host is saying not found Okay, why is this confession coming? Complete Ready Host Not Found In Upstream back end in ETC con default Host the Fee back end and try it out. What is host nut found key Docker host nut found Ok So what this means is that the front end Upstream will require you to run the back end also need This must be like a husband and wife thing. Brother, I will not come until you come. I'll come back to drive the front end I want an end, okay, so what are we doing now? will cube ctrl apply hyp f back Let's try applying end dit and press Enter Back End Deployment created in the name Entered Space Chat on Container Creation Let's see brother by the way apply back end Before doing this, this front end If you delete it, delete it again. And let's delete the deployed. Let's see the pots of the back end, back end brother If our running is there then our back end is running. Now let's try the front end. If so, cube ctrl apply front End Apply Front End Deploy Enter Deployed created pods container is Creating Error Again Error I Think It Has Some Kind of Error Again Crash Loop Back Of course, there's something he can't find. Cube CTL Describe pod ya in the name name space chat Why is the app being successfully pulled image size now you can do one thing docker logs sorry Docker logs not kube ctl Logus is an example of this front end deployment. You can see what he is saying on the Namespace chat. Getting Host Not Found in Upstream Back And in engine conf then isko koi confin ke need something for Front End What will be needed to host the front end Not Found ETC Engine, let's see what this and this Needed O O O I understood, I understood, so what is this of yours Engine is your code, this is the front end. If there is code of the front end then the code of the front end which is Docker It's a file somewhere in an NX file. Confession is using the name of Enked Confession is using engine conf and that Speaking of which, the Slush API has a back end. I need 50001 API, what is the back end? The back end is generally the name of your pod. If the name remains then I will get back end service. You will have to make it and then what does it say Isko ko naraz maashuka humari jo crash loop It is hitting back off error only then it will run How much do you call it tightly coupled? If you have the code, I understand the problem. What is your problem or which is of the front end? pod it connects via engine which There is a reverse proxy server now that the back up The service at the end is not this service If it gets created then this pod will have a Location The location named API is inserted and that The service is inserted in the API location ka name ch is back end so this back end name ki We will have to create a service called back end. If you create a service, you should close it now. This is our full stack right now, all this A new service will be created in Gaya case Will you give me back end service? Creating a Service Again Simple API Version or Then you know what to do, only Write service, write service, press enter It would have been completely done on its own, brother, what a sorted If the thing is fine then write the service meta data on Now the name of its service should be Should back end back end otherwise our Masuka route has been selected and its name Space will also be a chat pop up or else it won't work. Okay, so we get it, brother. Looking for the back end then cube ctl Delete Hine Let's deploy the front end, okay? Until the brother's service is completed, he will If you are not agreeing then please chat on namespace. Which is the back end selector? If yes, then go to the back end and see the deployed one. that its p is back end okay so back end The back end of the service will remain fine now. Its port will be 5001 and the target port that the container will have 5001 will remain, that is enough, this is done Your back end service and similarly you You will create your front end service Dottle Again Ready for the Cube Nights Extension Ka Magic Service Likho And But Se The entire service becomes so sorted I'm for the love of your life and your volume I was searching here and there, if I am here If Persin had written a volume, keep it complete. what was I doing in vim 10 12 Just for the hour you have made such a big video Kidding, you should use Vim and learn how. I write all these things now, this is his name. The name of the back end will be the front end. There will be a service called front end. And its namespace will be Chat Pup. So this will be its service named Chat P. The selector front end is the front end which The front end port is that through the engine If it is open, it means the port number will be 80. 80 So basically what have you done? You created and pushed a Docker container. If you make a pod deploy, then this deploy also The service was made and the back end was also made pot Deployed and service is created, let's do this Let's apply cube ctl apply Hine Back End Service Back End Service CreateDrawAnaNavigator Done Front End Service Done MongoDB Percentage volume of back end service Done Mongo Deployed Done Namespace Gaya front end deployment should have been done right now Han Cube CTL Apply Han F Front End Deployed Enter Front End Deployed Created by Potts in the namespace chat Papa, now our Masuka is ready. I am ready to run away, I saw that As an engineer, you also need to be able to read code. Otherwise you will get trapped and we will do it on our own. We were trapped in the web of illusion, do we understand? I couldn't figure out why our pod wasn't moving. If it was running then why was it not running because Ang Nix had a dependency that you She tells the service that brother, the name of the service There should be a back end and it should be running only then I will go, otherwise if I don't go then let's do this Our error has also been solved, now what should I do? I can do it, what can I do? Yes. I can run it simply so I cube when I play CTL Get Service in the Name Space Chat P enter so my back end is running my The front end is running what's up so cube CTL right now my back end and front end are running If it is, I will port forward it. port Forward first I ran the service first back end Let's take it brother because our front end is A little mean, irritable Lee error comes First we run the back end, then the back end and back end which port p is running on 5001 p na to 5001 colon 5001 and this is the back end of Namespace is also Chat A 5001 OK Enter Forwarding from 5001 means it works like this If it is there then escape it and put m part and we press enter, then this Similary Hum will continue to run in the background People will have to do cube ctl port Forward whom of my service whose name Is front end and the port It runs on port number 80 and the namespace will remain Your Chat A 8080 Enter Why able to listen because permission Denied so let's tell sudo your own local It is okay to have the machine in your own house without permission. Never mind sudo hine e cube ctl Port Forwarding will do this. Enter Password Brother, put it in, forwarding has started working now. So after ending this we will put M Part and press Enter. If it started working then basically my back end also My front end is running as well. Let's try it now and see my local My host on localhost port 80 Front end is running Enter o what's up Great Chatty Name Welcome Back Sign in to Yo The account is very wonderful, for example, my front The end is running, try running the back end now. If so, local host 51 It was said on 51 P that nothing is going on. The side incident is also going on, that will work. It will not work, go to create an account. Shubham Email Bha Train with Shubham @ gmail.com don't tell password see @123 Let's take it, it's okay, create account low error Why brother, why do you inspect the error? Go to Dekho Network and Create Account. It says Sign Up 404 Page Not Found Saying localhost API auth sign up 404 Not Found so on local host it will do something I am not getting it on SL AI, why? Because its back end is not working properly Maybe so cube ctl get pods in the Namecheap Chat App Backend is now live The back end logs show that the back end why is bro cube ctl logs not running This back end is deployed which is the namespace chat app. If he is inside then what is he saying oh father Brother, he is making an error. So mongoose error the you rr to Open tell back end back end your back end The deploy worked but how did it connect to the database? will connect to back end then you will get Mongo DB I will also have to provide the URL, so let's go here. create an environment in which MangoDB puts the environment value What is your name MongoDB? URI whose value you should have entered something What is the URL of the value MongoDB? Generally the URL of MongoDB is something like This way your MongoDB will look like this Its starting protocol remains then Whatever your MongoDB's MangoDB if password and username remain What is the password for My username is Mango Admin and this What should I do if I have a secret password? I'll call back end deployment Mango DB Username and Secret This is my password This will connect to MongoDB and what is this mongo db this mongo db If MangoDB service remains, then MangoDB I will also have to create a service for I just forgot to install the MongoDB service. We forgot to create a MongoDB service. I went to the service again, I will write boom puri The service is done, I am enjoying it a lot. Bhai so name Mango DB ok selector pap MongoDB take a look at its selector what is mongo db is selector ok MongoDB Done Ports 2717 and our target port is the same. 27017 bus name here in this Space will also be added which will become chat pop So this my name space also got added so Mang If the service is created then apply Cube CTL Applying the service of Heinz F Mango DB Two enter MongoDB service creation Now this service has been deployed to me. I have to use these backends for my back end And this brother has become a deployed red wall. What should I write in the url of MongoDB? How will you know that generally yours is whoever lives here? what is the name of this developer of yours belongs to the developer who maintains the repository Check that repository once. Put something in a dummy somewhere in the repository as if it is inserted in it that you A great little user named MangoDB or RE The name is to be entered as an environment variable and it Its URL should remain so MangoDB is the Protocol MongoDB as admin is the user Name secret is the Password @mang DB is the Service Name should be the name of your service. If you want Mango DB then your service name What is the service name of MangoDB? mongo db this is correct then your admin The user will be named MangoDB Admin. So in MongoDB Deployed the user is his name is mongo db admin ok root If the password is secret then this secret is also correct. This is so correct right now DB name is admin so Copy this line and paste it here in your back And go to deploy and hit it with a slam. Okay, this is done, so this is how you Confirmed your MongoDB URL What else do you want brother JWT? If you also need a variable named secret What name do we need here? JW What is the secret name and its value? If it is secret then secret file will be created. Not a Little Your JW Secret Just put this in, friend, what does it matter? The secret key of JWT is different. JWT Secret's If you make a generator, take this, anyone can take it. Whatever you like, oh my god a lot of things Here's a list of our creations. You got it, copy it and go here and paste it. Two, this is ours, now this is very big. Plus you have not added anything in your deployed If you want to keep it, what should you do? A new file. Make it and name it Secrets Again the same auto in Dy A A and secrets Complete wala secret likhe boom secret ban Chat secrets in the bus meta data And in the namespace chat app this is the data JW token instead of password in This is our complete completion. Put it directly then chat a secrets name There is a secret file which we have to use. in our back end so JW We cannot directly value the secret. Denge value from aayi from wat Secret Key Ref will give us the Secret Key The name of the Secret Key chat app was Secret Key. If it is named JW, then it is JW's Where will it come from? Done from our strata data So let's go back to our back end. Even JW Secret in deployment Dal Gaya Mango DB You RIA Gayi and what not If it is there then tell me brother and where did it go? This port 5001 is a port named If you want to add environment variable all then that too If you put it then Enter a name called name port whose Hey, whatever value remains, it will remain. I have 5001 dans and this It is inside double quotes because these People also put normal in it, so We also did normal work, no scenes were done. I understand how to work somewhere If you still feel there is an error, check your The environment variables of the containers If there is something wrong somewhere then this If it happens, our secret has become service. cube ctrl apply hine f Secret Done, what did Secret say? v1 Can't Be Handled A Secret Illegal Base64 data, oh brother, I forgot this. I thought that the secret I want to put is this base If you want to insert it in 64 encoding then copy this write there online base64 Encode and go here and put your item and Encode that, here you go, base64. Take it and throw it here, then it will come to me. base64 value now if I go to this and I will apply secret then create secret Yes brother, it is good that you have done everything Now the concept has been done in one project What do I have to do? Cube CTL Apply Apply to the deployment of the back end I have to take him inside, what is he saying? There is an error creating the back end of wine. Deployment Deployed Verge v1 Can Be Handle deployment why unmarshal number into Go Struck Environment Variable Spec Template Spec Container Element Data Value of type string where we put string People have deployed this value. If that string is not there then he is crying. ok never mind we removed it I will apply, still having problem what are you saying is the environment variable dot spec template Spec containers do values ​​of type String O It Must Be String Lyrics It's okay, brother, we made him cry. No matter what the given string is, it must be Okay, and if I put this in, hit enter now. Back End Deployment Created Potts in the Name Space Chat P back end is running front end is running MangoDB is running on three tiers. Application is running kube ctl port Forward Kiska Mere Service Sir Vis Sl Back and which is in the namespace chat p I will open port number 5001 with 5001 End Enter If Running Then If Running So put an ampersand before it and hit enter. It will continue, now go to your local Host 5001 pe check kar lo not found means error Nothing is coming to him, so he got it. Its URL will have something else like slush auth or There must be something else but it's working, something is going on It's been there, okay, done. Now the same way you did the back end Port forwarded the front end as well Also do port forwarding what about the front end Did port forward on the port number 80 and this 0 and run this why permission din ok sudo no e this is the same command I started it, entered it and also gave the password, oh already. In use means it is already running. My local host is running ok create an I will go to the account, full name Shubham Launde OK Email Train with Shubham @ gmail.com Don't Tell Password Again Test that create account and your account get CreatedDocumentsFragment Save Chalo Dun Ab No Users Online Lo Chat Application and who should we talk to, so one thing We will go incognito Incognito, now boys don't get excited here. Yes, I am not going to open anything new. I will run the same localhost application But I will create another account in which Whose name should we mention? We will talk to Abhishek Bhai. If you do it then Abhishek then email Abhishek Bhai. So brother, I don't know, Abhishek @gmail Com password is Abhishek Bhai's password I don't know but you could have put test @ 123 Yes, Abhishek Bhai's account. CreateDrawAnaNavigator This is here on one side, Shubham Bhai And on one side is Abhishek Bhai so Abhishek online so this is me and this Abhishek Bhai, are you okay? Hello what's coming Hello which one am I This was Abhishek Bhai, so Shubham said hello brother. So Hello now friend done what's right look chat no chat It's going on brother, how did you like the video? Brother number one brother number one these people alone What's the work, if there's no one to talk to Create a chat app and talk to each other Brother, but I hope you enjoyed it. So this is your chat in making chat p Application which is running smoothly and Very nice brother, it is running on local host. I don't want to chat.in shubham's And here you enter a new rule. Enter 12701 which is your local host. Two chats ts.com and dw.com app can enter now. What to do: Now you can open ATTP in a new tab. Open Chat ts.com Enter continue site lo open ga to If you are able to log in to chats.com You also put this brother, it is not like this, it is like this No, you can do it through ingress. Let's show you, let's teach you English too. I had taught you Ingres, but let's do this chat.com, right? This is through ingress now. Let's go, let's run it through Ingress now. How to run this through ingress If you have to create a new ingress here Ingress Dwa M L Now I'm just here Magic Ingress Likh I will Qnet Ingress And brother, our Ingress is so right. Brother, networking is so much fun. Kind Ingress Meta Data Chat P [music] Ingress Chat P's ingress is absolutely solid and Label its namespace Chat P ok chat P namespace What label will you put, let someone put this. He is not in this, he is putting labels like this Do My Ingress or Chat a Ingress Two chats and ingress, okay, put it like this, speck Rules Host Now what is your host should be Chat ts.com is the same one we were running just now. Where has our chat gone, this chats.com of ours Host must be ATTP PA path prefix slash if I give slash So what if our back end service works? Which one is the name of the service, what is the front? end because our front end slash Pay should come and the port number of the front end It is 80, this is the name of the service, this is back and back. The name of the end is not back end, meaning that when If I put a slash, where is it in the background? Which service should I go to? And in the same way you make another copy of this. Make another one of the same which has the same prefix put and if you write sl api in it If yes, then back end service back the port number that will go to Running on 5001 Just a little you You have to add a note as well, otherwise it will be a little Metadata gives problem A simple notation of yours in Enosh and Enosh ajax dot Ingres de Cannes aa its jo re right target It should be that it stays slash what it Your application runs on that slash. Just put this much, this is enough, and if there is more Give you some SSL redirects If so, you can do that Ridden Target like Anx Ingress had inserted You can do the same with SSL. Redirect means sometimes this happens, right? If you don't put in HTTPS, a warning will appear. If it is there then you can put false in its place. You won't have SSL, you won't have ATPS. Even then he redirects, this is done. Escape Colon Db Hey, if it's VS Code then it would have been saved automatically. What will I do now, Cube? CTL Apply Hine F Ingress Enter Chatap Ingres CreateDrawerNavigator [music] Done running but not on y slash login You should just walk on it, then I am getting fucked up, I am not in love If you are running Ingress on a MiniCube If so, you might have to change it a little bit. What to do Cube CTL Gate NS You get a new namespace called Ingress. The engine I told you about when I was teaching you Ingress controller of the Mini Cube It is very easy to install the ingress controller. Hi Mini Cube Aid Once enabled, Mini Cube will be added. There are ons in which you have to enable Look at the ingress, right now that ingress is enabled What is happening is what I would say chats.com On writing that page, it should open on the slide. Why is Ingress automatically logging in? If it was not working then you had to use Mini Cube. You will also need to create an ingress It takes a little time, it's a little light This verification process will take some time. a little bit of time By then I hope you have understood all the concepts. may have been revised that a code whose back And the front end is lying with me. What did we learn about Cuber Knits? Made it into cube nits means deployed Created Service Created Ingress Persistent Volume Pass Volume Claim Name Space Secret made all these things which You were a variable, you were a confident person. No problem, this is a verifying ad It takes a little time in the ons, okay? As long as he is taking his time, we will watch. Let's take what is left in our syllabus hai to chat application on case three tier to Apna Mini Cube Pe Mast Deploy Bhi Ban He will go now Persis et Vol also became Everything has become all sorted now Next up is a CICD. Integration of Cuber TZ with Junkin CID Gitops with Argo CD in this one too I I will create a three-tier application using Argo CD. Deployed with Genki complete end to end Then after that we will monitor with Prometheus End Grafador Hai Cuber Tjan One Shot Share with Friends I must do it because I think this is my whole This is the longest video of my career. I think it should easily be 15 hours long. It will probably be too much, so do share it. Do it if you really liked it. If you have it, tell me and you can drive it very well. Great after the d on is enabled please run Mini Cube Tunnel and Your Ingress Would Be Available at 12701 ok ok fine ingress add on is Enabled Now my ingress is enabled As soon as my ingress is enabled Q CTL An increase engine in the gate ns namespace Automatic addition can you see in two minutes Cube CTL Gate is added first Ingress Gate Service because the ingress There is a service in the name Space Ingress Engine has a service whose name is your ingress controller So that ingress controller needs to be exposed to you. which will run on port number 80 Now Cube CTL Gate Service is available Our port number is 80, there is already something in it. Running so l so f hine i port what happens to the number 80 l so whatever The port number is any port in your machine Get the ID of the thing running on the number If you go then nothing is going on right now uncle Is it a good thing to have an ingress controller engine? What I did cube CTL Port Forward Cube CTL Port Forward service Which ingress engine controller which is namespace type ingress Agnes has port number 80 as port number Map it to 80 and this is the command You must run the command with sudo permissions because If it gives problem in port number 80 then sudo hine e give this password to brother what Address already in use, hey friend What to do in the cube ctl gate service Namespace Chat p which is the service port number of the front end If the cube is running at 80 CTL Delete Highin F Front End Key Service Delete it and the front end will stop. back up service Two back now go cube ctrl apply hine Apply F ingress also and you Now port forward your ingress Controller port number 80 Why is Enter Address Already in Use appearing? port number 80 why is he giving this HLS OFFI port number 80 port Number 80 P Is something going on? port number 80 p local If this is what the host is doing, how can I stop it? Okay, let's stop it, how will you stop it? cube ctl delete service done and if you You will do this, but it will still continue. is handling connections for A How to Stop a Looking at the port are these lsof hine i colon port number But lsof fun i port Number I get 80 but he is not giving anything. It's very strange, it's okay now Whatever port we forward for this They will do it on port number 81, what about that? 81 per tax I gave it to you friend, but whatever you take, that is the fun. It comes only on port number 80. what should be done what should be done cube ctl delete hine f dot boom delete everything Tax Delete everything now, how will you do it? You will go to port number 80, you will not go now, right? Very good, you won't walk anymore, what should I do now, Cube? ctrl apply hine f to namespace apply it Then create the Persin volume of MongoDB Then make a Persis at Volume Claim and Once these people are formed then you can Let the things go, burst burst burst, it's gone now See Port Forwarding of Kube CTL How much hard work do you have to do now? If you do it, it will work, see that cube ctrl Port Forward Service Ingress Controller Running I think I'm having a service ingress controller We destroyed the entire system to run it. did you see now I enjoyed it now if If I do localhost then it is running fine. If I do 127.0 0.1 take 80 http1 7.0.0 1 Calculus 80 Colon 80 Re so can you see the page of Nx open which This means it is the ingress controller of Nx. If I will slash and localhost enter now it opens great If I will sl ai So look, it's returning a 404 API if I I will do slash so this and if I do chat ts.com which is ATTP Your Pay has opened, now in this Sl API Pay Your not found can you see that sl api pay What is not found, this is your not found then comes when its back end runs then you You even got Ingress running, it's great. I saw how you completed the whole Automated my app to check git status Oh my God, you people have created so many things. How long did it take, one and a half hour, good, now What I'll do is git add everyone. If you check git status then all these things are done. Ours is done, now I will do it git commit num aided Cats Git added the manifest of Kubus Push Origin Main and I will do this thing in my branch If I push it, then remove all this right now. All be I went very well and I went and here I am Where did my boy Shubhman go, full stack If you go and see in the chat, you will see grave notes In the folder you will find all your manifest files. is dead Well done and this was your entire project that User logs in then goes to User's Dashboard User can see the list and so On security layer it does this and that Complete your application Deployee B is also completed on Mini Why let's move on to the next one, which is a Net python3 tar application that needs monitoring We're going to do Promise and Grafana Pe to again aapko na vi That one in the repositories at shubham's 153 The project will also be found in Kate S Kind Voting app again like we have mentioned about it files were created, by the way, Kate S in this too Deployment of database in specification Deployment of the database service Redis Deploying the service result of Redis Diploma voting of service voting of results Service working so on so this now you make Come on, let's start monitoring it now. If we do it then if we talk about Kuber Before NITS monitoring, you should understand that should come into what is an observatory so if you tell me You can tell me in chat Observatories Waybill three large It is based on interesting principles like Your first principal is Matrix II is yours logas and then comes your third With the traces matrix you do Do you monitor the metrics? from log from you do You do the logging and tracing What is the difference between these three? The matrix shows that brother what is happening in your server what Meaning what is your RAM, your CPU usage? what is your network like so what is Happening in your server, this will give you the Matrix End monitoring lets you know if you I want to know brother why that happened Why do you get logic errors when reasoning? Lines, all these things are very important to have logs logging error line then yours remains How is that brother, if it happens then reach this How it happened, that's yours for How Tracing is very important so if you tell me Tell me in chat what tools you use Yes, if you are here for monitoring then it is fun brother. If you talk about monitoring then The most important tool we use are and is From Prometheus Prom to you a matrix You get metrics i.e. CP usage and You get your rum and whatever else you want. goes from Prometheus then you get the same If the matrix of Prometheus If you want to do many shows, you Grafalco you need to show this somewhere else Another one from Let's live some gruff There are many tools available to help you with data mining. You can also show it to the power BE You can also take it to the dashboard where it was made You can also take it to Kibana, so wherever A dashboard can be created where you can monitor You can do it, then let's come to logging. Let's talk about capturing logs. You have tools like Loki Prom Tail All these are for capturing logs. Then if you need to talk to tracing So the tools remain like Yeager Open Telemetry has all these tools which will help you a lot for your Observative What remains is that you have to monitor that Whatever Kyber Nits cluster you created Whatever application you are running in it How will you monitor that should be your Primary M Now I will show you diagrammatically Let me tell you what to do with the let's You have a cluster of cuber nits. Okay, this is a cluster of cuber knots now. Any information about the components of the cluster Can you tell me how many let me see People remember that in Kuber Nitus What are the components that I need from it? You will understand that brother, yes Kuber Nitus I have taught it correctly, ok, well done, so V We have a master node and we have workers nodes okay we have master note we have Worker Notes Then Master Node Pay We Have Something very cool, uncle is none other than If master note pay we have something ch is known as an API Server remains the correct API server Yours and the API server are basically the whole Keeps talking to the cluster and If you need to schedule a pod then you have something known as schedule We have to keep data. We have ETCD. controller manager so we have many such components that make up your cluster Now this API server is completely ready. Who will your worker node talk to and Worker nodes also have some or the other It is a strong thing which is non-age cube let cube lay and that cube lay sees that Your pods are running here or not here Your pods are running or not The pod is not running, this is your pod running here happens to be Correct this P and this is basically your entire There is a whole cluster of Kuber Nits which is like this The API server can talk to these people. can talk and so on and vice versa Versa if you need to talk to the API server If you have to use something like this then you have to use something like this. Cube CTL this is a totally cool thing of yours Architecture lives on, but now here's this If we have to monitor the architecture then If we talk about this worker then he What is a worker and what is a worker node? This node is one and this node to If all the things in this node are for Example CPU or whatever it is If we put all this into its matrix All these metrics will have to be exported Whatever data we have about this, we will give it to the people. If you want to send it then we have to use a service known Edge node Exporter we have to use a service known as node exporter so what is node exporter Does the node exporter of your nodes Takes information from nodes takes information and a particular port Number remains f is generally 9100 is exported to that country and then Exports Tax How Many of You Got This is what Node Exporter does for you. It takes things from all the nodes and Export it as the CPU will take the network He will take the rum and whatever else he has from here. Take it just exports it to ever I want to but this is about the node brother. The matter is over, right, this is about node exporter. It has been discussed, meaning if my worker Node is whatever workload is running on these nodes All those things will be exported. But my API server is completely Is the cluster being monitored fully? The API that is talking to the cluster What should the server have so that that once the data is exported, the master node Has a particular namespace How many people know the cube system? The system cube system is a namespace The namespace in which your API server is located ETCD Controller Manager All these services Even these services are running You have to monitor what you do. 360 degree monitoring for cuber niches cluster so for this thing you need one more thing I want what is called cube state Matrix Cube State Matrix So just the cube exporter or Then node exporter will not work for you. Also Need Cube State Matrix Cube What are your state metrics, brother? The state of the cluster is your Kube Nits The controller in the condition of the cluster Scheduler Manager is not running correctly It is not running properly or at all Components are in the control Is your plane running properly? The cube is not moving properly How is your service proxy doing? How are ingress controllers running? You also have to monitor all the information. so how many of you have just Realike Porter or Docker Container because Docker container logs took your CPU Took it all, took it all away, Cuber Knits is a much bigger robot architecture In which you have many components which Can go down at any time, that is how you have To do an overall 360 degree cuber knits Monitoring Cuber Nits Monitoring is like this Yes, but now let's understand this thing that Something in a cluster of cuber nits There are components that can give out some Data is fine, but where will this data go? This data will go to your Prometheus This data will go to your Prometheus Prometheus has one Architecture That Allows You to Scrap DataT allows you to scrape a lot of data So the one who stands firm in this will be only and only The data will not come from the node exporter. Lots of sources There will be many data sources in it Data will also be available from your API server Data will also come from your schedule. With all the components you have How many data will you send to Prometheus? Of you are now getting something crazy brother What is happening here is that all the components All these components give our Prometheus will send data it was not till yesterday it Was just a node exporter that is one of your Sends out data from a small brick instance We have a lot of things right now that Sending you data for example your node Your cube state matrix everything so this Data about everything will come to your Prometheus So what is Prometheus? Prometheus is a time Series Database It's a Time Series Database That Has Abilities to Scrap data he can scrape data he data It contains a query server also resides and what does the query server do Prometheus using Prom Ky L Using query language, he can access your data. You can also query and even graphs gives to create and all this data is available to you in S.A. stubborn Source You can also export all this You can export data from this data source. Ho in your You can find all this in Prometheus Correct Promus. You can now export this data. Where will this data go after exporting? Our visualization will be done by exporting I will go into visualizations such as graphs that Your charts are created, graphs are created When this data is created, it will go here. Visualization tools now in visualization Which one is it brother, it is a visualization tool Yours Graphador visualization tool general Grafana in interviews I am pretty sure you guys are asked for it. You must have heard a lot about Grafana. That friend, creating dashboards on Grafana is very easy. It is interesting and you all should know It must have also worked out that it is as tough as it looks. Creating a dashboard isn't that tough. It's Just the Curiosity That Makes You How can you do all the work easily? People tried to create a dashboard. If you try, chat with me immediately. Tell me what graphna is that I allow you to Give visualizations that visualizations that data to you gives sources To visualize like here data source This is where the data is stored There is a data store and this data store Data can become the data source of Grafana Store means where your data is stored. The data source means where it is stored. Your data is coming from there Graphador Complete Graph Waf Ye Aapko Banay Ke This type of graph will give you a good meaning This is a very simple graph, we They are going to make very strong graphs, so all this Things are going to happen to you so this is how a Stack for your monitoring of a grave nits Cluster Looks Like Kyber Nits Monitoring It looks something like this if you If you want to understand it diagrammatically then this is how What Your Cuber Knits Monitoring Would Look Like Now the question is that I have here Cube CTL Gate Notes I have my cluster ready here It has three great nodes, how many of them You are now comfortable on creating a How many people will make up a Cuber Knits cluster? Kuber Nits Cluster very comfortably that You can make mini cubes through kind of through bana sakte ho der r many ways to Create a Cuber Nets Cluster But now that We have a lot of things going on in the cluster. what we have to do is we have to do that I have to monitor what things It's running, I have to monitor it now. Promethazine also has to be installed stat We have to do the matrix and connect these people also. There are a lot of things we have to do learned to create a manifest file and We can do many things by making a manifest People saw the question, how did we quickly See in a single click all the things at once I can setup the entire manifest in You can use all the files at once. How do connections do everything at once? And the answer comes to him hem pe I will go and click on install them. Installing Helm is here Installing Helm now What do I have to do here? How to install it on your system I will also do Hem from one of your scripts If you can install it, install it. It is very easy to do, we had seen it. curl f ssl l whatever and these get Helm th this is where its script lives If your helm moves then MKDI Do I have anything about R monitoring? MKDIR here Monitoring creates a folder called monitoring and here we are I will do the curl command that was raised, right? Get Helm Wali, we will get the helm here. curl f ssl hine get Helm enter if you please get held This is the shell script that installs hem If she has come to you, then Question is Shall Script L S Han L Is this executable? Can I do this thing? does it have the x permission which is execute no does I don't have to do anything to help myself 700 get helm file for user I will give executable permission and if I Lace My get helm is now a table with x permission executable permissions has come close Now I will install it. Held AA from here install your hem Will gethead a enter verifying check sum hem install into user ban hem to hem nafan Try this version, I think it's just version ok then version build info version v 3.16 3 Latest Helm You're Done Install Well done Now whenever I buy anything in Cuber Knits If I do it, I do it in an isolated group. I am for example if I have good engine If I want to run a sequel or anything, I I do that group in an isolated group what do you say if you can tell me So cube ctl get namespace so my Have lots of namespaces Good ingress All these are the same as me and another name space I will create cube ctl create name Space Monitoring Monitoring then created a namespace I will give you monitoring in which everything All the monitoring work that will be required I will do it now what is my next job? me the most At the first helm was the Prometheus Community's Joe There is a help chart, so you will have to add it. If I tell you what I'm going to do I am trying to then Prometheus Community Hey where are you writing Am I Prometheus Community Help Chart So when I also do Prometheus Community Help chart so mujhko here prometheus Community Help Chart Help Here Charts can be found in Prometheus's All those things are written on it, all those things It is written that you have a Prometheus And a whole server of a gaff can be made so everything is already done So if you want to explore, you can You can read the charts by clicking on them. But straight away once Helm is your setup If it is there then just add it to the repository. So I'll copy this and write it here. Dunga Helm Repo The Prometheus Community Prometheus Community Get Hope Hem Chart To What will this do? This will cause the Helm repo list to fail. So I will understand that my Whatever number of helms the Prometheus community has Charts are all the manifests. These files can be accessed on my system. Now this is its URL where the hand I have the charts, I have the latest ones. I need a repository where all the updates are available. If things happen, I will do it Hem Repo Update What will happen with this I have as many There are also charts, they will be updated. Successfully got an update from the Prometheus Community Chart Repository Update Complete Happy Helming and Yeh Kuber Look at the symbols of the nineties, they are also crazy. Brother, add whatever you want to the Hem repo. Then hit update and get the latest thing. Come on, you've created namespace monitoring. Now what you have to do is hem through What to install is a Prometheus Installing Stack Prometheus If so, hey install Prometheus Stack now. Where to install Prom Stalk You to your Prometheus community Prometheus Community Prometheus What is a community? Prometheus Community My Helming Is What I'm Looking For Cube Prometheus Stack is what I'm looking for For now it has some properties. Like the namespace you will need to use So that hyphenated namespace that we use. What is it that has to be done Monitoring, like in the case of Docker, we What would you have done in Docker's case? We used to add networks here. We need to add namespace monitoring. Okay, now to add namespace monitoring. Later we became very careful about two things. Which is your grief and your Prometheus So can you tell me if I Nearby is a Prometheus pod made from lettuce. Is It became necessary to give him access to the outside world. what do I need for I'll have made a pod and given it to me Or has that diploid been made What is needed if you want to expose the port of Gotta give me absolute node port ch e a Service is what I need here. Setting here is setting the null that Prometheus's service Which one will it be, that node port will be and You can give whatever port number you want. Port number should be less than 30000. You can give anything up to Rs 32,000, I will give you Rs 30,000. I will give you Rs. 30,000, now I will get the same amount. To set up your graph If you have to do it Grafana.com Service.node.port Grafana's nut port You can enter something else, enter 31000, okay. Grafana's Notepad 31 is now available The default Prometheus stack comes with Your cluster IP address will be displayed to us. If we want to build a port, what do we have to do with it? have to set up have to set up grafana.service.type how many people I understand that whatever comes by default This is what comes by default in Grafana. That's your cluster IP in Grafana Or in Prometheus or in whoever he is The cluster IP remains and here when we If people change it, it will be called service type. What node port will we have to do? Okay, we will have to do the node port. So the spelling of nut port is nut port correct And similarly we will have to set it up. Nafan Set which service is it prometheus.service Dot type e to node port till here everyone It is clear that hem will have to install Prometheus Take Prometheus Community Q Prometheus Tac now namespace I will use Monitoring if you see anything set in the hem like set anything in values ​​null If you want to do it then you can use Hine Hine Set Now I have a note of Prometheus' service. I have to set the pot for Rs 3000, so I did it. I want to set the notepad of the graph service 31000 so I did the type of service I have to set the note pot, so I did this. done and Enter Changing the Note Pot of the Service of Datchi Us So I did it and with that being Shade Boom Prometheus Stack Deployed Namespace One revision deployed in monitoring has been done Has the Kube Proms stack been installed? Check its status by Running Cube Seattle Namespace monitoring now this to me Tell me how difficult it was yesterday when we Looking into Docker Compose We are going to graph the set by set by set Prometheus was all this and now it is Just one command and with help you if Doge Cube CTL Get Pods in the Name Space Monitoring Can You See Your Prometheus Stack node Exporter is running node Exporter is Running Node Exporter Is Running Node The exporter is running now tell me this Why should a Doti four node exporter be run? are are the reason being you if your diagram If you look at it, we have one or two There were three notes, but here we have a cube. CTL Gate nodes is four nodes. Four nodes There are four components for the lake, not four. Node exporter is used for nodes We Have Cube State for Components Matrix OK, so one master and three worker nodes. There are exporters and your master node Whatever matrix is ​​there in the control plane That is your cube state Matrix Crazy how many people seem to understand that We have cube state matrix which is This we have nods given by given by nod Exporter And everything is Running Everything Is Up and Running now the question is bhaiya access it How to access it, how to access it One Look First Understand Cube CTL Gate Service in the Name Space Monitoring, so we are in monitoring If you want to get the service then do it for your own work. What is it, look here what is useful for you If you want to see only that much then Prometheus Prometheus is useful among the stacks and from the Prometheus stack Grafador is everything going on Prometheus does his work and Graf does his work If it is right then what can I do Doonga Cube ctl correct cube ctl port forward Whose service is mine, my service is mine whose name Prometheus Stack Cube Prom Prometheus this jo Prometheus jo port running on port number 990 But it is going on, I want to expose it. So it is running on port number 990 I want to map that to my from port number 1990 which is port number 190 I am running it on port number 1990 The namespace I want to map Running in Monitoring and At the Same Time The address of this That's what I want to expose 0 I want to expose its address. So I'm Prometheus' 1990 exposé enter so can you see Forwarding from 0.0.0 port number 90 is mine Wow, it is up and running on pot number 1990 So I'll jump into my instance. I will go and see what happened to it in my instance. I'll go to the end instance and what do I do? Karunga Any Guess Main Security Group I'll go to these security group I will go in bound rules I will edit the rules and I will edit this I will tell him that my brother, I just have one D rule. do it ch e Give it to 990 and any where and just save the Rules 90 is now up on my instance. I will go My IP address uthaoonga and if i go on a new tab and HTTP always don't make this mistake its 990 But if I Gone boom I have Prometheus Server running for Me a Prometheus is running for me how cool Is this what I did Helm It's installed, that's all I did. And I'm all Set but how many people know that Prometheus We have to maintain a file in Whose name is Press Yaml in which you Confines of scraping have to be inserted correct how many of you remember that Need to enter the configuration for scraping are you using now that in hem hem Configuration of scraping All are already placed, all are already placed Something has happened, but it is not coming back. It's fine, but you can see your alerts. Manage your API server. It's all up to you. Your metrics are already everywhere. Some are coming from some, some are not coming watch can which we can later on see but why bullet say Everything is coming to you from here. Everything is available, can you see as many as you want? There is also a matrix which is already set. All the metrics we have Are set up Can you see how cool this is That you should have your Confidence You Have Cube State Matrix You don't even need a Sea Advisor because the cube state matrix is ​​your cube Whatever resources there are in the cities, whatever There are ponds, she is giving information about all of them. Your node exporter is as many as you want in your node There are also nodes giving things of all kinds End You can update it by going to Datachi. Interesting how Prometheus explodes Sara The work has been completed using hem charts Now I'll run this thing in the background. and run it in the background Enter, so it's running in the background. Right Now Similarly Cube CTL Gate Service In the Name Space monitoring what will I do now I my Grafador Fana here is my Grafana correct this is it My I'm going to expose So cube ctl port Forward Cube CTL Port Forward Service Grafana Promus Tack Grafana its port number which is running in The one who lives outside is 3000 Generally I want to use port number 3000 for port number 80. and this namespace comes into monitoring and after that I What should I do to address this as well? Also to Asus Address 0.0 p I will open enter exporting from 3000 so at 3000 I will go to my Instance security P Generally you need to know the port number 3990 This whole thing, it became life, became much Easier now I can add rule here and make it 3000 I will add for anyway and after doing this I I will save it and as soon as I save it This server of yours is the same as Prometheus What will you have running on the same server? Pay your grafana is also running means what Helm is brilliant, you have achieved it in one stroke Kuber Nitus also means Prometheus in Cubart I have also made a tank and the hem is also dead in it. How sorted is it now, the question is brother what is its password admin and admin but if I enter admin admin Then my login fails. If you have login then it is failing What should I do now, my login failed. If it happens then it may also happen that just to Improve security of your cube nodes The number of pods running in the cluster Make it M% and run it in the background. Just because of the security you have Also, if any pod is running, its password is something else. It is possible that his password may be something else. If possible, you can enter the password from your pod. You can take it out or you can use your deployed one. How can I extract the password from it? CTL Gate Secret Cube CTL Gate Secrets Where to Get Secrets Prometheus Graf Prometheus Stack Grafana to which Prometheus Stack The graph that you were running was a reflection of this thing We have a secret password, right? This Prometheus Stack has to be removed. Grafana is it running in namespace monitoring So this service is what it is If you want a password, then this name out of what is going on in space monitoring What will I do Han O Json Path then Json Path in Json JSON based on JavaScript object notation requires its path and You will put it in double codes, what will you say about Atlee? If you want then those secrets are there Secrets he generally keeps in dot data and also those who The admin password is yours. If we do it like this, cube ctrl gate When you enter the secret admin password, it Your password arrives How many people understand your password? I learned how to remove the password cube. l Get Secret Whatever Your Secret Generally Forget the passwords that remain secret Have you all gone if we change If we have to put it, then where do we put it? in confine and if we give people the password If we put it then we put it in whichever way it is That Cuber Knits resource in which we people How to create ET CD using password or secret Maybe my brother has secrets Enter the secret password in secret and The variable you put in the confine Yes, okay, now there is another speciality that This secret is Base 64. So if I keep this secret I will pick it up from here and if I am in it here If I enter it and try to log in, the login fails. Because it is base64 encoded If so, what do we have to do about it? Any guesses that are in base 64 How to decode us? Decoding people If it is needed then it gets our password. What will we do with this, we will pipe it will decode the hein ain in base64 and Decoding will reveal the Boom Prom operator The password was named Its hacker man is understanding that some Anyone's password by going to any service how to steal Here you take the secret and base64 decode it Enjoyed tomorrow you can anytime any of your Project Banaoge Let's Say My Sequel Now you can take the password of many people. If I pick up this prom operator and I if This time I will put it smooth operator enjoyed how you in grafana I have to login as admin, admin is not working. going to run fine how many of you got this Crazy now brother, we are new in Grafana. We'll go here and connect Go and add new connections, how many of them You think I'll go over here and take Prometheus I will search and this Prometheus ad How many people remember this thing? I'll do this thing. I'll go into the connection. I'll go to The New Connection Prometheus I will go Why not because there is a help chart where Stack of Cuber Nitus Prometheus on If you go to Connections, you will reach Home. Go to Connections and then Data Sources. You will go and see that your Prometheus is already set Up Prometheus is already set up why because you Helmet up, Prometheus is also set. turned up and your cube state matrix Prometheus and all those who are Grafador [music] Add Any New Sources All You Have to Do is just build a Dashboard Click on Build a Dashboard Your which is this Prometheus it's already added If you want to add, this is the URL http.com PR Monitoring How it was discovered Whenever you go to any particular university If you want to reach the service then use the service. name dot namespace if you put then you You get there alright I have now added the data source. What do I care if he's already dead? I have to make a dashboard, now what should I do? I will do ad visualization here I'll go to ad visualization, this is my data source. Prometheus is that I take everything from Prometheus I am now here in Matriculation, you who You can put whatever you want with let's Network Container Network Receive Byte Bhaiya These containers receive bytes from the network. Advisor used to give which is related to your Docker Monitors the kube state of containers Matrix is ​​also giving the same thing, so container Network Receive Byte in which now here you Can you put a namespace here, how cool? It came, if you put the namespace then the namespace I put now whatever namespace I Let's say me in the monitoring namespace If you want to run all the things from Anything in the monitoring namespace I can see everything that is happening in front of me, let's So tomorrow I have not done any other new application. Created the Three Dear application on this Deploy the application to Raising the namespace of the deployed application I have to take it late, I did it well tomorrow. Run query Apache's namespace is visible You have made me a cube system, a cube system I ran a query of the cube system Whatever requests you have, I will give you all the things. Looking how cool this is that now I have to do it only according to the name space Dashboards need to be created with just the namespace Create an accordion dashboard are you having fun Came interesting how many of you thoroughly enjoyed The Power of Technology The Power of Devops Using Helm, helm is a package manager. Which we first do component by component Components used to be things that are now a package. The manager put it all together. and gave you a command help install Cubase Stack Promus Cubase Tack and Vid That everything is done, another best thing told It has the Cuber Nits Prometheus tank which They know from which second they maintain it. Dashboard is to be used, so if you want to use dashboard If you go to, all the dashboards are for you. already made Prometheus's node for you of the exporter Cuber Nits Scheduler Persin Volumes Pod Namespace All dashboards of the cluster are already created Yes, everything is already done by you all dashboards built But still, if you create your own dashboard Want to create your own dashboard? What can you do with a new tab? Go to the Write Queue Grafana dashboard Grafana Dashboard s Write Next Grafana Dashboard Write and Grafana Dashboard Key Grafana dashboard will come on the official website Grafana Labs Click on it and like You will click and you will see many dashboards You will find a lot of things, just search. Cuber nitus Prometheus just not Look, it did not come, search on the internet and yours came. Loki Stack Prometheus Case for Storage Promus Dashboard that suits you, that suits you You feel like you can take whatever you want. Cuber Views is a GraphQL dashboard. Namespaces are all there, you can take them all. Are you looking for Cube Deploy Full Set? D mind set matrix so I'm going to click this If I take it, look here, deployed memory Use deploy on available this all thing to you Here I am showing you what all is yours. You can use whatever you like Whatever you like, here you can find it I just typed Prometheus in the search late. Search Prometheus Now here you go Which one is needed from a Qubes cluster If you want Prometheus, click here. two this is cluster cluster CPU cluster disc all these things now this this one Putting the dashboard into my Grafana So what should I do? Get this dashboard. I will copy the ID to clipboard. I will copy it, copy the dashboard ID Now I'm going to go to my dashboard. I will go to Grafana, this is my Grafana URL and new pe jaanga new pe jaake I will click on import. Now I clicked on this gf na.com URL I have an ID, I will go there and throw it away. I will load it, as soon as it was loaded he said Now you have a Prometheus data source If I want, I'll go to the data source and it I'll click Prometheus Prometheus I clicked on it and now I can import it. As soon as I imported it, can you C is not just the last 30 minutes, but the last 5. Look at the minutes, refresh it for a while. Things will start coming later Can You See a Pod You have 31 pending pods and you have 31 running pods. You have two pods in your cluster. 35 containers have already been moved and a waiting tax is being charged. Two containers have been terminated now. Let's terminate two containers now I can edit this to make the container look risky. I will give and go here and color Mode Background Solid and Its color red If I give it and save it, what will it do? Now if any of my containers terminates If it is happening then I will quickly cover it with red color. Identification help you too Do storytelling that two containers are dead There are so many running containers running from lettuce If you want to show it in green then edit Do it, add color to it Green Because Running Green Looks Good Too 35 Running Waiting Blue Contain Terminated Red how cool is This is how cool this is amazing Now brother, this is very crazy. Now I'm going to do something And we do crazy things one level higher I will take it with me to my git hop Whatever project you take up, The project is ours, right? that everything is given by God, if someone But put your hand on it, no one will refuse, so one Kuber could have taken up some project of Tus or some would also take up the project And you should monitor it, friend. So this is a great voting page. It's a very solid Python with dot net in it. It has nat jus postgres all Yes, we will clone him. How to git clone your voting page We will take cool CDs, voting is over now. In this voting paper I have Ketus Kuber Nitus I have some manifest files like It is deployed, it is a service, it is Redis, everything I have things, what can I do with them? I will check this once to see if its namespace What is Result Deployed its namespace once If I look at it, it's not in any namespace. When any manifest file is with any name Which name space does she not live in? If she lives in then that is the default name So if I do cube in space CTL Apply Highin F Dot Bhat Fat Fat Fat Karke Meri Deployed created service created Deployed Redis created whatever my There was a stack here, this one [music] python2 l gate pots so my database is running redis is Running result is running so what is this Basically this is a voting application where You can vote for the dog or cat here. This is our beautiful voting application. Then tire application is running cube ctl Gate service Gate service so you can see Voting service should run on your port number 5000. Raha Hai Voting Service There Is An Application Voting service whose voting is running at Rs 5000 If so, cube CTL Port Forward whose service is our voting Service Its port number is 5000, that is me I'll map it to my 5000 and Address For my Public and its service name is Vote 5000 and keep it in the background I will run Enter forwarding from 5000 now in my security group I'll go and add another rule to this. I will just tell him brother, take my 5000 rupees also. Open your custom IP save rules and like I Voting: Now when you go to vote, you Do you wait for the result as well? I will also open the result service. So the service is the same as the voting service. Result so that the result of your vote You will get it, it is running at 5001, so this I give you a binder from 50001 and I left Given your voting and result both The services have arrived, we will add this also. giving We are 5001 in our security group. People add this too, I have done it now. This is my IP address Pay Apne Paas 5000 Port Pay Dog Cat Voting is going on brother, take it you can Participate in that voting age well and Let's See Let's See You like dog more or do you like cats more, look at me So I like dogs more, so I will vote for dogs. I will do it and vote for that What will I do on this, simple So I'll do a small thing on that vote. I want to use my Cuber Nits cluster if Possible a don't hit it because again your If there is too much load on the server then close it. do it don't hit it now i can directly I will go to my dashboard okay I'll go to my dashboard and I Directly to your cuber knits networking workloads and can I see all the networking here at UC. in any namespace now I I will select the namespace which one Default namespace can you see that website My average rate was not opening and everything increased. The Can You See The Network Here It has increased a lot, why because everyone Tried hitting on that and as many as I Pots were it started you know lets say I got the result which was your voting service. If you want to see it, you can go to the voting service. See the Voting Service Got a Lot of It Current Rate of bite received lot so whichever I Workloads should see the results service. I can see that, I'm voting. I can check the service to see how my work is going. has been the last how in f minutes How cool is this, how crazy is this now I can see the entire cluster that my What is going on in the entire cluster? it's fun Now let me go directly to Prometheus. I can and see what brother What is going on? How cool is it This is how crazy this is So because of our voting 73% people think that dogs are better and at 31 think that Cats Are Better and If You Go To Your cube knits let me get a new one I want a dashboard now from this one. If I'm not having fun, I need a dashboard. Need for My Cuber Nits, which looks very sharp Dash is perfect gonna take this dashboard Here's this dashboard, we've taken this dashboard. I took a copy of this and ID'd everything in it. The thing is visible and I can directly see it in my In Dashboard, go to New, go to Import I went and pasted the ID and it was loaded. So all my data is scraped in Prometheus It is happening, I have imported it and Just Like That I've got everything in its place What is going on in it, how much CP is being used? Which of my nodes is having the most More like cluster worker one on most Too much load, can you see this at my Cluster worker one group the maximum load now Being a devops engineer, you can see that Your cube ctl get pods this jo voting Wala Pod Hai Wala Cube CTL Gate Pod Heine O Wide Vote Worker Cluster One then you Directly identifies which nodes But there is too much load and you go there You can do scaling, you can see the workers There was a forest and the load on it was too much. Because our voting service was that was on worker one and because of this Dashboard You Can Tell Your Team You Can Tell Your managers that brother we need to work on This particular node Scaling this node Will have to live in IPL Cinemas Hotstar How All This People Scale They used to have these dashboards all the time They kept monitoring where they The instant you notice the scale is rising Horizontal Pod Autoscaling Vertical Pod Auto scaling using all this to give use to Power Up There Machines drop a boom in the chat if you Understood the Power of Kuber Nitsa the Power The Power of Monitoring Would have liked helmet monitoring where We have developed a three-tier application. Monitoring also seen on Grafador and Every Matrix Available In Cuber Nits, I enjoyed it, now you can enjoy it too It is going to be the time when we will do mega projects. We are going to be in this mega project People who are going to use the cluster will There's going to be a cluster of KS, friends. KS Elastic Cuber Knits Service AW is a managed Cuber Nits service What is the benefit of ES brother? The advantage is that you have control There is a plane where all the services are running. Your API server and your ETCD Controller, Manager, Scheduler, all these things AW manages so you get the load You don't need to, you just need to setup the cluster. You have to do it and deploy your application. What is the application, your application is one three Tier application that runs on ES Whose CICD is going to be of Deaf Seps through where we are going to use Jenki Have evi ova saner kube docker email notifications and this thing that will be git ops That would be through Argo CD using our git repository then we hem your cluster We are also going to monitor through where Prometheus and Grafana use both these things By doing this we are going to monitor so this A two-and-dime mega project is on Cuber Nits But Its Small Requirements You should know how to create an eCase cluster. Let's quickly make EKS Cluster right now If I do cube ctl gate notes then These notes that you see are of our kind. The nodes of the cluster are now here I want to create a KS cluster, how do I create one? Understand this thing which is of EKSAW If the service remains, it is a managed service. If I search for EKS here Elastic Cubber Knits Service Here one of your clusters whatever your clusters I can see all of them, so I am here Create cluster is also great from here I can also create the cluster from the UI but this Banana is not the best approach I will make Using AW Sal I, first of all we Installing AW Sal I to People You will have to install it in your system. It is very simple, you just need to go to googleclassroom.com You can install AdB Ciao here. The command line install is provided in curl HTTPS AdB CI this that complete this Copy it, it's just a small thing here If the unzip command is being used then your system If I need this unzip tool then you can install it. Take sudo at get Install install azip install this unzip tool Now what do you have to do to complete this? This is the complete command, you just have to copy it. And paste it, boom, and here you are. AWACLI what is it There is a command line interface through which you Clusters ECS containers or bricks instances s3 bucket anything you create from here This is done, what should I do now? I will confine my AW, meaning I will To the local machine, to this machine of mine, Connect to the server with your AW I will do it then add Now you will have to confine AWS here. Your access ID seems to be Joe AW This is S's account, this is one of them. The service is named IM stands for Identity and Access Management then using IM gives you a I want to create a user from let's change it to users I went and created a user whose I said the name KS TWA OK ES TWA or Then I created a user by doing something like this. I gave ES's train and Shubham's user I have made something like this, now why should I do this? I'm doing this because I will create the user AWM my in the account and the credentials of that user I will give them access to my server. I'll give you all this, okay, this TWA User next is now granted permission to this user. You will need to run ES, so you can do it here. Pay either by searching ES and give full permission Or you can give administrator access. You can get administrator access directly So that he has access to all the services If you get it then VPC for ES and ES and your EC to instance You need access to all these things This will be achieved by this, after doing this we If people click next then we will update the user's Details put di ES TWA user usko granted administrator access and Create user with this and your ES Twd user this has been created once this The user has been created, you have to click on it. and you need its security credentials Go to Security Credentials If you want to go and create an access key Go to the Create Access key and this is access key, it is such that It is very secure and through that What can you do with the command line? You can create interfaces using local code. I can do a lot of things I select the command line interface. And here I go and say Understand the Abbe Recommendation and So On I'll tick this and go next. And no need to add a description tag No, I will create access key. This is my access and this is mine. If two secret access keys are created then I copied the access key and here I went and threw it away, done, my access key is gone. I have given this secret access to my instance I took it and I went over here and knocked it down. Done, I lost my secret access key. Default region name can be whatever you want. Your default region name is like mine brick instances are created in all those I make this tutorial in Mumbai region So your Joe Cuber Tzan one shot for It is in Mumbai region which is AP South One If you want, you can live here in AP South One. You can enter whatever your default region is. Yes, and even if you don't want to put it, it is Completely fine, okay I am from AP South one. I will give you the region you want to keep as default. You can put that too, if you don't want it then don't put it. Even if it remains a nun, there is no problem. Default Output Format Non Complete Fine There is no problem now if I say Adb s3 LA so in my s3 bucket as many as my All the buckets in s3 are Gayi TWA Junoon Junoon batch Portfolio Terraform All Buckets My what does it mean it means This is my AW this is my S2 instance my The figure from the AW account is now What I'm going to do is I'm going to cluster here. If I create it, creating a cluster is very simple. This is our project, a mega project. All the files in this project It is kept in my repository so you What to do Londhe Shubham 153 This Repository I want to go to this profile And by going here you will find it in the repositories You have to go to the repositories and search Wunderlist and Wunderlust Mega I put all the commands in the project How is this project keeping all A to Z? What's going to happen, everything is going to happen It has been put away, what should I do now? Just go over here and tell me a few things. You have to install it like we did I have setup AW CI cube CTL so we already have EKS CTL means Elastic Cover Knits Service It also has a controller, so that too If you want to install it, copy it. Copy this and go and paste it here. Enter boom and y In a short while your e CTL will be installed then e CTL what is your version 0.19 that's right okay this is the version of your Pass required now once you have your ES CTL The setup is done, now how will you create the cluster? Create cluster like We the People of Kind Create Clusters Similarly, CTL create cluster now What else will be there in it, the name of your cluster Let's say I want to enter the name of the cluster. I want TWA or ES TWA yaar ES to toh obvius si baat If there is an ES cluster, then there is a TWA cluster. This is the name of my cluster and what I I want to give it brother, I want to give the reason here So what is my reason, I want That this is my cluster, it is South One. Live in this region which is Mumbai region And what I want is your version of it. Whatever version of Kuber Nits you can find here You can put it in your version from Let's 1.31 or 1.30 or whatever it is, put it here. You can use the latest version 1.31 that is running. You can do it, it is 1.32 but it is elastic Cube Netservice for that ES 1.31 running okay now you have to do this without node To group without node group without What will happen without node group? Your cluster will be just that and Only one cluster will be created and its control will be maintained. A plane will be formed with no nodes attached to it. Initially, you have to do this and this It will take you minimum 10 minutes to do this thing. It may take 15 minutes to even 20 minutes. Based on the type of machine you use I would like to tell you one more small thing I was just searching that this video 12 It's been more than an hour, brother. Long video of what I would like to do This is a video of over 12 hours. youtube1 hour key ok The maximum file size of youtube is 1 hour. You can upload up to 256GB and within 12 hours. Ever is less then I am more than 12 hours Can't upload video This video is quite If it gets too long, I would work it out. What you have to do is go to trains.com Obviously, you have to go for Batch 9 registration. It has happened in our train Shubham There is no such role that you can do it for 12 hours only. We can upload more than 100 hours I study and want to go for its courses. Here I am a new person in free courses. I will add the course to EKS, can you see it? This EKS Masterclass is live here on I will add a new course ES full length tutorial ok i can do this either Is this a solution or Train with Shubham Who I will give you the video of the new mast e KS Because this is going to be a 4 hour project This is if I spent four hours in this video. If you add it, the video will not play. That's why this video will last for another 12 hours. The rest of the ES is in continuation I have a project and I will add you here too. I will give it to you, great and this will become your cluster. It's started, it's going to be in around 10. Make this within 10 to 20 minutes. If you go then at least bring something in it, it is recommended Policies and Found for VPC CNI Add On Aa chalo no scene if you like this Add ons in the cluster means some more add ons add an addon like Prometheus Age Can you Open OIDC means Open ID Connect? He keeps doing this, you can add that too I have created the add-on Successfully createdDocumentsFragment Then we have to add nodes to it. Adding nodes is also very easy for you. What to do is go to the same repository What I told you and how I told you You told me about the advance, right? EK CTL Utilities Associate IAM OIDC provider so by doing this you OIDC Add the provider, what happens? Your master machine is the source of all the other machines. Once the machines are connected, all you have to do is You have to do it and once you do it, What you need to do is create a node group. Node group means node group is such a thing which contains one or more nodes are from let's that I made I want three notes or two notes If you want it, I need at least two more. You can say this maximum two times and let's So you wrote five here and you wrote Nodes minimum two and maximum five What does it mean, minimum two notes always Should keep going but in case of scaling Like we scaled the nuts The case can hold up to five nuts, so it The thing seems to be that you need to look at the type of node You will need to decide which type of nodes you will need. If you need something too large, you Run the application if t2 large if small If you want to drive it, it can run on T2 medium also. Keep t2 medium then at least t2 micro don't Keep it because it fills up quickly. The node volume size is what you need You can keep it as it is limited to 30GB. Free tier but still free tier so something is left No, it's a paid service, so there's no free tier. So forget it now, after that we will do such a thing. Access will also be required, that is why SSA Public Even if it is imposed then where will the SSA public come from? Loge, this is the name of the key, like you cube Netz and one shot for this one instance. Where can I get it, it is a little below. Come and here it is written key pairs Now the key of Cuber Nights N One Shot The name is K8S in one shot so this is The name of is the name you see in your public key You will have to put your own keys too if you want. You can create a key pair here. Take it and whatever pair is formed, you can see it here. You can attach and SSA by putting Enter access and enter node volume size Total by putting minimum and maximum nodes Specify your note type by entering the number of nodes. You can enter the name of your cluster. Enter the region and create your node group. If you want to give then my EKS cluster TWA Cluster in AP South One Region It has become a case for me, what should I do? I have to do CTL create node group So ek ctrl create node for cluster Group Cluster Name TWA Cluster This happened but before that I opened the ID. I will also enable the connect button. That's what you need for connection here. If this happens then this EKS CTL Utils Associate I am OIDC Provider Do this You will have to and the reason for this will be the same. The region where your cluster is located I mean, what will remain of South One then? The name of your cluster will be which is Your TWA Cluster and Your Hyfe Fun Approve this will be and e ctl of your IM Turn on an Open ID Connect provider allows you to differentiate between the rest of the instances Now you can connect after doing this. Create a node group for your cluster So let's create a node group for the cluster TW s cluster that cluster What is the region of AP, my region is AP South One Then what is the name of the cluster, tell me both of you. This name is not the cluster name, it is yours. The node group is named with lets TWA cluster ng ng means node group this is your The node group name is then your node type. Can you give me a t2 large from Let's? If it becomes too much then give T2 medium also. I can write as many notes as I wish If I need two notes, I'm here. Pe do ne dunga hyphe hyphen notes minimum How many do you need? I need two and maximum How many do you want? Give me whatever you want. If you want it from your cluster, you can put it here. Yes, lets you set the node volume size to 29 GB. If you don't want only 20 tongues then you can come here. 20 Put Han Afn SSA Access Also Needed You will need to enter your SSA access. It is not equal to this, it will be higher here and Here you will have to enter the SSA key. What will happen to SSA Public? Which one would you have done, whatever you have If you want, you can make a new one or use this Particularly our Natu server is this Cluster Our Caisson One Shot Name Ki Ki Pay If it is made then you can use it if you want. You can create a new one too, but it's fine this I have used enter, now what is happening? Creating node groups in version 1.31 For Your ES Cluster and Deplat TWA cluster is so perfect Not with in I think 20 minutes you guys a If you can create a cluster of ES then a little and if we talk about the project If we do this, then this project is quite next. Level project is where your Argo If CD is also being used then this ES cluster But we will also make Argo CD. Monitoring will also be done with Prometheus Def Se Cubs is also going to do it with Gruff Junkin' along and one of his three dear to the application Deployed again like I said There are limitations of having a 12-hour video to The video cannot be longer than 12 hours. That's why the video will be uploaded here in a Free course, okay, you have to pay something for it. Obviously, you won't have to do it. Let's go. Very good now this is good yes by the way How does eCTL create its ES Pay cluster? It creates cloud formations from clouds Formation One If you look at it, EK CTL TWA Cluster creation complete, you have a TWA cluster made an eCase cluster using cloud cloud formation beyond that if Click on it and see what resources are created. What's built into our servers? If you want to see, you can control your server. The plane became the security of the control plane Create a group Ingress Ingress Note Group Internet Gateway VPC VPC Route Table All gateways, oh my god, so many things Built in your EKS TWA cluster Total 32 things made, what if you Go to Stack Action and select View. It happens by viewing and viewing and you complete it. What the entire cluster looks like You can see it completely, not this, here comes one. You can see the entire cluster here. System Manager Remains Kind of Answerable If you want Answerable in one shot Tell me quickly in the comments, okay let's do this Our okay finally so node group will continue to happen TWA Cluster NG has two notes You have two notes created. group in TWA cluster so our If the node group has been created in the DBS cluster If I do Cube CTL Gate Notes Cube CTL Gate Notes to Can You See IP 192 168 21 100 AP South One Computer Internal is Ready i 192 This is ready so the two notes that you had It is ready but brother, there is a control plane in it. Why is it not showing because the control Your plane remains managed in the AW Side To amazonbusiness.in nodes hine hine use context is equal to whatever your Kind of like the TWA cluster, whatever that was. I have to do it, hey, which one was ours, take it, I I forget the commands by the way, whatever I have put all the commands in my git I have uploaded it on Happ, there is a Repository is called Cuber Nits in One Shot Everything is uploaded there. All the things we did are uploaded if You would be better off with another cube Kube Confine Use of Confine Dub Cluster Can you do this right now from Let's Cube Seattle Who are you pointing your GATE notes at? Version 1.31 is doing ES Pay Points now. I can tell you that brother, you can use this one. Use Context Kind Clustered Use Do enter context this is done Now I did the get nodes, so this is my kind of The cluster's gate nodes have now returned to me. What can I do if I have to shift the case? am a w s ka e ks ka The document is fine, it is of an AWS. This is the official document of EKS Cluster. There is a command for that, what is that command? It tells you to tell your AWS You can update the cube Confine is for that you AWSE case Update Cube Confine AP South One and the Name or whatever your cluster is The cluster was named after Let's TWA. cluster was inserted then you can see your cube You can update the config now if you If you do GATE notes then you will see ES people. The notes are visible, how sorted they are, not You can also manage ES from the same system. You are kind and are you able to manage it too Mini Put cubes in it, you can manage that too. I have already told you all about Cube ADM. You've told me, great, let's go with it. I will give you a great project complete. I get it done but brother, he has gone crazy. CICD integration, all these things, oh my god! Father friends with this Cuber Tuzz in one We are about to have the final end of the shot video. People Core Concept Workloads Networking Storage Scaling Cluster Monitoring Advanced Features in Cloud Native We told me in the comments Tell me if you need AS and GKE also. We need videos of our projects. See CICT integration with Cube Nits We saw microservices on ES. With Mango DB Dekha Mini Cube Pe Hum People net python3 dir application Monitoring and Prometheus Grafana View Kind cluster pe to an overall 360 degree The video is for cuber nights I hope you You must have liked it if you liked it Tell me your opinion on this video in the comments. Leave a like and go away if it's 16 hours for brother If you liked teaching then friends this is Only 16 hours are left for Deb 0 to Hero batch. Which is starting from 25th January I was live in it for more than 100 hours. Deps is going to teach you in which Jenkins Kuber Nits Gut Lab Argo CD Terraform Amble Gate Thanks for watching Ending the Stream in three to one by