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.
$ nomad volume create ./demo/hostvolume/host.volume.hcl
==> Created host volume test with ID 5d680e11-914b-baba-6567-debf2a763ef8
⠙ Monitoring volume "5d680e11" in progress...
2024-11-21T12:15:53-05:00
ID = 5d680e11-914b-baba-6567-debf2a763ef8
Name = test
Namespace = default
Plugin ID = example-host-volume
Node ID = 3e4cb984-1903-d68a-59c8-6e3855b59642
Node Pool = default
Capacity = 47 MiB
State = pending
Host Path = /run/nomad/dev/alloc_mounts/5d680e11-914b-baba-6567-debf2a763ef8
When creating a dynamic host volumes, set up an optional monitor that waits for the node to fingerprint the volume as healthy.
Ref: https://github.com/hashicorp/nomad/pull/24479
Example of use: