A beginner-friendly introduction to Kubernetes

Himeshika Abayaratne on 2023-05-20

The official Kubernetes documentation describes Kubernetes as “an open-source system for automating deployment, scaling, and management of containerized applications.”

What Kubernetes exactly is?

It is an open-source containerization orchestration platform, developed as a project by Google and currently maintained by the Cloud Native Computing Foundation. It is easily portable across clouds and on-premises. With its growing ecosystem of projects and products by both member and non-member partners, Kubernetes has been recognized as the “go to” container orchestration solution.

So what Kubernetes is not?

Concepts of Kubernetes

What’s Kubernetes capable of?

Ecosystem of Kubernetes

Kubernetes ecosystem is a large, rapidly growing ecosystem where its services, support, and tools are widely available. It provides additional Kubernetes services like; Building container images, Storing images in a container registry, Application logging and monitoring, and CI/CD capabilities.

Ecosystem of Kubernetes

As you can see in the diagram, The Kubernetes ecosystem is a huge collection of products, services and providers. It consists of public cloud providers, Open source framework providers, Management providers, Tool providers, Monitoring & logging providers, Security providers and load balancing providers.

Kubernetes Architecture

Source — https://cloudwithease.com/what-is-kubernetes/

A deployment of Kubernetes is called a Kubernetes cluster. It consists of nodes that run containerized applications. Each cluster has one master node which is the Kubernetes Control Plane and one or more worker nodes.

Components of Control Plane

Components of Worker Node

Objects of Kubernetes

Kubernetes objects are persistent entities.

Kubernetes objects consist of two main fields — Object spec and Status. The Object spec is provided by the user which dictates an object’s desired state. Status is provided by Kubernetes. This describes the current state of the object.

Kubernetes works towards matching the current state to the desired state. To work with these objects, use the Kubernetes API directly with the client libraries, and the kubectl command-line interface, or both.

Kubernetes objects are as follows:

Source — https://ostechnix.com/wp-content/uploads/2022/02/Kubernetes-Cluster.png
Source — https://stacksimplify.com/course-images/azure-kubernetes-service-namespaces-2.png
Source — https://miro.medium.com/v2/resize:fit:1100/format:webp/1*J7vyXmySTT25wuflaKkLvw.png
Source — https://opensource.com/sites/default/files/uploads/pod-chain_0.png

Benefits of Kubernetes

Drawbacks of Kubernetes

Kubernetes itself is a very vast topic and here I explained only the basics of Kubernetes. There are many tutorials all over the internet to learn and use Kubernetes and below are some of them.

Tutorials This section of the Kubernetes documentation contains tutorials. A tutorial shows how to accomplish a goal that is…kubernetes.io

Kubernetes Tutorial Kubernetes Tutorial - Kubernetes is a container management technology developed in Google lab to manage containerized…www.tutorialspoint.com

Kubernetes Tutorials For Beginners [43 Comprehensive Guides] In this blog, I have covered a list of kubernetes tutorials that can help beginners to learn Kubernetes with practical…devopscube.com

Get Started with Kubernetes Ultimate Hands-on Labs and Tutorials Get Started with Kubernetescollabnix.github.io

Thank you for reading my article. Feel free to comment your ideas, suggestions and don’t forget to follow!