What is Kubernetes and Why we use it?

Photo by Fabius Leibrock on Unsplash

Micro-services and containers are more popular in this era of technology when it comes to manage and deploy large systems.

Hello Developers, This is the first post of a series of kubernetes. First let’s check what is kubernetes and why we use it.

Docker make our life easier when it comes to deployments with lesser up time, lesser space, lesser cost and many more. It is okay to use a simple dockerfile and up a single service but when it comes to multiple services with multiple instances with containers how we can manage those?

Yes can use Docker-compose but I am talking about production deployments. Docker compose help to manage multiple containers with networking but when it comes to manage secrets, configurations, memory and cpu limitations for containers it is not providing such features.

Then we need a person to manage our containers.

Kubernetes is needed to manage containers. It will provide many more features such as,

  • Provide autoscaling based on rules you provide.
  • Load balance to your replicas. ( Even for 2000 instances )
  • Automated rollbacks and rollouts.
  • Zero downtime deployments.
  • Secret and configuration management.
  • Infrastructure management with allocating resources to instances.
  • Easy deployment with lesser time.
  • many more …..

Kubernetes is developed by Google and it is the current container orchestration winner in the industry. It is open-source and easy to use.

In the next section we will talk about the Kubernetes architecture.

Kubernetes is the greek word for helmsman who have the helm. It become popular since it was tested and stable when the docker was released.

k8s word is made using the first letter and last letter of “Kubernetes” word and “8” stand for the letter count in between them.

If you need to learn docker please go through following posts.

If you have found this helpful please hit that 👏 and share it on social media :)

Technical Writer | Tech Enthusiast | Open source contributor