News for hackers. Stuff that matters.
Re:How we use HashiCorp Nomad by api on Saturday June 06, 2020 @11:54AM (#23440012)
Which features is Nomad missing? Feature count comparisons are meaningless unless the features are tied to actual important use cases. Lots of software is encrusted with rarely used features that just add complexity.
Re:How we use HashiCorp Nomad by q3k on Saturday June 06, 2020 @12:23PM (#23440265)
The free version of Nomad is missing, IIUC:

- no quotas for teams/projects/organizations

- no preemption (ie higher priority job preempts lower priority job)

- no namespacing

So generally it's somewhat useless in organizations where there are multiple different teams that should be able to coexist on a cluster without stepping on eachothers' toes, or even where you want a CI system to access the cluster in a safe manner.

Re:How we use HashiCorp Nomad by schmichael on Saturday June 06, 2020 @12:41PM (#23440401)
Preemption is going OSS! https://github.com/hashicorp/nomad/blob/master/CHANGELOG.md

We fully intend to migrate more features to OSS in the future -- especially as we build out more enterprise features. As you can imagine building a sustainable business is quite the balancing act, and there's constant internal discussion.

(I'm the Nomad Team Lead at HashiCorp)

Re:How we use HashiCorp Nomad by tetha on Saturday June 06, 2020 @05:03PM (#23442199)
This is going to make our AI team very happy because they can just dump experiments into the cluster at low-priority so those'll be done when those are done.

It's also going to make the operators very unhappy because it'll be harder to monitor actual memory utilization (allocated memory vs memory really in use) in order to plan cluster extensions. Are there some tools around or work planned to make this kind of scaling and utilization easier?

Re:How we use HashiCorp Nomad by schmichael on Saturday June 06, 2020 @07:05PM (#23443138)
I was going to say "yes!" because we do have some telemetry/metrics improvements coming up, but then I realized those won't address your use case. It seems like aggregating cluster resource usage by job priority is what we need for that. Our UI might be able to calculate that, but I don't think our metrics include job priority so there's no way for your existing tooling to display it.

Please file an issue or link me to an existing issue of you have time. This seems really compelling!

Re:How we use HashiCorp Nomad by dmwilcox on Sunday June 07, 2020 @06:25AM (#23446263)
Enterprise version has all of those things ;)

For my personal use I don't need them and for a business Enterprise won't break the bank. You'd be surprised how much your management might be interested in having an escalation path if everything goes south and you need a hot fix. I can vouch that Enterprise support is worth it if you're on a small team that can't spend all day on this stuff

Re:How we use HashiCorp Nomad by BurritoAlPastor on Saturday June 06, 2020 @12:37PM (#23440375)
We run everything in Nomad for all our teams, but we don’t use any of the features you mention, and it’s not causing issues. We wrote some metrics for how much memory all the allocations are claiming, and we throw another EC2 instance in the cluster when we’re running out. Works pretty well. Preemption seems like a nice feature, but I imagine getting teams to coordinate their preemption values would be a political nightmare.
Re:How we use HashiCorp Nomad by q3k on Saturday June 06, 2020 @12:41PM (#23440407)
For me the ability to squeeze in some jobs in between the cracks at best effort priority is crucial (ie. any sort of high latency batch processing / experiments). I wouldn't want these extremely low priority jobs to compete with, I don't know, an actual customer facing service.

Also, we run on bare metal, so there really isn't a way to request extra capacity within seconds.

Re:How we use HashiCorp Nomad by chucky_z on Saturday June 06, 2020 @12:37PM (#23440373)
Preemption is coming in the next release in OSS :)
Re:How we use HashiCorp Nomad by syllogism on Saturday June 06, 2020 @01:24PM (#23440756)
A few long-standing feature requests I've noticed a lot:

* No autoscaling

* Can't reserve entire CPU core: https://github.com/hashicorp/nomad/issues/289

* No way to run jobs sequentially: https://github.com/hashicorp/nomad/issues/419

Re:How we use HashiCorp Nomad by jambay on Saturday June 06, 2020 @08:22PM (#23443570)
Autoscaling is in Tech Preview as of March: https://www.hashicorp.com/blog/hashicorp-nomad-autoscaling-t...

Disclaimer: I work at HashiCorp in Product Management.

Re:How we use HashiCorp Nomad by syllogism on Saturday June 06, 2020 @09:08PM (#23443820)
Nice! It's definitely been one of the bigger holes.

I hope you'll also consider sequential tasks in a single jobfile. Without it it's kind of awkward because you have to be passing shell scripts around just to run a setup step before your actual workload.

Re:How we use HashiCorp Nomad by nickethier on Saturday June 06, 2020 @09:52PM (#23444070)
We’ve also started to implement this with a new task dependencies feature in the latest release. Check out: https://www.hashicorp.com/resources/preview-of-nomad-0-11-ta...

https://learn.hashicorp.com/nomad/task-deps/interjob

There’s more work going on there to further improve the feature in upcoming releases.

Disclaimer: I’m an engineer on the Nomad team.

Re:How we use HashiCorp Nomad by SteveNuts on Saturday June 06, 2020 @12:14PM (#23440185)
For us it's not a feature missing, but the mindshare is low, and there's not really any prebuilt examples of how to run and maintain services long term reliably.
Re:How we use HashiCorp Nomad by DavyJone on Saturday June 06, 2020 @12:15PM (#23440191)
Does it have "easy" side-cars/init/post? Last time I checked those were missing for example.
Re:How we use HashiCorp Nomad by adadgar on Saturday June 06, 2020 @12:42PM (#23440415)
Re:How we use HashiCorp Nomad by DavyJone on Monday June 08, 2020 @05:34AM (#23455063)
Ill check that out, I really think K8s is becoming a bit too complex for many customers. Thanks!
Re:How we use HashiCorp Nomad by 4636760295 on Saturday June 06, 2020 @12:10PM (#23440149)
The main missing feature is that it's not kubernetes.
Re:How we use HashiCorp Nomad by aganame on Monday June 08, 2020 @11:08AM (#23457139)
You have an extra word there.