chronos icon indicating copy to clipboard operation
chronos copied to clipboard

Support default_accepted_resource_roles like Marathon does

Open bobrik opened this issue 11 years ago • 4 comments

We tend to separate special workloads with specific roles and use * for common stuff.

Currently if you run Chronos with --mesos_role, you can schedule on * slaves. This is not what what we want, we want to only schedule on slaves with this specific role.

Mimicking Marathon would be nice here.

bobrik avatar Nov 17 '15 10:11 bobrik

Great suggestion, thanks!

philipnrmn avatar Nov 26 '15 13:11 philipnrmn

I'm kind of suprised this hasn't been implemented in 3.0.0 - what chance do we have of this actually being implemented? I'm not sure I understand why there is even support for specifying mesos_role if this isn't the default behaviour?

damomurf avatar Dec 21 '16 05:12 damomurf

@philipnrmn - Any chance of this suggestion actually being implemented? Is the Chronos project actually active anymore?

damomurf avatar Jun 30 '17 05:06 damomurf

Hi @damomurf

I'm delighted to tell you that thanks to the sterling work of @gkleiman, Chronos v2.5.0 was released just the other day.

Although Chronos still doesn't accept a default_accepted_resource_role flag, v2.5.0 did include an update which makes hostnames available as task constraints. I hope that's some help.

philipnrmn avatar Jun 30 '17 18:06 philipnrmn