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.62k stars 1.92k forks source link

Publish binaries for Clear Linux #16560

Open EtienneBruines opened 1 year ago

EtienneBruines commented 1 year ago

Proposal

Releasing nomad (and related services, like consul and potentially vault) for Clear Linux.

Use-cases

Using a high-performance Linux distro as a Docker Container Host.

Attempted Solutions

Manually downloading the binary and copying it to /usr/local/bin (which works, but doesn't allow for updates, nor does it include the systemd unit file).

Additional reading

We could use faas-cli as a "minimal example" of bundling a single package, potentially with dependencies.

https://clearlinux.org/software/bundle/faas-cli

https://github.com/clearlinux/clr-bundles/blob/master/bundles/faas-cli

https://github.com/clearlinux/how-to-clear/blob/master/02-concepts.md

jrasell commented 1 year ago

Hi @EtienneBruines and thanks for the suggestion, I'll add this to our backlog.

tgross commented 1 year ago

@EtienneBruines can you explain how a "Clear Linux binary" differs from a regular Linux binary? It's not clear to me that this isn't just another package format or an OCI image. We've got a PR open to publish an OCI image (which we will not support for running as an agent) but building another package format seems unlikely because of the amount of internal bureaucracy we'd need to overcome to get that added.

EtienneBruines commented 1 year ago

@tgross Just another package format like .deb or .rpm.

The binary can be compiled more more aggressively (for later CPUs), but that's just optional.

(For our company use, we decided not using Clear Linux any longer after having tried it out - but perhaps this issue can be used to track interest from others.)