Kubernetes Interview Questions
128 questions
The most extensive topic on this site: RBAC and security context, storage (PV/PVC/StorageClass), workloads and controllers (Deployments, StatefulSets, DaemonSets, Jobs, CronJobs), autoscaling (HPA/VPA), scheduling and affinity, networking, cluster architecture, CRDs and operators, admission control, and cluster security hardening. Every question is a realistic production scenario — a pod stuck Pending, a webhook silently breaking scheduling, a StatefulSet rollout behaving unexpectedly — not a bare definition.
What's the difference between ReadWriteOnce, ReadWriteMany, and ReadWriteOncePod, and what production symptom does picking the wrong one cause?
BeginnerKubernetes5 min
How would you back up and restore persistent volume data for a stateful app, given kubectl alone doesn't capture volume contents?
IntermediateKubernetes7 min
A CSI driver upgrade causes new attach operations to fail while already-mounted volumes keep working — how do you investigate, and how would you roll this out more safely next time?
ExpertKubernetes8 min
How would you safely expand a PVC for a running StatefulSet without downtime, and what does the StorageClass need to support?
AdvancedKubernetes7 min
A pod is stuck Pending with an event about its PVC failing to bind — how do you diagnose why?
IntermediateKubernetes7 min
Why might mounting the same ReadWriteOnce PVC work for two pods on some clusters but fail on others?
AdvancedKubernetes6 min
A team deletes a PVC expecting the data gone, but it's later recovered from the underlying disk — why, and how should reclaim policy be chosen deliberately?
IntermediateKubernetes6 min
A StatefulSet pod is rescheduled to a new node but its volume won't attach — what's happening, and how do you fix it?
AdvancedKubernetes8 min
How would you design a StorageClass for a high-IOPS database workload versus a cheap-capacity logging workload?
IntermediateKubernetes6 min
A production workload needs persistent storage, and its pods may be rescheduled to different nodes — how do you design storage so data survives that?
BeginnerKubernetes6 min
What does volumeBindingMode: WaitForFirstConsumer actually solve, and what breaks in a multi-zone cluster if you don't set it?
AdvancedKubernetes6 min