Why Kubernetes ? Part 1

Kamran Ghyan
2 min readNov 26, 2020

In the last article I introduced what is Docker and I said that Docker makes it really easy to start up and run different programs.

Now We’re going to immediately see why Docker and Kubernetes are so nice together.

Let’s just focus a little bit on Kubernetes and see how it solves one of those issues, when we are talking about scaling our application.

OK so first off what is Kubernetes.

Kubernestes: is tool for running number of different containers.

We’re going to give it some configuration files these configuration files are going to tell Kubernetes about the different containers that we want to run in our application.

Kubernetes is then create these containers that are going to run our programs.

it’s handle communication or essentially network requests between all these different containers.

You can think Kubernetes as a tool to run some different programs and make communication between those programs very easy and straightforward.

So let’s take a look at a diagram and better understand what Kubernestes is all about.

Kubernetes, Cluster, Node, Master Node

we create something called a cluster. Wait wait what is cluster?

Cluster: a cluster is a bunch of different virtual machines.

It can have as few as one virtual machine like what you see right in above image or it can have many hundreds or thousands of virtual machines.

All these different virtual machines refer to as nodes in Kubernetes context. They all managed by something called master.

Master: A program to manage all everything in the cluster.

So the big thing that Kubernetes does for us is give us the ability to communicate between these different nodes.

It’s also facilitate to creating services like launching new nodes and scaling the number of nodes are running very easy and straightforward.

Why Docker and Kubernetes are so nice together will explain in next article.

--

--

Kamran Ghyan

Software Engineer, System Architecture, Cloud Architecture, AI enthusiastic