Go to file
Tim Gross 0e3264aa4f scheduler/csi: fix early return when multiple volumes are requested
When multiple CSI volumes are requested, the feasibility check could return
early for read/write volumes with free claims, even if a later volume in the
request was not feasible for any other reason (including not existing at
all). This can result in random failure to fail feasibility checking,
depending on how the map of volumes was being ordered at runtime.

Remove the early return from the feasibility check. Add a test to verify that
missing volumes in the map will cause a failure; this test will not catch a
regression every test run because of the random map ordering, but any failure
will be caught over the course of several CI runs.
2021-03-10 15:18:36 -05:00
.circleci build: use golang 1.16 2021-03-09 14:20:40 -05:00
.github fix typo (#10112) 2021-03-03 15:16:57 -05:00
acl added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
api Merge pull request #10140 from hashicorp/b-gh-10070 2021-03-10 17:11:39 +01:00
client client: fix task name logging 2021-03-08 09:15:02 -08:00
command Merge pull request #10140 from hashicorp/b-gh-10070 2021-03-10 17:11:39 +01:00
contributing build: use golang 1.16 2021-03-09 14:20:40 -05:00
demo demo: hclfmt a jobspec 2021-03-09 14:19:14 -05:00
dev docs: swap master for main in Nomad repo 2021-03-08 14:26:31 -05:00
devices/gpu/nvidia Add gocritic to golangci-lint config (#9556) 2020-12-08 12:47:04 -08:00
dist dist: clarify minimum systemd version for example service file 2021-02-23 09:06:27 -06:00
drivers driver/docker: add extra labels ( job name, task and task group name) 2021-03-08 08:59:52 -05:00
e2e docs: swap master for main in Nomad repo 2021-03-08 14:26:31 -05:00
helper RPC endpoints to support 'nomad ui -login' 2021-03-10 08:17:56 -05:00
integrations spelling: registrations 2018-03-11 18:40:53 +00:00
internal/testing/apitests tests: non-CAS should be updated 2020-06-26 10:48:33 -04:00
jobspec Merge pull request #10075 from mr-karan/fix/parse_service 2021-02-24 10:14:55 -06:00
jobspec2 hcl2: avoid panic on unset variable 2021-02-18 10:48:56 -05:00
lib Add gocritic to golangci-lint config (#9556) 2020-12-08 12:47:04 -08:00
nomad server: handle invalid jobs in expose handler hook (#10154) 2021-03-10 09:12:46 -05:00
plugins driver/docker: add extra labels ( job name, task and task group name) 2021-03-08 08:59:52 -05:00
scheduler scheduler/csi: fix early return when multiple volumes are requested 2021-03-10 15:18:36 -05:00
scripts build: use golang 1.16 2021-03-09 14:20:40 -05:00
terraform docs: swap master for main in Nomad repo 2021-03-08 14:26:31 -05:00
testutil use os.ErrDeadlineExceeded in tests 2020-12-07 10:40:28 -05:00
tools use `go install` for tools 2021-03-09 14:26:44 -05:00
ui Move complex annotation hbs logic into JS 2021-03-09 17:19:52 -08:00
vendor HTTP API support for 'nomad ui -login' 2021-03-10 08:17:56 -05:00
version post-1.0.4 release prep 2021-02-24 09:56:53 -05:00
website Merge pull request #10140 from hashicorp/b-gh-10070 2021-03-10 17:11:39 +01:00
.gitattributes Remove invalid gitattributes 2018-02-14 14:47:43 -08:00
.gitignore debug: update defaults to commonly used values 2021-03-09 08:31:38 -05:00
.golangci.yml build: add depgaurd linter and block consul flags 2020-12-14 10:21:26 -06:00
CHANGELOG.md scheduler/csi: fix early return when multiple volumes are requested 2021-03-10 15:18:36 -05:00
GNUmakefile use `go install` for tools 2021-03-09 14:26:44 -05:00
LICENSE Initial commit 2015-06-01 12:21:00 +02:00
README.md README: Align with Consul README (#9681) 2020-12-18 09:38:34 -08:00
Vagrantfile proto: Switch to using buf (#9308) 2020-11-17 07:01:48 -08:00
build_linux_arm.go Fix 32bit arm build 2017-02-09 11:22:17 -08:00
go.mod consul: upgrade consul/api to 1.8.1 2021-01-29 10:04:45 -06:00
go.sum sync vendored modules 2021-02-22 21:10:46 -07:00
main.go add helper commands for debugging state 2020-08-31 08:45:59 -04:00
main_test.go Adding initial skeleton 2015-06-01 13:46:21 +02:00

README.md

Nomad Build Status 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.