This is an automated email from the ASF dual-hosted git repository.
bmahler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new e72acde Added FrameworkInfo.offer_filters to multi-scheduler
scalability docs.
e72acde is described below
commit e72acdedd088571ebe08fbadfce308ef81c25c3e
Author: Benjamin Mahler <[email protected]>
AuthorDate: Mon Feb 25 17:23:14 2019 -0500
Added FrameworkInfo.offer_filters to multi-scheduler scalability docs.
Review: https://reviews.apache.org/r/70054
---
docs/app-framework-development-guide.md | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/docs/app-framework-development-guide.md
b/docs/app-framework-development-guide.md
index 8b0e545..3648ab6 100644
--- a/docs/app-framework-development-guide.md
+++ b/docs/app-framework-development-guide.md
@@ -58,6 +58,14 @@ schedulers in the same Mesos cluster:
4. **Do not `REVIVE` frequently**: `REVIVE`ing clears all filters, and
therefore
if `REVIVE` occurs frequently it is similar to always declining with a very
short timeout (violation of guideline (3)).
+5. **Use `FrameworkInfo.offer_filters`**: This allows the scheduler to specify
+ global offer filters (`Decline` filters, on the other hand, are per-agent).
+ Currently supported is `OfferFilters.min_allocatable_resources` which acts
as
+ an override of the cluster level `--min_allocatable_resources` master flag
for
+ each of the scheduler's roles. Keeping the `FrameworkInfo.offer_filters`
+ up-to-date with the minimum desired offer shape for each role will ensure
that
+ the sccheduler gets a better chance to receive offers sized with sufficient
+ resources.
Operationally, the following can be done to ensure that schedulers get the
resources
they need when co-existing with other schedulers: