
- How do you run containers reliably across many machines?
- How do you connect multiple containers (databases, message brokers, backend services)?
- How do you scale up and down automatically based on traffic?
- How do you balance user traffic and recover from host failures?
- High availability: run multiple instances across nodes so hardware failures do not cause downtime.
- Load balancing: distribute traffic across container instances.
- Automatic scaling: add or remove instances based on load.
- Cluster autoscaling: adjust the number of nodes when capacity is needed or can be reduced.
- Declarative configuration: describe desired state in YAML/JSON manifests and let the system converge to it.


- Node: A node is a physical or virtual machine where Kubernetes runs. Nodes are worker machines that host containerized workloads. (Older docs may call these “minions”.)
- Cluster: A cluster is a group of nodes managed as a single unit. Running workloads across nodes improves resilience and allows load sharing.
- Control plane (Master): The control plane is the set of components that manage the cluster — it stores cluster state, schedules workloads onto nodes, monitors health, and reconciles actual state to the desired state.
Example usage (quick copy-paste):
kubectl has evolved over time. The behavior of
kubectl run changed across versions (it used to create Deployments by default, and later created Pods by default). For declarative and production-ready workflows, prefer kubectl create deployment or kubectl apply -f <manifest.yaml> with a manifest file.- Setting up a local cluster (minikube, kind) or a managed cluster (GKE, EKS, AKS).
- Writing declarative manifests for Deployments, Services, ConfigMaps, and Secrets.
- Observability and logging (kubectl logs, metrics, Prometheus).
- Real-world app deployments: rolling updates, health checks, and autoscaling.
- Kubernetes official docs: https://kubernetes.io/docs/
- kubectl reference: https://kubernetes.io/docs/reference/kubectl/
- Crash Course: Docker For Absolute Beginners: https://learn.kodekloud.com/user/courses/crash-course-docker-for-absolute-beginner