Stage 5, Part 8 of 9, Scheduling Deep Dive
Text
PART 8: INTERVIEW PREPARATION
39. Junior-Level Questions
| Question | Expected Answer |
| What does the scheduler do? | Assigns Pods to nodes |
| What is a taint? | A node marker that repels Pods |
| What is a toleration? | A Pod marker allowing it on tainted nodes |
| What is node affinity? | Advanced node selector with soft/hard rules |
| What is topology spread? | Distributes Pods across failure domains |
40. Mid-Level Questions
| Question | Expected Answer |
| What is a Pending Pod? | Pod scheduled but not yet placed |
| How do you debug a Pending Pod? | kubectl describe → Events |
| What is Pod anti-affinity? | Keep Pods apart |
| What is priority class? | Scheduling priority + preemption |
| What is the default scoring strategy? | LeastAllocated (spread) |
41. Senior-Level Questions
| Question | Expected Answer |
| How do you tune scheduling for HA? | Topology spread + anti-affinity across AZs |
| How do you choose anti-affinity vs topology spread? | Topology spread for HA; anti-affinity for strict |
| What is gang scheduling? | All-or-nothing Pod group scheduling |
| How do you implement bin-packing? | MostAllocated scoring + node affinity |
| What is the Scheduler Framework? | Plugin architecture with 10 extension points |
42. Staff/Principal Questions
| Question | Expected Answer |
| Design a scheduling strategy for a multi-tenant cluster. | Taints + tolerations + quotas + priorities |
| How do you optimize scheduling cost by 40%? | Bin-packing, Spot, Karpenter, right-sizing |
| How do you handle GPU scheduling at scale? | Device plugin, MIG, time-slicing, dedicated node pools |
| How do you migrate from spreading to bin-packing? | Custom scheduler profile, gradual rollout, test |
| How do you ensure data residency via scheduling? | Node labels + affinity + admission policies |
1:1 copy of the class Google Doc, code in code blocks.