A DevOps team wants to ensure that a critical web application pod runs on a dedicated set of nodes with SSDs. Which Kubernetes feature should they use to achieve this?
Trap 1: Pod priority and preemption
This determines scheduling order and preemption, not node selection.
Trap 2: Taints and tolerations
Taints and tolerations prevent pods from scheduling onto a node unless they tolerate the taint; they do not actively attract pods.
Trap 3: Resource quotas
Resource quotas limit total resource consumption in a namespace, not node selection.
- A
Pod priority and preemption
Why wrong: This determines scheduling order and preemption, not node selection.
- B
Taints and tolerations
Why wrong: Taints and tolerations prevent pods from scheduling onto a node unless they tolerate the taint; they do not actively attract pods.
- C
Node affinity
Node affinity allows a pod to express preferences or requirements for node selection based on labels.
- D
Resource quotas
Why wrong: Resource quotas limit total resource consumption in a namespace, not node selection.