KCNA · Question #111
Kubernetes___ protect you against voluntary interruptions (such as deleting Pods, draining nodes) to run applications in a highly available manner.
The correct answer is B. Pod Disruption Budgets. Pod Disruption Budgets (PDBs) are Kubernetes resources that ensure a minimum number or percentage of pods for an application remain available during voluntary disruptions.
Question
Kubernetes___ protect you against voluntary interruptions (such as deleting Pods, draining nodes) to run applications in a highly available manner.
Options
- APod Topology Spread Constraints
- BPod Disruption Budgets
- CTaints and Tolerances
- DResource Limits and Requests
How the community answered
(17 responses)- B88% (15)
- C6% (1)
- D6% (1)
Why each option
Pod Disruption Budgets (PDBs) are Kubernetes resources that ensure a minimum number or percentage of pods for an application remain available during voluntary disruptions.
Pod Topology Spread Constraints are used to distribute pods evenly across fault domains for high availability during failures, not primarily to protect against voluntary disruptions.
Pod Disruption Budgets (PDBs) specify the minimum number or percentage of replicas that must be available for an application during voluntary disruptions, such as node drains for maintenance or intentional pod deletions. This ensures high availability by preventing too many pods from being evicted simultaneously, thereby protecting workloads from service degradation.
Taints and Tolerances are used to prevent pods from being scheduled on unsuitable nodes or to allow specific pods to schedule on tainted nodes, not to control how many pods are disrupted.
Resource Limits and Requests define the CPU and memory resources for pods, which impacts scheduling and stability, but not directly protection against voluntary disruptions.
Concept tested: Kubernetes Pod Disruption Budgets (PDBs)
Source: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
Topics
Community Discussion
No community discussion yet for this question.