Kubernetes !!
The story begins when this type of application deployment is formed in the tech world. There is a term called as monolithic application.
What are monolithic application ?
These are the applications that contains it’s all the component and they are packed into a container to deploy it in one go. Like an application is a combination of frontend, Backend, database, networking and chat bot. When we deploy an web application then we have to deploy all it’s component so that it may work properly.
In monolithical application, We packed all its component in one container and deploy it in one go.
But their comes a problem that when we deploy a monolithical application, their is a problem in redeployment as if we want to update our Specific portion of an application like only frontend and want to redeploy it then due to having so many other things along with frontend part in that container, all of the component will be redeployed. Similarly If we want to increase the storage size of frontend part only then due to same container the storage size of the whole container is expanded.
What is the solution of it ?
Solution is Microservices
What are Microservices ?
In Microservices, each of the component is separately attached in a container. As a result, when we want update a specific portion of a web app then we don’t need to deploy the whole arthitecture. Our whole arthitecture held safe and the specific container will be redeployed.
Isn’t it look difficult to manage ?
Yes, exactly it is difficult to manage all of the component interacting with the other component. If there are 10 thousands of component so it will create a very complex structure of graph connected with each other.
Is there solution to that problem ?
Yes, for sure. We use orchestrator to manage all of the components.
Orchestrator is just like an orchestra. It gives the direction and symbols to the music band and they all play according to their guided move.
What is kubernetes or k8s ?
Kubernetes is also known as k8s as K is the first letter S is the last letter and 8 represent the middle 8 letter in kubernetes. Kubernetes is just like an orchestra it gives the direction to microservices.