How to make your first local cluster with Kubernetes

Jose Castelli
3 min readNov 29, 2018

Nowadays we have some alternatives to deliver developed versions to production without downtime, one of those alternatives is Kubernetes.

Some time ago, I came up with the idea of writing a short and simple document to explain how to set up and understand the basic concept of Kubernetes in an easy way. Basically, we will build a basic local Kubernetes cluster and deploy a nginx docker image there. At the end of this article, you will be able to understand the basic Kubernetes mechanism and therefore to easily understand how to make a Kubernetes cluster on a cloud service.

Kubernetes has also an excellent documentation with interactive examples which you can check here

Additionally, you could check another deploy alternative with ECS on this article

Introduction

How does it work? With Kubernetes you can communicate directly to a cluster to make a deployment, instead of deploying manually on each individual server.

A Kubernetes cluster consists of two types of resources:

  • The Master coordinates the cluster
  • Nodes are the workers that run applications

The Master is responsible for managing the cluster

--

--