โ Kubernetes Administrator (CKA) Exam Practice learning pathKubernetes Administrator (CKA) Exam Practice ยท Module 3 of 10
Pods, deployments and workloads
Running applications.
๐ Key ideas
- A pod is the smallest deployable unit; it can hold one or more containers sharing network and storage.
- Deployments manage ReplicaSets for stateless apps with rolling updates and rollbacks.
- StatefulSets give stable identities and storage for stateful apps; DaemonSets run one pod per node.
- Jobs run to completion; CronJobs run on a schedule.
- Commands: kubectl scale, kubectl set image, kubectl rollout status/undo.
๐ก Real-life example: Like a restaurant: each table (pod) seats diners (containers); the manager (Deployment) ensures enough tables are always set.
PodSmallest deployable unit
DeploymentManages stateless replicas with rollouts
DaemonSetRuns a pod on every node
CronJobRuns Jobs on a schedule