1. Home
  2. Kubernetes
  3. What is Kubernetes? A Beginner’s Guide

What is Kubernetes? A Beginner’s Guide

This article is for anyone who is a beginner to Kubernetes, or developers who’d like their company to adopt the tech but need to explain the value to other decision-makers. So, all of the jargon is explained and we don’t just skim over the basics!

This post will cover the following, select a topic to jump straight to that section:

Rather view a presentation than read documentation? Visit Bytemark’s SlideShare profile to view this guide as a slideshow.

Continue Learning: Udemy courses are a great resource for information when you’re first trying to get my head around Kubernetes. So if you want some demos etc. for more hands-on learning, then we highly recommend taking a full course too.

Kubernetes: Definition

Kubernetes is an open source software tool for managing containerised workloads. It enables development teams to automate the deployment, scaling and management of applications.

Why was Kubernetes developed?

To understand why Kubernetes is needed, we first need to understand what containerised workloads are and the problems that arise when using them.

In the past, the majority of applications were monolithic. This means that they were built, run and stored in a way that all of the components were interconnected and interdependent.

But, in recent years, containerisation technology has emerged. Using this technology, large monolithic applications can be transitioned into multiple microservices. Each microservice controls one feature of the application and is stored in its own container.

The idea of containerised workloads is inspired by the shipping industry, where the introduction of standardised shipping containers and handling equipment made transportation more efficient. And there are many benefits to building applications in this way too.

For a start, it reduces dependencies within applications. So, an online banking app, for example, would be able to deploy changes to the saving accounts section without having to redeploy the current accounts section as well. Containers are also fast and very lean, you can store thousands of containers on a single server! This is an efficient use of resources and can save on hosting costs.

But, having thousands of individual containers also presents a problem. How do you manage, rollout, rollback, maintain and repair them all? The solution – Kubernetes.

So, in summary, Kubernetes was developed so that people could get the full benefits of containerisation technology, without having to spend all of their time managing the containers.

Did you know: Docker is the most popular containerisation tool, possessing ~95% market share. Learn more about containers and Docker here.

Kubernetes Architecture

There is a lot of jargon associated with Kubernetes and the exact mechanics of how everything works can vary depending on the specifics of the setup being used. So I’m not going to cover that in this guide (though we do have a full Kubernetes Glossary if you’re interested).  For now, we will just introduce the architecture behind how Kubernetes works.

Kubernetes has a master-slave architecture. There are multiple ‘worker nodes’ (slave) where containers are deployed and a ‘master node’ (master) which controls the deployment.

Kubernetes Architecture

You can use a User Interface or Command Line Interface to input information to the master node (via an API). The master node then instructs the worker nodes to carry out actions that will drive the application from its current state towards the desired state, according to the information inputted.

Benefits of Kubernetes

Here are 5 key benefits of Kubernetes for developers and businesses:

  1. Self-healing
    Kubernetes can auto-restore from errors by rolling back to the last working version of the software. This allows development teams to ship updates quickly without the risk of breaking anything. So, new features and services can get to market quicker.
  2. High Availability
    If there is a server failure, containers can be recreated on a working node to avoid downtime. This means your business can keep running as normal whilst the failure is resolved.
  3. Simplifies Maintenance
    If a server needs to be rebooted, containers can be moved to another node whilst maintenance is carried out. This means services don’t have to go offline to be maintained.
  4. Automatic Scaling
    Kubernetes uses information from user requests and CPU usage to increase or decrease the number of nodes running to match demand. So, you are always ready for a sudden spike in website traffic.
  5. Efficient
    Kubernetes automatically spins up any new containers on under-utilized nodes. This can save money and helps you to get the most out of your IT resources.

We’ve collated some real-life examples of the benefits of Kubernetes using case studies from early adopters across four different industries.

Misconceptions about Kubernetes

Kubernetes is a great tool, and there are plenty of benefits to working with it. But it can’t do everything, people sometimes have misconceptions about the functions Kubernetes can perform. It is worth understanding where Kubernetes cannot help you before adopting it.

Kubernetes does not…

  • Provide machine configuration
  • Dictate logging, monitoring or alerting solutions
  • Build your application for you
  • Provide a specific configuration language or system for you, but can store configuration files and variables for containers
  • Provide middleware, data-processing frameworks, databases, caches etc. (Although Kubernetes can run all of these components).

That concludes this introductory guide to what Kubernetes is, how it works and the key benefits! 

Try it for yourself!

If you’re interested in introducing Kubernetes in your business, let us know using the form below. We’ll get in touch to help you build a solution that meets your needs:

You don’t need on-premise resources or to hire Kubernetes experts, Bytemark can provide end-to-end Kubernetes management. Learn more about the services available.

All of the information included in this post is also available in the slides below:

Updated on October 2, 2019

Was this article helpful?

Related Articles

Have you tried Kubernetes?
Kubernetes (K8s) is helping enterprises to ship faster & scale their business. Sounds good? Let us build a K8s solution for your needs.
Register your interest