Discusses points on What is Kubernetes, What is the need for Kubernetes, How the industry is using Kubernetes in its environment?
What is Kubernetes?
Kubernetes 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.
Features of Kubernetes
- Automated rollouts and rollbacks
- Service discovery and load balancing
- Storage orchestration
- Automated rollouts and rollbacks
- Automatic bin packing
- Horizontal scaling
- Batch execution
- Secret and configuration management
Evolution and need for Kubernetes?
Before we used to run our applications on top of bare metal, But the problem with using this is we can't run multiple applications, the resources needed are high. Then came the concept of Virtualization, where we map physical resources to different components of OS. But installing the OS and booting this takes a very huge time. For testing in general companies use different versions of OS, after testing them they delete them.
This lead to the concept of Contenarization. With a container, we can launch, boot OS within seconds. On the same host OS, we can launch multiple containers. Each container runs in an isolated environment.
Why you need Kubernetes and what it can do?
Containers are a good way to bundle and run your applications. 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. Wouldn’t it be easier if this behavior was handled by a system?
That’s how Kubernetes comes to the rescue! Kubernetes provides you with a framework to run distributed systems resiliently. It 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.
The master node is the system that maintains a record of all Kubernetes objects. It continuously manages object states, responding to changes in the cluster; it also works to make the actual state of system objects match the desired state. As the above illustration shows, the control plane is made up of three major components: Kube-apiserver, Kube-controller-manager, and Kube-scheduler. These can all run on a single master node or can be replicated across multiple master nodes for high availability.
Nodes are machines that run containers and are managed by the master nodes. The Kubelet is the primary and most important controller in Kubernetes. It’s responsible for driving the container execution layer, typically Docker.
Case study — Amadeus
In the past few years, Amadeus, which provides IT solutions to the travel industry around the world, found itself in need of a new platform for the 5,000 services supported by its service-oriented architecture. The 30-year-old company operates its own data center in Germany, and there were growing demands internally and externally for solutions that needed to be geographically dispersed. And more generally, “we had objectives of being even more highly available,” says Eric Mountain, Senior Expert, Distributed Systems at Amadeus. Among the company’s goals: to increase automation in managing its infrastructure, optimize the distribution of workloads, use data center resources more efficiently, and adopt new technologies more easily.
One of the first projects the team deployed in Kubernetes was the Amadeus Airline Cloud Availability solution, which helps manage ever-increasing flight-search volume. “It’s now handling in production several thousand transactions per second, and it’s deployed in multiple data centers throughout the world,” says Mountain. “It’s not a migration of an existing workload; it’s a whole new workload that we couldn’t have done otherwise. [This platform] gives us access to market opportunities that we didn’t have before.”
To know more about how Amadeus uses OpenShift you can refer to my article
Please free to connect me on LinkedIn.