Kubernetes
An open source container orchestration platform for automating deployment, scaling, and management of containerized applications.
Also known as: K8s
Category: Software Development
Tags: software-engineering, devops, distributed-systems, automation, scalability, infrastructure
Explanation
Kubernetes (K8s) is a container orchestration platform that abstracts infrastructure into a declarative API. You describe the desired state of your application (pods, services, deployments), and Kubernetes continuously works to maintain it. Originally developed at Google based on their internal Borg system, it was donated to the Cloud Native Computing Foundation (CNCF) in 2014 and has become the industry standard for running containers in production.
The platform handles critical operational tasks automatically: service discovery and load balancing, storage orchestration, automated rollouts and rollbacks, self-healing (restarting failed containers, replacing pods), horizontal scaling based on CPU/memory/custom metrics, and secret management. The name comes from Greek for 'helmsman' or 'pilot,' with K8s being shorthand (K + 8 letters + s).
Core concepts include: Pods (smallest deployable unit containing one or more containers), Deployments (manage ReplicaSets and handle rollouts), Services (stable network endpoints for pods), Namespaces (virtual clusters for resource isolation), ConfigMaps (configuration data), Secrets (sensitive data like passwords and tokens), Ingress (external HTTP/HTTPS routing), and PersistentVolumes (storage abstraction).
The architecture consists of a Control Plane (API Server, Scheduler, Controller Manager, etcd key-value store) that manages the cluster, and Worker Nodes (running kubelet, kube-proxy, and container runtime) where application pods actually run. Various distributions exist: managed services (EKS, GKE, AKS), self-hosted options (kubeadm, kops, Rancher), local development tools (minikube, kind, k3d), lightweight variants (k3s, MicroK8s), and enterprise platforms (OpenShift, Tanzu).
Related Concepts
← Back to all concepts