Find a file
Nicholas Cioli 4d9fa38a5e
ui: add parameterized dispatch interface (#10675)
* ui: add parameterized dispatch interface

This commit adds a new interface for dispatching parameteried jobs, if
the user has the right permissions. The UI can be accessed by viewing a
parameterized job and clicking on the "Dispatch Job" button located in
the "Job Launches" section.

* fix failing lint test

* clean up dispatch and remove meta

This commit cleans up a few things that had typos and
inconsistent naming. In line with this, the custom
`meta` view was removed in favor of using the
included `AttributesTable`.

* ui: encode dispatch job payload and start adding tests

* ui: remove unused test imports

* ui: redesign job dispatch form

* ui: initial acceptance tests for dispatch job

* ui: generate parameterized job children with correct id format

* ui: fix job dispatch breadcrumb link

* ui: refactor job dispatch component into glimmer component and add form validation

* ui: remove unused CSS class

* ui: align job dispatch button

* ui: handle namespace-specific requests on job dispatch

* ui: rename payloadMissing to payloadHasError

* ui: don't re-fetch job spec on dispatch job

* ui: keep overview tab selected on job dispatch page

* ui: fix task and task-group linting

* ui: URL encode job id on dispatch job tests

* ui: fix error when job meta is null

* ui: handle job dispatch from adapter

* ui: add more tests for dispatch job page

* ui: add "job dispatch" capability check

* ui: update job dispatch from code review

Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2021-07-20 18:27:41 -04:00
.changelog client: avoid acting on stale data after launch (#10907) 2021-07-20 15:13:28 -04:00
.circleci ci: prepare unprivileged user for checkout (#10900) 2021-07-14 16:12:04 -04:00
.github website: support hidden pages in nav-data (#10510) 2021-05-06 13:20:03 -04:00
acl
api Merge pull request #10806 from hashicorp/munda/idempotent-job-dispatch 2021-07-08 10:23:31 -04:00
client client: avoid acting on stale data after launch (#10907) 2021-07-20 15:13:28 -04:00
command Merge pull request #10886 from hashicorp/cli-handle-successful-deployment 2021-07-16 12:27:22 -04:00
contributing Adopt go-changelog in Nomad (#10825) 2021-07-06 10:46:53 -04:00
demo
dev
devices/gpu/nvidia
drivers docker: move host path for hosts file mount to alloc dir (#10823) 2021-06-30 11:10:04 -04:00
e2e e2e: use -detach mode when registering jobs with cli (#10877) 2021-07-09 09:25:44 -04:00
helper pool: track usage of incoming streams (#10710) 2021-06-07 10:22:37 -04:00
integrations
internal/testing/apitests
jobspec Enable parsing of terminating gateways 2021-06-30 05:34:16 +00:00
jobspec2 jobspec2: remove duplicate imports statements. 2021-06-11 09:38:47 +02:00
lib
nomad Fix typo. 2021-07-16 13:49:15 +08:00
plugins docker: generate /etc/hosts file for bridge network mode (#10766) 2021-06-16 14:55:22 -04:00
scheduler scheduler: datacenter updates should be destructive 2021-07-07 11:18:30 -04:00
scripts build(deps): bump ws from 7.3.1 to 7.4.6 in /scripts/screenshots/src (#10671) 2021-06-16 11:09:34 -04:00
terraform
testutil Add remaining pprof profiles to nomad operator debug (#10748) 2021-06-21 14:22:49 -04:00
tools
ui ui: add parameterized dispatch interface (#10675) 2021-07-20 18:27:41 -04:00
version prepare for 1.1.3 development 2021-06-22 10:41:44 -04:00
website Merge pull request #10886 from hashicorp/cli-handle-successful-deployment 2021-07-16 12:27:22 -04:00
.gitattributes
.gitignore
.golangci.yml
build_linux_arm.go
CHANGELOG.md Merge pull request #10806 from hashicorp/munda/idempotent-job-dispatch 2021-07-08 10:23:31 -04:00
GNUmakefile build: no longer use vendor directory 2021-07-14 11:13:30 -05:00
go.mod deps: update consul-template to v0.25.2. 2021-07-13 09:46:32 +02:00
go.sum deps: update consul-template to v0.25.2. 2021-07-13 09:46:32 +02:00
LICENSE
main.go
main_test.go
README.md
Vagrantfile

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.