Kubernetes 101 - Introduction

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.
Search for a command to run...

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.
No comments yet. Be the first to comment.
Before diving into the main setup and nitty-gritty stuff, let's take some time to explore the components that makeup Kubernetes. This will help us better understand what we are talking about and how it links together. The main thing to note (at least...
Most of you know me for my consistency, a golden arrow in my blog series. I've written 1000 articles in 1008 days! Almost an article a day, and my honeymoon was the only holiday I ever took. I'm super proud of this achievement; it has been a fantasti...

It's not the first time I'll be talking about community. I think it's an essential aspect of any successful tool. This shows in my previous explorations of Astro, Medusa, and now Vendure as well. All these products thrive in a super open, welcoming, ...

The cool part about Vendure is how easy it is to set up and how abstract each layer is. Basically, we get the following elements: External database Server Worker Admin UI Frontend While this is amazing, it also brings a bit of complexity when it co...

The previous article looked at customizing Vendure on a data and process level. In this article, we'll look at customizing emails, as they are often a big part of a webshop system. We'll be looking at two different layers of customization for customi...

Even though Vendure is a pretty significant project out of the box, in some cases, we might want to go in and modify some elements to work to our specific use case. In this article, I'll take a high-level look at some elements we can customize within...

Although I'm not a DevOps guy, I wanted to learn more about this engineering. It's an area I always semi-understood but never took the time to explore beyond that. Kubernetes was available to me as an engineer, and it worked without knowing why half the time.
So I decided it was time to explore it more in detail. And what better way to do so than to write some articles about it?
In an upcoming couple of articles, we'll be deep diving into Kubernetes, what it is, what each component is, and even how we can set it up.
This article, in particular, is a broader high-level overview of what it is.
As I'm sure, many of you, like me, have only a vague idea of it.
Note: I'm still no professional, so if you make any mistakes you spot, please feel free to contact me or change it directly on this page (via GitHub).
The description given by Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services. It facilitates both declarative configuration and automation.
So, it's a perfect way to manage containerized deployment as a uniform standard.
You might also hear the name K8S, which is the same as Kubernetes. (It comes from the eight letters between the K and the S).
Google originally developed the system, and they open-sourced it back in 2014 you can read a good background story here.
First, we must keep in mind that we are talking about containerized deployments.
You might be familiar with traditional deployment. This is when we get a physical server and deploy the code on that server we own. The problem with this was scalability and maintainability. As you can imagine, it was tough to maintain it when more resources were needed, or a machine failed over time.
The follow-up to this was virtual deployments. It allows one to run multiple virtual machines on one physical server's CPU. This meant we could more easily scale them and move them to another physical server.
As for containerized deployments, it's very close to virtual, but with one big difference. They share the OS between the applications. The big benefit is that they become decoupled from the infrastructure and can run across multiple clouds and OS distributions.
You want to ensure your application is always up and running in production environments. This means one container might go down at a given stage. You want to ensure there's always a backup container up and running, so the application has no downtime.
But can you imagine having to set this up yourself and manage each system yourself? This will become a nightmare.
Thus, Kubernetes can help you orchestrate this more easily. It provides a framework to run systems and takes care of scaling and failovers. It also comes with deployment patterns and so on.
So highlights of what Kubernetes gives us:
And that's it, atleast on a super high level. If you liked this article, subscribe to the newsletter, as we will dive into more Kubernetes details soon.
Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on Facebook or Twitter