Cloud, Infrastructure & Security

What Is Kubernetes?

Definition

Kubernetes (often written K8s) is an open-source platform that automates the deployment, scaling and management of containerised applications across a cluster of machines. You describe the desired state, such as how many copies of a service should run, and Kubernetes continuously works to keep the system in that state, restarting failed containers and distributing traffic.

Jump to FAQs

Also known as kube, container orchestration, EKS, AKS

What does Kubernetes mean in simple terms?

If containerization puts each application into a standard box, Kubernetes is the automated port that decides which ship each box goes on, replaces boxes that fall overboard and adds more ships when demand rises.

Teams tell Kubernetes what they want running. Kubernetes works out where to run it and keeps it healthy without someone watching every server.

How does Kubernetes work?

Key Kubernetes concepts work together like this:

  1. 1

    Cluster

    A group of machines, called nodes, managed by a control plane.

  2. 2

    Pods

    The smallest unit Kubernetes runs: one or more containers that work together.

  3. 3

    Deployments

    Declarations of how many pod copies should run and how to update them safely.

  4. 4

    Services and ingress

    Stable network addresses and routing so users and other services can reach pods.

  5. 5

    Self-healing and scaling

    Kubernetes replaces failed pods and can scale the number of pods with load.

What are real-world examples of Kubernetes?

SaaS platform

Dozens of services run on a managed Kubernetes cluster, each scaling independently.

Zero-downtime releases

Rolling updates replace old versions gradually, rolling back automatically if health checks fail.

Hybrid deployment

The same application runs on a cloud cluster and an on-premise cluster for data that must stay local.

Why does Kubernetes matter for businesses?

Kubernetes has become a standard platform for running containerised systems at scale and gives portability across clouds.

It is powerful but complex. Many smaller teams are better served by simpler managed container or serverless platforms until they need what Kubernetes offers.

What are the benefits and challenges of Kubernetes?

Key benefits

  • Automated scaling and self-healing
  • Zero-downtime rolling deployments
  • Portable across clouds and on-premise
  • Efficient use of computing resources
  • Large open-source ecosystem

Challenges and limitations

  • Steep learning curve and operational complexity
  • Security configuration requires expertise
  • Can be overkill for small applications
  • Cluster costs can be hidden and grow
  • Upgrades and add-ons need ongoing maintenance

How is Kubernetes different from related terms?

Kubernetes vs Containerization

Containers package applications. Kubernetes orchestrates many containers across many machines.

Frequently asked questions about Kubernetes

What is Kubernetes in simple terms?

Kubernetes is software that automatically runs and manages your containerised applications across many servers, keeping them healthy and scaling them as needed.

What is the difference between Docker and Kubernetes?

Docker is commonly used to build and run individual containers. Kubernetes orchestrates many containers across a cluster of machines.

Why is Kubernetes called K8s?

K8s is shorthand: K, then the eight letters in the middle of the word, then s.

Do I need Kubernetes?

Only if you run many containerised services that need automated scaling, resilience and portability. Smaller systems often run well on simpler managed platforms.

How Stack18 can help

Stack18 designs, secures and operates Kubernetes platforms, and recommends simpler options when they fit better. See DevOps and Kubernetes consulting, Cloud & DevOps and Managed Services & Reliability.