Kubernetes looks big from the outside. The docs use a lot of new words at once, and the first YAML file can feel like a wall of fields. It gets simpler once you learn the three objects that do most of the work: Pods, Deployments, and Services. If you understand those three, you can run a real application on Kubernetes. This post starts from zero, explains what each object does, and shows working YAML for each one.
What a cluster is, in plain terms
A Kubernetes cluster is a group of machines that run containers for you. One machine, called the control plane, decides where work should run. The other machines, called nodes, run the work. You describe the state you want, and the control plane keeps moving the cluster toward that state. You do not log in to a node and start a container by hand. You send a description to the API server, and if a container crashes, the control plane starts a new one.…