LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nomad

workload orchestrator by HashiCorp

TLDR

Start development agent
$ nomad agent -dev
copy
Run a job
$ nomad job run [job.nomad]
copy
Show job status
$ nomad job status [job_name]
copy
Stop a job
$ nomad job stop [job_name]
copy
List running jobs
$ nomad job status
copy
Show node status
$ nomad node status
copy
View allocation logs
$ nomad alloc logs [alloc_id]
copy

SYNOPSIS

nomad [options] command [args]

DESCRIPTION

nomad is a workload orchestrator by HashiCorp. It deploys and manages applications across a cluster, supporting containers, VMs, and standalone executables.The tool provides scheduling, service discovery, and rolling updates. It integrates with Consul and Vault for service mesh and secrets management.

PARAMETERS

agent

Run Nomad agent.
job run file
Submit a job.
job plan file
Dry-run a job and show scheduling impact.
job status [job]
Job status.
job stop job
Stop a job.
node status
Node information.
alloc status id
Allocation details.
alloc logs id
Allocation logs.
server members
Server cluster info.
-dev
Development mode.
-address addr
Nomad API address (default: http://127.0.0.1:4646).
-region region
Region to query.
-namespace ns
Target namespace.
-token token
ACL token to use.

CAVEATS

Cluster setup requires planning. ACLs needed for production. Resource limits important. Consul recommended for service discovery.

HISTORY

Nomad was released by HashiCorp in 2015 as a simpler alternative to Kubernetes for workload scheduling. It focuses on operational simplicity while supporting multiple workload types beyond containers.

SEE ALSO

consul(1), vault(1), docker(1), kubectl(1)

Copied to clipboard
Kai