HashiCorp Nomad
$ nomad Official High RiskHashiCorp Nomad CLI (nomad) schedules and inspects containers, binaries, and batch jobs across Nomad clusters from a single Go binary, featuring -json across status/inspect commands, nomad job plan dry-run scheduling, and ACL token scoping.
brew install hashicorp/tap/nomad nomad supports nomad job plan dry-runs and -json queries directly against cluster HTTP APIs with zero MCP overhead.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports -json across status, inspect, and alloc queries, plus nomad job plan dry-run scheduling.
- Supports
-jsonon status/inspect andnomad job plan
nomad job plan + -check-index optimistic concurrency lock prevents race-condition deployments, backed by ACL tokens.
job plan+-check-indexprevents concurrent overwrite races
Single static Go binary via Homebrew or official downloads across macOS, Linux, and Windows.
- Single Go binary via
brew install hashicorp/tap/nomad
Simpler operational footprint than Kubernetes for mixed container and raw-exec workloads.
- Single-binary scheduler client and cluster tooling
Official hashicorp/nomad repository maintained under BSL-1.1.
- Official
hashicorp/nomadrepository
Clear HashiCorp Developer CLI command docs and --help.
- Official docs at developer.hashicorp.com/nomad
Security, Auth & Guardrails
Reads NOMAD_ADDR, NOMAD_TOKEN, NOMAD_NAMESPACE, and TLS certificates (NOMAD_CACERT, NOMAD_CLIENT_CERT) from environment variables.
CLI binary is free under BSL-1.1; jobs run on your own compute nodes.
# Nomad CLI Agent Rules - Verify `NOMAD_ADDR` and `NOMAD_NAMESPACE` before running commands. - ALWAYS run `nomad job plan <file>` first and pass `-check-index <n>` when submitting updates. - Never run `nomad job stop -purge` without explicit user confirmation.
Agent-Ready Command Recipes
Safe Read-Only Queries
nomad job status -json
Outputs all registered Nomad jobs, statuses, and namespaces as JSON.
nomad job plan nomad job plan app.nomad.hcl
Simulates scheduler placement and prints exact allocation diffs plus a modify index without deploying.
Controlled Writes & Previews
-check-index nomad job run -check-index 42 app.nomad.hcl
Applies the job only if the cluster state matches the -check-index returned by nomad job plan.
Strengths for Agents
- +
nomad job plan+run -check-indexgives atomic compare-and-swap deployment safety. - + Consistent
-jsonflag on status and inspection commands. - + Single fast Go binary with clean ACL token (
NOMAD_TOKEN) and namespace scoping.
Caveats & Pitfalls
- !
nomad job planoutputs human-readable diff text and uses exit code 1 when changes exist. - ! BSL-1.1 license applies to recent Nomad versions.