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

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

    XMLWordPrintableJSON

    Details

    • Target Version/s:
    • Sprint:
      Containerization: RI 15 Sp 49
    • Story Points:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: