🔥 3-day streak
Certified Kubernetes Administrator (CKA)91 / 125
Question 91 of 125
You run a Deployment with 3 replicas of a stateless web service. During an incident, all 3 pods happened to be scheduled onto the same node, and when that node failed the entire service went down. You must ensure the scheduler spreads the replicas so that no two pods of this Deployment ever run on the same node, and scheduling should FAIL rather than co-locate pods if not enough nodes are available. Which pod spec addition achieves this?
Reviewed for accuracy · Report an issueNext question