Bitzu

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

Single choice

What is the smallest deployable unit you can create and manage in Kubernetes?

  1. Container
  2. Pod
  3. Node
  4. Deployment
Show answer

Answer: B. Pod

Kubernetes schedules Pods, not bare containers. A Deployment is a higher-level controller built on Pods.

Select all that apply

Which things are shared by containers within one Pod?

  1. One network identity, including a single IP address
  2. Reaching each other over localhost
  3. The ability to mount the same volume
  4. Separate Pod IP addresses per container
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More KCNA topics in this module