-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for constraints in chronos #256
Comments
It's feasible, but not currently on any sort of roadmap. PRs welcome. |
Adding constraints would be an important feature for Chronos. Patches from the community would be excellent if we aren't able to add this in our immediate roadmap. |
Having marathon-like constrains feature would be super cool - https://mesosphere.github.io/marathon/docs/constraints.html |
+1 |
+1 ... having the ability to specify parts of your cluster to run jobs on would great... |
+1 |
2 similar comments
+1 |
+1 |
+1 |
Hey gents, instead of a pointless +1, just click the Subscribe button on the top right. More and more +1s are not very useful and just spam the developers unnecessarily. |
@SEJeff, the +1s can be helpful for prioritisation. Ideally we'd have a less spammy system or the ability to vote built into GH issues, of course. |
That is what subscribe is for :) I comaintain a few largish open source projects (> 500 unique contributors each), salt and graphite. It works pretty well. |
@brndnmtthws How hard would this be to accomplish, do you have any idea. It is most certainly an important feature. |
This PR adds support for `constraints` as described in mesos#256. The format to define constraints of a job is the same as in Marathon. Note that currently only the `CLUSTER` constraint has been implemented.
This PR adds support for `constraints` as described in mesos#256. The format to define constraints of a job is the same as in Marathon. Note that currently only the `CLUSTER` constraint has been implemented.
This PR adds support for `constraints` as described in mesos#256. The format to define constraints of a job is the same as in Marathon. Note that currently only the `CLUSTER` constraint has been implemented.
This PR adds support for `constraints` as described in mesos#256. The format to define constraints of a job is the same as in Marathon. Note that currently only the `CLUSTER` constraint has been implemented.
This works pretty well now for us in latest version. Thanks. Curious why this issue is still open now? |
Isn't it still restricted to just the EQUALS constraint at this point? I |
Oh yes, agreed.EQUALS was serving our purpose, didn't realize the full story. Thanks. |
Is there a way to set constraints using the gui? |
@goodwillcoding - not yet but we're working on revamping the GUI! |
is there any support for running a job on every slave in a cluster? |
Not yet.
|
is something like below supposed to work?:
|
Yes. |
thx @solarkennedy, i saw that, but it wasn't clear to me if looks like marathon is pretty good about setting up |
That is true, the docs do assume that the attribute used by the constraint is declared. As far as I know hostname is not a magic attribute that you get for free. Can you make a PR to clarify that and cross-link to the mesos docs on how to add attributes? If not I could do it. |
@solarkennedy i can take a whack at clarifying the docs. more importantly tho, i think it would be great if |
I'm not sure. I was not aware that that was a "free" constraint that you could use from marathon, even if you didn't set that as a mesos attribute. (I assumed the constraint language only operated on mesos attributes) |
check the last sentence of the first paragraph at this link: https://mesosphere.github.io/marathon/docs/constraints.html
i've constrained to |
Ah! Today I learned. @tony-kerz for this specific feature I recommend making a separate issue/pr. If you ask me this main issue should be closed, as there is some constraint functionality. Any new feature requests or doc updates and be new things. |
Please support the hostname constraint in the future because I guess many people are using Marathon along with Chronos on top of Mesos. And Marathon already supported hostname constraint |
Is there any news on adding the constraints field to the UI? |
@alex-hoang-piksel you may want to check out Airflow (https://airflow.incubator.apache.org/). They provided many more features with a rich UI. And yeah, the repository is more active than Chronos. |
Is it possible to add support to chronos for constraints, such as those that marathon already supports (https://mesosphere.github.io/marathon/docs/constraints.html)?
For example, it would be very useful to be able to schedule jobs to be run in a particular data center.
Also, is there an existing workaround for this?
The text was updated successfully, but these errors were encountered: