Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7258

Provide scheduler calls to subscribe to additional roles and unsubscribe from roles.

    XMLWordPrintableJSON

Details

    • Mesosphere Sprint 73, Mesosphere Sprint 74, Mesosphere Sprint 75, Mesosphere Sprint 76, Mesosphere Sprint 77, Mesosphere Sprint 78, Mesosphere Sprint 79, Mesosphere Sprint 2018-20, Resource Mgmt: RI-13 Sp 44, Resource Mgmt: RI13 Sp 45, Resource Mgmt: RI14 Sp 46, Resource Mgmt: RI14 Sp 47, Resource Mgmt: RI15 Sp 48
    • 13

    Description

      The current support for schedulers to subscribe to additional roles or unsubscribe from some of their roles requires that the scheduler obtain a new subscription with the master which invalidates the event stream.

      A more lightweight mechanism would be to provide calls for the scheduler to subscribe to additional roles or unsubscribe from some roles such that the existing event stream remains open and offers to the new roles arrive on the existing event stream. E.g.

      SUBSCRIBE_TO_ROLE
      UNSUBSCRIBE_FROM_ROLE

      One open question pertains to the terminology here, whether we would want to avoid using "subscribe" in this context. An alternative would be:

      UPDATE_FRAMEWORK_INFO

      Which provides a generic mechanism for a framework to perform framework info updates without obtaining a new event stream.

      In addition, it would be easier to use if it returned 200 on success and an error response if invalid, etc. Rather than returning 202.

      NOTE: Not specific to this issue, but we need to figure out how to allow the framework to not leak reservations, e.g. MESOS-7651.

      Attachments

        Issue Links

          Activity

            People

              asekretenko Andrei Sekretenko
              bmahler Benjamin Mahler
              Benjamin Mahler Benjamin Mahler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: