tezvyn:

Kubernetes Deployment versus Pod

Source: interviewbeginner

WHAT IT TESTS: Kubernetes controllers and self-healing. OUTLINE: a Pod is the smallest disposable unit, a Deployment maintains a desired replica count, self-heals, and rolls out updates. RED FLAG: bare Pods expected to be recreated after a crash.

WHAT IT TESTS: declarative controllers versus raw workloads. ANSWER OUTLINE: a Pod is the smallest deployable unit wrapping one or more containers, and it is ephemeral; if it dies nothing recreates it. A Deployment is a controller that manages a ReplicaSet to maintain a declared number of identical Pods; it reschedules failed Pods, scales up or down, and performs rolling updates and rollbacks. Use a Deployment so the cluster self-heals and updates safely. RED FLAG: running bare Pods and expecting automatic recovery or rolling updates.

Read the original → interview

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Kubernetes Deployment versus Pod · Tezvyn