Skip to content

Commit b3ee3f4

Browse files
committed
dynamic resource allocation: clarify role of drivers during scheduling
The "Coordinating resource allocation through the scheduler" needs to explain some of the basic design decisions better.
1 parent bcb9046 commit b3ee3f4

File tree

1 file changed

+11
-1
lines changed
  • keps/sig-node/3063-dynamic-resource-allocation

1 file changed

+11
-1
lines changed

keps/sig-node/3063-dynamic-resource-allocation/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,17 @@ resource is already allocated and determines the nodes on which the
960960
Pod may run. The downside is that pod scheduling is less flexible.
961961

962962
For delayed allocation, a node is selected tentatively by the scheduler
963-
and driver(s) try to allocate their resources for that node. If that
963+
in an iterative process where the scheduler suggests some potential nodes
964+
that fit the other resource requirements of a Pod and resource drivers
965+
respond with information about whether they can allocate claims for those
966+
nodes. This exchange of information happens through the `PodScheduling`
967+
object for a Pod. The scheduler has to involve the drivers because it
968+
doesn't know what claim parameters mean and where suitable resources are
969+
currently available.
970+
971+
Once the scheduler is confident that it has enough information to select
972+
a node that will probably work for all claims, it asks the driver(s) to
973+
allocate their resources for that node. If that
964974
succeeds, the Pod can get scheduled. If it fails, the scheduler must
965975
determine whether some other node fits the requirements and if so,
966976
request allocation again. If no node fits because some resources were

0 commit comments

Comments
 (0)