A Beginner’s Guide To Kubernetes

Dr. Ashish Bamania
2 min readJun 22, 2022

Your guide to building software that scales

What is Kubernetes?

According to the official documentation, Kubernetes is an open-source system for automating the deployment, scaling, and management of containerized applications.

Source : Wikimedia

What are Containers?

A container is a package of software along with all its dependencies, created to be run on any environment.

If you are new to containers, check out Docker, a tool that creates container images that include everything (code, runtime, system tools, system libraries and settings) needed to run an application.

These Docker container images become containers at runtime.

Going back,

Kubernetes is essentially an Orchesterisation tool that helps these containers run in sync with each other.

Photo by Arif Riyanto on Unsplash

Kubernetes Components

Cluster & Nodes

When you deploy Kubernetes, it creates a Cluster to run your containerised application.

A cluster consists of many computers (called Nodes) that run this application.

This makes your application fault-tolerant and helps achieve high availability.

Master & Worker Nodes

Amongst the nodes, a Master node is one that controls and manages a set of other nodes (Worker Nodes) in the cluster.

Configuration File

This is a file that contains instructions on how to deploy containers within your Kubernetes cluster.

Deployment

‘Deployment’ reads the configuration file and helps run the containers in pods as needed.

Pod

A Pod represents the containers that are being run in a Node.

Service

‘Service’ helps get network access to the different pods running in the cluster.

Overview of Kubernetes Components

Check out the official Kubernetes documentation for more information:
https://kubernetes.io/docs/home/

For more such informative posts, please support me on Medium by clicking on the ‘clap’ icon (one user can clap up to 50 times).

Photo by Sora Sagano on Unsplash
Dr. Ashish Bamania

NHS Doctor 🩺 | AIIMS, New Delhi 👨‍🎓 | Self-Taught Software Developer 👨‍💻 | Author 📘 | Check out my books here: https://bamaniaashish.gumroad.com/