talira

Kubernetes

Production-Grade Container Orchestration

open sourceApache-2.0self-hostablefree

Kubernetes (K8s) is an open source system for automating the deployment, scaling and management of containerized applications across a cluster of machines. You declare the state you want (Deployments, Services, volumes, jobs) through its API, usually with the kubectl CLI, and a set of independent controllers keeps the cluster at that state: scheduling containers onto nodes by their CPU and memory needs, restarting or replacing failed ones and rolling out new versions gradually. Nodes run containers through a CRI runtime such as containerd, and the API is extended with custom resources, CNI network plugins and CSI storage drivers. Google open sourced it in 2014; it is a graduated project of the Cloud Native Computing Foundation under Apache-2.0, and distributions such as K3s and k0s package it, while Helm and Kustomize manage what runs on it.

Ways to install

Package managers

Problems it solves

  • keep my containers running across a fleet of servers and restart them automatically when one crashes
  • my app has outgrown a single Docker host and I need to run its containers across many machines
  • place containers on whichever server has enough free CPU and memory instead of picking hosts by hand
  • roll out a new version of my web service a few replicas at a time and roll back if it breaks
  • give a group of containers one stable DNS name and spread requests between them
  • route traffic for several domains and URL paths to different backend services in one cluster
  • send 10% of requests to a new release of a service before switching everyone over
  • expose a service to the internet through my cloud provider's load balancer with a public IP
  • keep database passwords and API keys out of my container images and inject them when the app starts
  • change an app's configuration file without rebuilding and redeploying its image
  • add more web workers automatically when CPU climbs and remove them when traffic falls off
  • give a running container more memory without restarting it
  • attach a persistent disk to a database container that follows it when it moves to another server
  • create cloud block storage volumes on demand whenever an app asks for storage
  • use any storage vendor's volumes through one standard driver interface

View all 41 problems

Features

  • Deployments with automated rolling updates and rollbacks
  • Services with cluster DNS names and load balancing, including cloud load balancers
  • Gateway API (GatewayClass, Gateway, HTTPRoute, GRPCRoute) and the frozen Ingress API for HTTP routing
  • self-healing: restarts, replaces and kills failing containers; liveness, readiness and startup probes
  • automatic bin packing of containers onto nodes by CPU and memory requests
  • ConfigMaps and Secrets mounted as files or environment variables, with optional encryption at rest
  • HorizontalPodAutoscaler built in; in-place pod resize stable since v1.35
  • PersistentVolumes, PersistentVolumeClaims, StorageClasses with dynamic provisioning, CSI drivers and volume snapshots
  • StatefulSets, DaemonSets, Jobs and CronJobs
  • namespaces with ResourceQuotas and LimitRanges
View 13 more
  • role-based access control (RBAC) and service accounts
  • authentication with X.509 client certificates, OIDC tokens and multiple JWT issuers via AuthenticationConfiguration
  • NetworkPolicies, Pod Security Admission and audit logging
  • scheduling controls: node affinity, taints and tolerations, topology spread constraints, priority and preemption
  • PodDisruptionBudgets and safe node draining
  • Dynamic Resource Allocation for GPUs and other devices
  • custom resources (CRDs), aggregated APIs and the operator pattern
  • IPv4/IPv6 dual-stack networking
  • Windows worker nodes (Windows Server 2022 and 2025) alongside a Linux control plane
  • kubectl CLI with plugins, and kubeadm for bootstrapping clusters
  • container runtimes through the CRI: containerd, CRI-O, Docker Engine and Mirantis Container Runtime
  • official client libraries for C, C#, Go, Haskell, Java, JavaScript, Perl, Python and Ruby
  • about one year of patch support for each of the three most recent minor releases

Limitations

  • Doesn't build container images or deploy from source code: CI/CD is left to other tools2
  • Doesn't include databases, message queues, caches or cluster storage like Ceph as built-in services: they run on it as separate workloads2
  • Doesn't come with an ingress controller: you choose one and set it up before Ingress resources route any traffic3
  • Doesn't run the control plane on Windows: Windows Server machines can only join as worker nodes4
  • Doesn't encrypt Secrets at rest by default: they're stored unencrypted in etcd until you configure encryption56
  • Doesn't manage user accounts or provide a login page: people are authenticated by certificates or an outside identity provider7

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Takes pluginsplan not known
Has official SDKsplan not known
Has single sign-onplan not known

Alternatives

The same job

These do what Kubernetes does.

  1. Nomad Manage containers, binaries, and VMs efficiently in the cloud, on-premises, and across edge environments.
  2. OKD The self-managing, auto-upgrading, Kubernetes distribution for everyone

Compare Kubernetes with the top 3