hashicorp / nomad

Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
https://www.nomadproject.io/
Other
14.85k stars 1.95k forks source link

Adopt raft-autopilot library #9570

Closed notnoop closed 2 years ago

notnoop commented 3 years ago

Nomad currently directly imports Consul's private autopilot package (github.com/hashicorp/consul/agent/consul/autopilot). Last month, Consul extracted autopilot to be its own module to ease adoption in other products: https://github.com/hashicorp/raft-autopilot

Let's move off our direct dependency on the internal repo in preference to the new module.

tgross commented 2 years ago

Note to implementor: probably worth doing https://github.com/hashicorp/nomad/issues/13219 at the same time.

shoenig commented 2 years ago

Took a brief look into making the switch; looks like it's going to be a bit more complicated than just renaming imports. In addition to raft-autopilot there is also raft-autopilot-enterprise, and the features referenced by Nomad OSS in the old Consul autopilot library have been split up between the two.

Still very much want to make this happen - without it Nomad is forced to import consul v1.7 :disappointed:

github-actions[bot] commented 1 year ago

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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.