In the previous post we saw a brief overview of containers and we also understood why the industry is moving towards containers. In this video lets take the next step and understand what Kubernetes is and why it is becoming a platform of choice for container management for both enterprises and startups.
Lets begin by defining what Kubernetes is. It is an open source system for managing containerized applications and provides mechanisms to deploy, maintain and scale them across multiple hosts spread across on premise and cloud. It is more than a container orchestration platform because it also takes care of managing the compute, network and storage infrastructure.
Let me explain that with an example. Imagine an application consisting of 10 different containerized RESTful APIs written in different languages such as Java, PHP and NodeJS. You need to deploy these containers such that :
1) They are deployed in multiple servers to handle load balancing and high availablilty.
2) They can be scaled as required.
3) They can be upgraded without any downtime or with minimal downtime.
4) The services can easily talk to each other and discover each others end points.
5) The deployment as well as number of replicas can be maintained as code.
6) The whole platform can be maintained as code and accross bare metal and cloud platforms.
To get a better feel about what Kubernetes can do, lets read some of the case studies as highlighted on their website.
The first case study is from box. They are a content management company and have more than 50 million users. As they were expanding they wanted to find a solution to run their workloads accross on premise and public cloud. To do that they have started migrating their infrastructure to microservices and have been an early adapter as well as contributor to Kubernetes. The advantage as in their own words is “Our Infrastucture was so antiquated it was taking us more than six months to deploy a new microservice. Today, a microservice takes less than five days to deploy”
The second case study is from Huawei. It is a multinational telecommunications equipment manufacturing company. They have more than 800 applications in 100K+ VMs to server 180000 employees. With increase in number of applications the efficiency of VM based apps becomes limiting. They migrated to Kuberenetes and at the end of 2016 they had more than 4000 nodes with tens of thousands of containers maintained as platform as a service. According to them “the global development cycles decreased from weeks to minutes, and the efficiency of application delivery has improved 10-fold’
I hope you are as excited about learning Kubernetes as I am to walk you through it. My aim is to introduce you to all aspects of Kubernetes and also help you to try out some of the core functionalities. We begin my setting up a single node cluster on the laptop using minikube. See you in the next lecture!