Learn

Kubernetes Explained

Pods, nodes, services, and the Kubernetes control plane explained.

What is Kubernetes?

Kubernetes (K8s) is an open-source container orchestration platform. It automates deploying, scaling, and managing containerized applications across clusters of machines.

If Docker answers 'how do I run a container?', Kubernetes answers 'how do I run 1000 containers reliably, across 50 servers, with automatic restarts, load balancing, and rolling updates?'

Core objects

ObjectWhat it is
PodThe smallest deployable unit — one or more containers that share networking and storage
DeploymentManages a set of identical Pods — handles rolling updates and restarts
ServiceA stable network endpoint for a set of Pods — handles load balancing
IngressRoutes external HTTP/HTTPS traffic to Services
ConfigMapStores non-secret configuration data
SecretStores sensitive configuration data (passwords, tokens)
NamespaceVirtual cluster within a cluster — for organizing resources

Architecture

A Kubernetes cluster has two types of nodes: control plane nodes (which manage the cluster) and worker nodes (which run your workloads).

Practice with TLD
The Kubernetes track starts with pod basics and progresses to debugging real cluster issues. Try k8s-fix-pod-crashloop to start.