Go to file
Tim Gross 824a38c1f4 scheduler: fix panic in `render_templates` destructive update check (#18100)
In #18054 we introduced a new field `render_templates` in the `restart`
block. Previously changes to the `restart` block were always non-destructive in
the scheduler but we now need to check the new field so that we can update the
template runner. The check assumed that the block was always non-nil, which
causes panics in our scheduler tests.
2023-07-31 11:53:30 -04:00
.changelog Backport of feature: Add new field render_templates on restart block into release/1.6.x (#18094) 2023-07-28 13:54:00 -05:00
.github GHA pinning updates (#18093) 2023-07-28 11:52:42 -04:00
.release Prepare for next release 2023-07-21 13:49:46 +00:00
.semgrep [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
.tours Make number of scheduler workers reloadable (#11593) 2022-01-06 11:56:13 -05:00
acl search: fix ACL filtering for plugins and variables 2023-07-18 12:09:55 -04:00
api Backport of feature: Add new field render_templates on restart block into release/1.6.x (#18094) 2023-07-28 13:54:00 -05:00
ci [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
client Backport of feature: Add new field render_templates on restart block into release/1.6.x (#18094) 2023-07-28 13:54:00 -05:00
command Backport of feature: Add new field render_templates on restart block into release/1.6.x (#18094) 2023-07-28 13:54:00 -05:00
contributing backport of commit 22984929ce232de50c3f7d0754e4a515fb53e01b (#18047) 2023-07-24 10:13:52 -05:00
demo compliance: add headers with fixed copywrite tool (#17353) 2023-05-30 09:20:32 -05:00
dev repo: block pushing to release branches in git hook (#17377) 2023-06-01 09:36:20 -05:00
drivers backport of commit 615e76ef3c23497f768ebd175f0c624d32aeece8 (#17993) 2023-07-19 13:31:14 -05:00
e2e e2e: respect timeout value when waiting for allocs in v3. (#17800) 2023-07-10 09:47:10 +01:00
helper backport of commit 8cabda5ec5c1d0dd3290ece4789cd8fea1ca3f5c (#18043) 2023-07-24 04:44:15 -05:00
integrations Update metric names (#16894) 2023-04-18 13:25:42 -07:00
internal/testing/apitests [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
jobspec Backport of feature: Add new field render_templates on restart block into release/1.6.x (#18094) 2023-07-28 13:54:00 -05:00
jobspec2 Backport of feature: Add new field render_templates on restart block into release/1.6.x (#18094) 2023-07-28 13:54:00 -05:00
lib dep: update from jwt/v4 to jwt/v5 (#17062) 2023-05-03 11:17:38 -07:00
nomad Backport of feature: Add new field render_templates on restart block into release/1.6.x (#18094) 2023-07-28 13:54:00 -05:00
plugins backport of commit bed29bf02f9ca01d615716bc0edab523717b79b3 (#17979) 2023-07-19 09:16:55 -05:00
scheduler scheduler: fix panic in `render_templates` destructive update check (#18100) 2023-07-31 11:53:30 -04:00
scripts backport of commit 22984929ce232de50c3f7d0754e4a515fb53e01b (#18047) 2023-07-24 10:13:52 -05:00
terraform ci: run 'make check' as reusable workflow (#17600) 2023-06-20 08:17:13 +01:00
testutil chore(lint): use Go stdlib variables for HTTP methods and status codes (#17968) (#18074) 2023-07-26 16:38:39 +01:00
tools tools: update dependencies and use tree set (#16974) 2023-04-25 07:47:19 -05:00
ui backport of commit 67e5b084a1ea525cc5a2b93c2f0ed890d1af0ce3 (#18052) 2023-07-24 15:00:43 -05:00
version Prepare for next release 2023-07-21 13:49:46 +00:00
website docs: added accessor info to Tuples in template.mdx (#18101) 2023-07-31 11:08:09 -04:00
.copywrite.hcl build: add agent bindata file to copywrite ignore list. (#17507) 2023-06-14 11:13:59 +01:00
.git-blame-ignore-revs add copywrite headers commit to ignore-revs config file (#17037) 2023-05-01 10:57:43 -04:00
.gitattributes Remove invalid gitattributes 2018-02-14 14:47:43 -08:00
.gitignore git: ignore .fleet directory (#16144) 2023-02-13 07:39:30 -06:00
.go-version backport of commit 22984929ce232de50c3f7d0754e4a515fb53e01b (#18047) 2023-07-24 10:13:52 -05:00
.golangci.yml chore(lint): use Go stdlib variables for HTTP methods and status codes (#17968) (#18074) 2023-07-26 16:38:39 +01:00
.semgrepignore build: disable semgrep on structs.go for now 2022-02-01 10:09:49 -06:00
CHANGELOG-unsupported.md docs: split out unsupported versions in changelog (#17704) 2023-06-23 15:17:57 -04:00
CHANGELOG.md Generate files for 1.6.1 release 2023-07-21 13:49:42 +00:00
CODEOWNERS build: update deprecated GitHub Actions (#17218) 2023-05-17 08:57:28 -04:00
Dockerfile build: add Docker image (#17017) 2023-06-23 15:57:09 -04:00
GNUmakefile Prepare for next release 2023-07-21 13:49:46 +00:00
LICENSE [COMPLIANCE] Update MPL 2.0 LICENSE (#14884) 2022-10-13 08:43:12 -04:00
README.md Adds public roadmap project to readme 2023-03-20 15:11:38 -07:00
Vagrantfile dev: make cni, consul, dev, docker, and vault scripts Lima compat. (#16689) 2023-03-28 16:21:14 +01:00
build_linux_arm.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
go.mod deps: update cronexpr to capture license file in SBOM tools (#17733) 2023-06-27 07:58:20 -05:00
go.sum deps: update cronexpr to capture license file in SBOM tools (#17733) 2023-06-27 07:58:20 -05:00
main.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
main_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00

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.

Roadmap

A timeline of major features expected for the next release or two can be found in the Public Roadmap.

This roadmap is a best guess at any given point, and both release dates and projects in each release are subject to change. Do not take any of these items as commitments, especially ones later than one major release away.

Contributing

See the contributing directory for more developer documentation.