How Kubernetes is Used in Industries to Solve Use Cases..?
🤔 What is Kubernetes?
👉 Kubernetes is known as k8 , is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.
Why kubernetes?
Before kubernetes we use three types of methods :
I ) Traditional deployment : Early on, organizations ran applications on physical servers. There was no way to define resource boundaries for applications in a physical server, and this caused resource allocation issues.
II ) Virtualized deployment : As a solution, virtualization was introduced. It allows you to run multiple Virtual Machines (VMs) on a single physical server’s CPU. So evolution of VM Many companies started deployment deployment in VMs they give many flexibility .
III ) Container deployment : Containers are similar to VMs, but they have relaxed isolation properties to share the Operating System (OS) among the applications. Therefore, containers are considered lightweight. Similar to a VM, a container has its own filesystem, share of CPU, memory, process space, and more.
In a production environment, you need to manage the containers that run the applications and ensure that there is no downtime. For example, if a container goes down, another container needs to start. So kubernetes is takes care of scaling and failover for your application, provides deployment patterns, and more. For example, Kubernetes can easily manage a canary deployment for your system . That’s Why kubernetes is used ..
Use cases of kubernetes :
1 ) Pokemon go:
How was ‘Pokemon Go’ able to scale so efficiently & became so successful? The answer is Kubernetes. Pokemon Go was developed and published by Niantic Inc. 500+ million downloads and 20+ million daily active users.
Pokemon Go engineers never thought their user base would increase exponentially surpassing the expectations within a short time, they were not ready for it, and even the servers couldn’t handle this much traffic.
The Challenge The horizontal scaling on one side but Pokemon Go also faced a severe challenge when it came to vertical scaling because of the real-time activity by millions of users worldwide. Niantic was not prepared for this.
The Solution The magic of containers. The application logic for the game ran on Google Container Engine (GKE) powered by the open-source Kubernetes project.
So use By the kubernetes pockemon go get many benifiets .
2 ) The New York Times Journey to Kubernetes :
Today the majority of their customer-facing applications are running on Kubernetes. What an amazing story:) The biggest impact has been to speed up deployment and productivity. Legacy deployments that took up to 45 minutes are now pushed in just a few. It’s also given developers more freedom and fewer bottlenecks. The New York Times has gone from a ticket-based system for requesting resources and weekly deploy schedules to allowing developers to push updates independently.
Some of the legacy VM-based deployments took 45 minutes; with Kubernetes, that time was just a few seconds to a couple of minutes.
- Brian Balser
“ Kubernetes has not only helped in the vertical and horizontal scaling of containers but have turned the tables for innovative engineering expectations. It has been succeeded in deployment for an initial estimate of servers. Also, it has gained so much popularity in a short span of time. “