kubernetes/cmd/kube-scheduler
Adhityaa Chandrasekar ec83143342 scheduler: merge Reserve and Unreserve plugins
Previously, separate interfaces were defined for Reserve and Unreserve
plugins. However, in nearly all cases, a plugin that allocates a
resource using Reserve will likely want to register itself for Unreserve
as well in order to free the allocated resource at the end of a failed
scheduling/binding cycle. Having separate plugins for Reserve and
Unreserve also adds unnecessary config toil. To that end, this patch
aims to merge the two plugins into a single interface called a
ReservePlugin that requires implementing both the Reserve and Unreserve
methods.
2020-06-24 21:10:35 +00:00
..
app scheduler: merge Reserve and Unreserve plugins 2020-06-24 21:10:35 +00:00
BUILD Add missing kube build info metric 2020-04-01 17:04:45 +08:00
OWNERS delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
scheduler.go Add missing kube build info metric 2020-04-01 17:04:45 +08:00