KCNA ยท Kubernetes core concepts
Pods
Pod as smallest deployable unit, multi-container pods, sidecars and init containers, pod lifecycle phases.
Key points
- A Pod is the smallest deployable unit: one or more containers that share a network identity (one IP, localhost) and can share volumes, always scheduled together on one node.
- Init containers run one by one to completion before app containers start; sidecar containers run alongside the main one.
- Pod phases are Pending, Running, Succeeded, Failed (and Unknown).
Source: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/
Practice questions
What is the smallest deployable unit you can create and manage in Kubernetes?
- Container
- Pod
- Node
- Deployment
Show answer
Answer: B. Pod
Kubernetes schedules Pods, not bare containers. A Deployment is a higher-level controller built on Pods.
Which things are shared by containers within one Pod?
- One network identity, including a single IP address
- Reaching each other over localhost
- The ability to mount the same volume
- Separate Pod IP addresses per container
- Possible placement on different nodes
Show answer
Answer: A. One network identity, including a single IP address, B. Reaching each other over localhost, C. The ability to mount the same volume
A Pod's containers share network and can share volumes, and a Pod is never split across nodes.
A Pod in the Running phase means every one of its containers is healthy and ready.
Show answer
Answer: False
Running only means the Pod is bound to a node, all containers were created and at least one is running or starting. Readiness is tracked separately.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
