Scheduler Testing with KWOK #
This document walks you through the technical outcome of using KWOK for scheduler tests.
KWOK can be used to create fake nodes and pods in a simulated cluster. The cluster can be configured with scheduling policies that meet your scheduler’s requirements. The scenarios below can be used to describe this:
- Scheduling pods with resource requests and limits
- Scheduling a pod to a particular node with node-affinity
- Scheduling pods with taints and tolerations
- Scheduling pods with a limit range
- Scheduling pods using pod priority and preemption
- Scheduling pods using pod topology spread constraints
Other scheduling scenarios can also be simulated using KWOK.