Chad Heuschober created MESOS-3372:
--------------------------------------
Summary: Allow mesos agent attributes to be tokenized in taskInfo
Key: MESOS-3372
URL: https://issues.apache.org/jira/browse/MESOS-3372
Project: Mesos
Issue Type: Improvement
Reporter: Chad Heuschober
Some applications workloads would benefit from having access to the statically
defined slave attributes. By processing `taskInfo` on the slave such tokens, as
defined in `taskInfo` could be replaced with the appropriate values to achieve
such objectives as rack locality.
Example:
Before token replacement:
{code:json}
{
"discovery": {
"environment": "[email protected]_ID@"
}
}
{code}
After token replacement:
{code:json}
{
"discovery": {
"environment": "RACK_DC131R57"
}
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)