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

Add environment variable `MESOS_ALLOCATION_ROLE` to the task/container.

    XMLWordPrintableJSON

Details

    • Containerization: RI 15 Sp 49
    • 3

    Description

      Set this env var as the role from the task resource. Here is an example:
      https://github.com/apache/mesos/blob/master/src/master/readonly_handler.cpp#L197

      We probably want to set this env from executors, by adding this env to CommandInfo.

      Mesos and docker containerizers should be supported.

      Attachments

        Activity

          People

            qianzhang Qian Zhang
            gilbert Gilbert Song
            Gilbert Song Gilbert Song
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: