-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[feature] constraint distinct #1387
Comments
@armon I have a similar need. I've plugged in a |
What do you think the level of work for this is? Something I need to leave to the core team or something I could look into? |
Hey @jpbetz, make sense. I am curious is this long term ask or something you need in the immediate future? |
We're currently comparing Nomad capabilities with other systems and testing
the various capabilities out with a small cluster on Nomad managed
machines. I can put this aside and prototype other aspects, but it's a
must have before we can consider moving actual service deployables to
Nomad. Our timeline is fairly tight for the whole prototyping effort.
We've got maybe three months total.
What's the level of effort here? Should I dig into the code or is this
something the core team is interested in working on?
…On Mon, Mar 6, 2017 at 3:52 PM Alex Dadgar ***@***.***> wrote:
Hey @jpbetz <https://github.com/jpbetz>, make sense. I am curious is this
long term ask or something you need in the immediate future?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1387 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAf9RnE5KTqp1urPp3jfxr4M6XR-Y49Oks5rjJw8gaJpZM4JFglT>
.
|
@jpbetz Going to sneak it into Nomad 0.5.5! It is a cool feature and would love to help you all out on your POC where possible 👍 |
Thanks @dadgar! For POC agility, we build and deploy Nomad from source. So it doesn't matter to me if this feature is in a point release or not, all I need is to know the commit hash and I'll pull from upstream to grab it. |
@jpbetz Let me know if you run into any hiccups! |
@dadgar Go build fails on master using go 1.7.1 - 1.7.3 with:
Having trouble finding a good go version to build with. What do you recommend? |
Nevermind, was able to build with 1.8. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
I like the
distinct_hosts
constraint, but I would really like if it were more generic. This way it could be distinct racks or distinct aws availability zones. I was thinking that maybe there could be adistinct
constraint that takes a string template and makes sure that the string is unique always. Then you could put in whatever template string you want and it would make sure that it was always distinct.Such as
"${attr.platform.aws.placement.availability-zone}"
The text was updated successfully, but these errors were encountered: