Go to file
Tim Gross 2a6e8be6ba
internals documentation with diagrams (#14750)
This changeset adds new architecture internals documents to the contributing
guide. These are intentionally here and not on the public-facing website because
the material is not required for operators and includes a lot of diagrams that
we can cheaply maintain with mermaid syntax but would involve art assets to have
up on the main site that would become quickly out of date as code changes happen
and be extremely expensive to maintain. However, these should be suitable to use
as points of conversation with expert end users.

Included:
* A description of Evaluation triggers and expected counts, with examples.
* A description of Evaluation states and implicit states. This is taken from an
  internal document in our team wiki.
* A description of how writing the State Store works. This is taken from a
  diagram I put together a few months ago for internal education purposes.
* A description of Evaluation lifecycle, from registration to running
  Allocations. This is mostly lifted from @lgfa29's amazing mega-diagram, but
  broken into digestible chunks and without multi-region deployments, which I'd
  like to cover in a future doc.

Also includes adding Deployments to our public-facing glossary.

Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
Co-authored-by: Seth Hoenig <shoenig@duck.com>
2022-10-03 14:06:41 -04:00
.changelog template: apply splay value on change_mode script (#14749) 2022-09-30 12:04:22 -04:00
.circleci
.github
.release Prepare for next release 2022-09-27 17:33:32 -04:00
.semgrep
.tours
acl
api build(deps): bump github.com/docker/go-units from 0.4.0 to 0.5.0 in /api (#14430) 2022-09-26 09:30:17 -05:00
ci
client template: apply splay value on change_mode script (#14749) 2022-09-30 12:04:22 -04:00
command client: protect user lookups with global lock (#14742) 2022-09-29 09:30:13 -05:00
contributing internals documentation with diagrams (#14750) 2022-10-03 14:06:41 -04:00
demo
dev
drivers client: protect user lookups with global lock (#14742) 2022-09-29 09:30:13 -05:00
e2e e2e: convert chroot env unit tests into e2e tests (#14710) 2022-09-26 15:40:29 -05:00
helper client: protect user lookups with global lock (#14742) 2022-09-29 09:30:13 -05:00
integrations
internal/testing/apitests
jobspec jobspec: allow artifact headers in HCLv1 (#14637) 2022-09-27 12:18:49 -04:00
jobspec2
lib
nomad Prepare for next release 2022-09-27 17:33:32 -04:00
plugins
scheduler core: numeric operands comparisons in constraints (#14722) 2022-09-27 11:07:07 -05:00
scripts
terraform
testutil
tools
ui refact: only reload job if job has no taskGroups (#14760) 2022-09-30 16:14:40 -04:00
version Prepare for next release 2022-09-27 17:33:32 -04:00
website internals documentation with diagrams (#14750) 2022-10-03 14:06:41 -04:00
.git-blame-ignore-revs
.gitattributes
.gitignore
.go-version
.golangci.yml
.semgrepignore
CHANGELOG.md Apply changes from code review 2022-09-27 17:33:32 -04:00
CODEOWNERS
GNUmakefile client: protect user lookups with global lock (#14742) 2022-09-29 09:30:13 -05:00
LICENSE
README.md
Vagrantfile
build_linux_arm.go
go.mod build(deps): bump github.com/hashicorp/go-uuid from 1.0.2 to 1.0.3 (#14688) 2022-09-26 09:55:40 -05:00
go.sum build(deps): bump github.com/hashicorp/go-uuid from 1.0.2 to 1.0.3 (#14688) 2022-09-26 09:55:40 -05:00
main.go
main_test.go

README.md

Nomad License: MPL 2.0 Discuss

HashiCorp Nomad logo

Nomad is a simple and flexible workload orchestrator to deploy and manage containers (docker, podman), non-containerized applications (executable, Java), and virtual machines (qemu) across on-prem and clouds at scale.

Nomad is supported on Linux, Windows, and macOS. A commercial version of Nomad, Nomad Enterprise, is also available.

Nomad provides several key features:

  • Deploy Containers and Legacy Applications: Nomads flexibility as an orchestrator enables an organization to run containers, legacy, and batch applications together on the same infrastructure. Nomad brings core orchestration benefits to legacy applications without needing to containerize via pluggable task drivers.

  • Simple & Reliable: Nomad runs as a single binary and is entirely self contained - combining resource management and scheduling into a single system. Nomad does not require any external services for storage or coordination. Nomad automatically handles application, node, and driver failures. Nomad is distributed and resilient, using leader election and state replication to provide high availability in the event of failures.

  • Device Plugins & GPU Support: Nomad offers built-in support for GPU workloads such as machine learning (ML) and artificial intelligence (AI). Nomad uses device plugins to automatically detect and utilize resources from hardware devices such as GPU, FPGAs, and TPUs.

  • Federation for Multi-Region, Multi-Cloud: Nomad was designed to support infrastructure at a global scale. Nomad supports federation out-of-the-box and can deploy applications across multiple regions and clouds.

  • Proven Scalability: Nomad is optimistically concurrent, which increases throughput and reduces latency for workloads. Nomad has been proven to scale to clusters of 10K+ nodes in real-world production environments.

  • HashiCorp Ecosystem: Nomad integrates seamlessly with Terraform, Consul, Vault for provisioning, service discovery, and secrets management.

Quick Start

Testing

See Learn: Getting Started for instructions on setting up a local Nomad cluster for non-production use.

Optionally, find Terraform manifests for bringing up a development Nomad cluster on a public cloud in the terraform directory.

Production

See Learn: Nomad Reference Architecture for recommended practices and a reference architecture for production deployments.

Documentation

Full, comprehensive documentation is available on the Nomad website: https://www.nomadproject.io/docs

Guides are available on HashiCorp Learn.

Contributing

See the contributing directory for more developer documentation.