Lesson 4: Your first Pod
So far we have talked about the big idea of Kubernetes and the shape of a cluster. In this lesson we finally touch the thing itself: the Pod. A Pod is the smallest thing Kubernetes can run — a thin wrapper around one container (sometimes more) that share a network and storage. Think of a Pod like a
A Pod is one lunchbox: inside is the main dish (your app) and its sides, packed and ready to run anywhere.
- Pod
- The smallest unit Kubernetes runs: a wrapper around one container (sometimes more) that share a network and storage, scheduled together onto the same node.
- Manifest
- A text file in YAML format that describes a desired object to Kubernetes. It has four parts: apiVersion, kind, metadata, and spec.
- kubectl apply
- The command that submits a manifest to the cluster and asks Kubernetes to make the described state real, creating the object if it does not exist yet.