Glossary
Docs: Kubernetes glossary · Namespaces · Objects
One line per term. Follow the link for the full explanation.
Connecting
| Term | Definition | More |
|---|---|---|
| Cluster | A control plane plus the nodes it manages. One API endpoint. | Architecture |
| kubeconfig | The YAML file on your laptop that tells kubectl which clusters exist and how to log in. | kubeconfig in 5 lines |
| Context | A named triple in kubeconfig: cluster + user + default namespace. | Context vs Namespace |
| Current context | The context kubectl uses when you don't pass --context. | Standard lab setup |
Organization
| Term | Definition | More |
|---|---|---|
| Imperative vs declarative | Imperative commands (run, create, scale) change the cluster directly. Declarative apply -f makes it match a file. | Generate, edit, apply |
| Namespace | A named partition inside a cluster for names, access and quotas. | What a namespace isolates |
| Namespaced vs cluster-scoped | Namespaced kinds (Pod, Service) live in a namespace. Cluster-scoped kinds (Node, PV, ClusterRole) don't. List them with kubectl api-resources --namespaced=true or =false. | Architecture |
Machinery
| Term | Definition | More |
|---|---|---|
| Control plane | The components that decide: API server, etcd, scheduler, controller manager. | Components |
| API server | The front door. Validates and stores every read and write. The only client of etcd. | Components |
| etcd | The key-value store holding every object's spec and status. | Components |
| Scheduler | Picks a node for each Pod that has none. | Components |
| Controller manager | One process running the built-in controllers (ReplicaSet, Deployment, Job…). | Components |
| Node | A machine (VM, server, or a Docker container in kind) that runs Pods. | Components |
| kubelet | The agent on every node. Starts the Pods bound to it and reports their status. | Components |
| Container runtime | Pulls images and runs containers for the kubelet (containerd, CRI-O). | Components |
| Controller | A loop that watches objects and acts to make actual state match desired state. | Controllers |
Describing state
| Term | Definition | More |
|---|---|---|
| Resource / kind | A type the API serves (kind: Deployment). "Resource" is its plural API name (deployments). | API groups |
| Object | One stored instance of a kind, such as Deployment web in lab1-2. | Four top-level fields |
| Manifest | A YAML file describing one or more objects, applied with kubectl apply -f. | Where a change lives |
| spec vs status | spec is what you want, written by you. status is what exists, written by controllers. | Where a change lives |
| Label | A key-value pair on an object, used for selection (app: web). | Where labels link |
| Selector | A label query that picks objects. The only way a Service or ReplicaSet finds its Pods. | Where labels link |
| Annotation | A key-value pair for tools and humans. Never used for selection. | Annotations |
Workloads & networking
How these fit together: the object map.
| Term | Definition | More |
|---|---|---|
| Pod | One or more containers sharing a network and volumes. The smallest thing you run. | Pods |
| ReplicaSet | Keeps N copies of one Pod template running. Owned by a Deployment. | Deployments |
| Deployment | Manages ReplicaSets to roll out new Pod templates and roll back. | Deployments |
| Service | A stable name and IP in front of the Pods its selector matches. | Service types |
| EndpointSlice | The current list of Ready Pod IPs behind a Service. Empty means no traffic. | Life of an apply |
Next in path → Learning Path