Go to file
James Rasell cb6ba80f0f
cli: stream both stdout and stderr when following an alloc. (#16556)
This update changes the behaviour when following logs from an
allocation, so that both stdout and stderr files streamed when the
operator supplies the follow flag. The previous behaviour is held
when all other flags and situations are provided.

Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-04-04 10:42:27 +01:00
.changelog cli: stream both stdout and stderr when following an alloc. (#16556) 2023-04-04 10:42:27 +01:00
.circleci build: update from go1.20.1 to go1.20.2 (#16427) 2023-03-13 09:47:07 -07:00
.github ci: use `BACKPORT_MERGE_COMMIT` option (#16730) 2023-03-30 11:49:46 -04:00
.release ci: send notification when prepare is complete (#16627) 2023-03-23 17:34:45 -04:00
.semgrep acl: RPC endpoints for JWT auth (#15918) 2023-03-30 09:39:56 +02:00
.tours
acl acl: prevent privilege escalation via workload identity 2023-03-13 11:13:27 -04:00
api cli: stream both stdout and stderr when following an alloc. (#16556) 2023-04-04 10:42:27 +01:00
ci cli: stream both stdout and stderr when following an alloc. (#16556) 2023-04-04 10:42:27 +01:00
client CSI: set mounts in alloc hook resources atomically (#16722) 2023-04-03 11:03:36 -04:00
command cli: stream both stdout and stderr when following an alloc. (#16556) 2023-04-04 10:42:27 +01:00
contributing contrib: architecture guide to the drainer (#16569) 2023-03-21 09:17:24 -04:00
demo Update ioutil library references to os and io respectively for e2e helper nomad (#16332) 2023-03-08 09:39:03 -06:00
dev dev: remove use of cfssl and use Nomad CLI for TLS certs. (#16145) 2023-03-20 17:06:15 +01:00
drivers docker: move pause container recovery to after `SetConfig` (#16713) 2023-03-29 16:20:37 -04:00
e2e cli: stream both stdout and stderr when following an alloc. (#16556) 2023-04-04 10:42:27 +01:00
helper take maximum processor Mhz (#16740) 2023-03-31 11:25:32 -05:00
integrations
internal/testing/apitests acl: HTTP endpoints for JWT auth (#16519) 2023-03-30 09:39:56 +02:00
jobspec connect: add meta on ConsulSidecarService (#16705) 2023-03-30 16:09:28 -04:00
jobspec2 Update ioutil library references to os and io respectively for e2e helper nomad (#16332) 2023-03-08 09:39:03 -06:00
lib acl: RPC endpoints for JWT auth (#15918) 2023-03-30 09:39:56 +02:00
nomad style: update documentation (#16729) 2023-03-31 16:38:16 +02:00
plugins plugin: add missing fields to `TaskConfig` (#16434) 2023-03-13 15:58:16 -04:00
scheduler scheduler: fix reconciliation of reconnecting allocs (#16609) 2023-03-24 19:38:31 -04:00
scripts dev: make cni, consul, dev, docker, and vault scripts Lima compat. (#16689) 2023-03-28 16:21:14 +01:00
terraform
testutil client/metadata: fix crasher caused by AllowStale = false (#16549) 2023-03-20 16:32:32 -07:00
tools chore: Convert assets from bindatafs to go embeds (#16066) 2023-02-10 12:02:29 -05:00
ui [ui] Web sign-in with JWT (#16625) 2023-03-30 09:40:12 +02:00
version Post 1.5.2 release (#16614) 2023-03-22 14:23:38 -07:00
website cli: stream both stdout and stderr when following an alloc. (#16556) 2023-04-04 10:42:27 +01:00
.git-blame-ignore-revs ignore b0a20b4dc965a38b0c843f47c16685ccad7439da (#13648) 2022-07-07 15:16:18 -07:00
.gitattributes
.gitignore git: ignore .fleet directory (#16144) 2023-02-13 07:39:30 -06:00
.go-version build: update from go1.20.1 to go1.20.2 (#16427) 2023-03-13 09:47:07 -07:00
.golangci.yml build: update linters (#15063) 2022-10-27 15:02:30 -05:00
.semgrepignore
CHANGELOG.md Post 1.5.2 release (#16614) 2023-03-22 14:23:38 -07:00
CODEOWNERS ensure engineering has merge authority on build pipeline (#15350) 2022-11-21 14:30:02 -05:00
GNUmakefile Post 1.5.2 release (#16614) 2023-03-22 14:23:38 -07: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
go.mod cli: stream both stdout and stderr when following an alloc. (#16556) 2023-04-04 10:42:27 +01:00
go.sum build(deps): bump github.com/opencontainers/runc from 1.1.4 to 1.1.5 (#16712) 2023-03-29 15:05:05 -04:00
main.go main: remove deprecated uses of rand.Seed (#16074) 2023-02-07 09:19:38 -06:00
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.

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.