🔥 3-day streak
Certified Kubernetes Administrator (CKA)88 / 125
Question 88 of 125

You maintain a Deployment that should run on nodes labeled disktype=ssd whenever possible, but the Pods must still be scheduled even if no SSD nodes are available. Your current spec uses requiredDuringSchedulingIgnoredDuringExecution with a nodeSelectorTerm matching disktype=ssd, and Pods now stay Pending when all SSD nodes are full. Which change to the Deployment's Pod spec achieves the desired behavior?

Reviewed for accuracy · Report an issueNext question