Kubernetes Interview Questions
Pods, Deployments, Services, scaling, ConfigMaps/Secrets, probes, scheduling, storage, Ingress, RBAC and cluster architecture.
61 questions
Popular Searches
1. What is Kubernetes and what problem does container orchestration solve?
easyFundamentals 6 mins2. What is a Pod in Kubernetes and why is it the smallest deployable unit?
easyWorkloads 6 mins3. What is the difference between a Deployment, a ReplicaSet, and a Pod?
mediumWorkloads 7 mins4. What is a Kubernetes Service and what are the different service types?
mediumNetworking 7 mins5. How does Kubernetes handle scaling with the Horizontal Pod Autoscaler?
mediumScaling 7 mins6. What is a Namespace in Kubernetes and when should you use one?
easyCluster Organization 6 mins7. What is the difference between a ConfigMap and a Secret in Kubernetes?
easyConfiguration 6 mins8. How do liveness, readiness, and startup probes differ in Kubernetes?
mediumHealth Checks 7 mins9. What are Kubernetes labels and selectors and how are they used?
easyMetadata 6 mins10. What is the role of the kube-scheduler and how does pod scheduling work?
mediumControl Plane 7 mins11. What is the difference between a StatefulSet and a Deployment?
mediumWorkloads 7 mins12. How do Persistent Volumes and Persistent Volume Claims work in Kubernetes?
mediumStorage 7 mins13. What is an Ingress in Kubernetes and how does it differ from a Service?
mediumNetworking 7 mins14. How do resource requests and limits affect pod scheduling and eviction?
hardScheduling 8 mins15. What is a DaemonSet and when would you use one?
mediumWorkloads 7 mins16. What is the difference between rolling updates and recreate deployment strategies?
mediumDeployments 7 mins17. How does Kubernetes networking work and what is the CNI?
hardNetworking 8 mins18. What are taints and tolerations in Kubernetes?
mediumScheduling 7 mins19. What is node affinity and pod affinity/anti-affinity?
mediumScheduling 7 mins20. How does Kubernetes handle secrets securely and what are the limitations?
mediumSecurity 8 mins21. What is a Job and a CronJob in Kubernetes?
easyWorkloads 6 mins22. What is the role of etcd in a Kubernetes cluster?
mediumControl Plane 7 mins23. What is the difference between kubectl apply and kubectl create?
easykubectl 6 mins24. How does the Kubernetes control plane differ from worker nodes?
mediumArchitecture 7 mins25. What is a Helm chart and why is Helm used?
easyPackage Management 6 mins26. How do you roll back a failed deployment in Kubernetes?
mediumDeployments 7 mins27. What is pod disruption budget and why does it matter?
mediumAvailability 7 mins28. What are init containers and how do they differ from sidecar containers?
mediumPods & Containers 7 mins29. How does horizontal scaling differ from vertical scaling in Kubernetes?
mediumScaling 7 mins30. What is RBAC in Kubernetes and how do roles and role bindings work?
mediumSecurity 8 mins31. A container is OOMKilled while another is only slow — how do requests and limits cause each?
hardResource Management 9 mins32. A pod has been Pending for ten minutes — how do you find out why the scheduler will not place it?
hardScheduling 9 mins33. How do you triage a container stuck in CrashLoopBackOff without redeploying blindly?
hardTroubleshooting 9 mins34. How can a badly configured liveness or readiness probe turn a healthy service into an outage?
hardReliability 10 mins35. How do you drain a node safely, and what do you do when a PodDisruptionBudget blocks the eviction?
hardCluster Operations 9 mins36. Traffic spikes but the HorizontalPodAutoscaler reacts late — where does the delay come from?
hardAutoscaling 10 mins37. What goes wrong when you update a StatefulSet, and how do you roll one out safely?
hardStateful Workloads 10 mins38. How do you design least-privilege RBAC and find over-permissive bindings in an existing cluster?
hardSecurity 10 mins39. How do you roll out a default-deny NetworkPolicy without breaking the cluster?
hardNetworking Security 10 mins40. Service name lookups intermittently fail inside pods — how do you debug cluster DNS?
hardNetworking 10 mins41. Requests fail during every rollout — how do you make pod termination graceful and zero-downtime?
hardRollouts & Availability 10 mins42. The API server is returning 429s and controllers are lagging — how do you diagnose and contain the overload?
hardControl Plane Operations 11 mins43. An admission webhook is blocking all writes to the cluster — how did that happen and how do you recover?
hardAdmission Control 11 mins44. Pods are stuck in ImagePullBackOff on some nodes but not others — how do you find the real cause?
mediumContainer Runtime & Images 9 mins45. A PVC is stuck Terminating and a pod cannot mount its volume — how do you unpick storage failures?
hardStorage Operations 11 mins46. How do you plan a Kubernetes minor version upgrade without breaking workloads on removed APIs?
hardCluster Lifecycle 12 mins47. Deployments in a tenant namespace stop creating pods with a quota error — how do quotas and LimitRanges interact?
mediumMulti-tenancy & Governance 10 mins48. A custom controller is hot-looping and its finalizer blocks deletion — how do you write a correct reconciler?
hardOperators & Extensibility 12 mins49. Nodes stay half-empty and the Cluster Autoscaler never removes them — what blocks scale-down?
hardAutoscaling & Capacity 11 mins50. How do you give pods credentials for external services without long-lived secrets in the cluster?
hardCluster Security 11 mins51. How do you design an audit policy that answers 'who changed this object' without drowning in log volume?
hardCluster Security 11 mins52. How do you debug a distroless container with no shell, without rebuilding or restarting the pod?
mediumDebugging & Tooling 10 mins53. A node is under memory pressure — which pods does the kubelet evict first, and why?
hardScheduling & Resources 10 mins54. Should you set CPU limits on Kubernetes pods, or only requests?
hardScheduling & Resources 10 mins55. When would you use topology spread constraints instead of pod anti-affinity?
hardScheduling & Resources 10 mins56. A rolling update is stuck with new pods Running but never Ready — how do you diagnose it, and where do readiness gates fit?
hardRollouts & Availability 10 mins57. A namespace has been Terminating for hours — what is actually blocking it and how do you clear it safely?
hardTroubleshooting 9 mins58. A StatefulSet pod will not restart after its node failed — explain ordering guarantees and volume reattachment
hardStateful Workloads 10 mins59. The cluster feels slow and kubectl times out intermittently — how do you tell whether etcd or the API server is the problem?
hardControl Plane 11 mins60. How does pod priority and preemption work, and how can it destabilise a cluster?
hardScheduling & Resources 10 mins61. A node has gone NotReady — how do you triage it, and what happens to its pods meanwhile?
mediumTroubleshooting 9 mins