To run the tests in a single node cluster, create two pods consuming 2/5 of the extended resource instead of one consuming 2/3. The low priority pod will be consuming 2/5 of the extended resource instead so in case there's only a single node, a high priority pod consuming 2/5 of the extended resource can be still scheduled. Thus, making sure only the low priority pod gets preempted once the preemptor pod consuming 2/5 of the extended resource gets scheduled while keeping the high priority pod untouched.
32 KiB
32 KiB