Kubernetes
Hard
Concepts
What is a Kubernetes PodDisruptionBudget used for?
Select your answer:
Show answer and explanation
Answer: To limit the number of pods that can be disrupted during voluntary disruptions
Explanation
A PodDisruptionBudget (PDB) limits the number of pods that can be down simultaneously during voluntary disruptions like node drains or pod evictions. This helps ensure application availability during cluster maintenance or scaling operations.
More hard Kubernetes questions
- What is the purpose of a Kubernetes ValidatingWebhookConfiguration?
- What is the purpose of a Kubernetes PriorityClass?
- What is the purpose of a Kubernetes MutatingWebhookConfiguration?
- Every container in a pod sets CPU and memory limits but no requests. What QoS class does the pod get?
- A container keeps trying to use more CPU than its CPU limit. What happens?
- A pod was scheduled using a requiredDuringSchedulingIgnoredDuringExecution node affinity rule. Later someone removes the matching label from the node. What happens to the pod?