Skip to main content
InterviewHubPRO
Section Overview
Q45

Question 45 of 50

Part 3: Advanced Internals, Scale & Production Security (Senior / Lead)

90%
Kubernetes (K8s) (50 Qs)•Part 3: Advanced Internals, Scale & Production Security (Senior / Lead)

Pod Disruption Budgets (PDB) and Zero-Downtime Node Draining.

senior LevelMost AskedSecurity & AuthKubernetesApache Kafka

In Simple Words: When upgrading Kubernetes nodes (kubectl drain <node>), Kubernetes evicts all running Pods from the node:

  • Pod Disruption Budget (PDB): Enforces that a minimum number of Pod replicas (e.g. minAvailable: 2 or maxUnavailable: 25%) must remain online and healthy before the eviction API is allowed to terminate a Pod, preventing voluntary outages during cluster upgrades.