open-nomad/website/content/docs
Michael Schurter 5db3a671db
cli: add -json flag to support job commands (#12591)
* cli: add -json flag to support job commands

While the CLI has always supported running JSON jobs, its support has
been via HCLv2's JSON parsing. I have no idea what format it expects the
job to be in, but it's absolutely not in the same format as the API
expects.

So I ignored that and added a new -json flag to explicitly support *API*
style JSON jobspecs.

The jobspecs can even have the wrapping {"Job": {...}} envelope or not!

* docs: fix example for `nomad job validate`

We haven't been able to validate inside driver config stanzas ever since
the move to task driver plugins. 😭
2022-04-21 13:20:36 -07:00
..
commands cli: add -json flag to support job commands (#12591) 2022-04-21 13:20:36 -07:00
configuration Support Vault entity aliases (#12449) 2022-04-05 14:18:10 -04:00
devices feat(website): extract /plugins /tools docs (#11584) 2021-12-09 14:25:18 -05:00
drivers docs: remove deprecated client options parameters docs (#12416) 2022-03-31 11:45:51 -04:00
enterprise feat(website): extract /plugins /tools docs (#11584) 2021-12-09 14:25:18 -05:00
install Add firewall statement to requirements (#11106) 2021-08-31 10:29:33 -04:00
integrations docs: update documentation with connect acls changes 2022-04-18 08:22:33 -05:00
internals docs: updates for CSI plugin improvements for 1.3.0 (#12466) 2022-04-05 17:13:51 -04:00
job-specification docs: fix broken link from template to client config (#12733) 2022-04-21 11:04:04 -04:00
nomad-vs-kubernetes Adding link to interview form 2022-02-14 12:38:26 -08:00
operations docs: add plan for node rejected details and more (#12564) 2022-04-14 16:09:33 -07:00
runtime client: Add AWS EC2 instance-life-cycle from metadata to client fingerprint (#12371) 2022-03-25 11:50:52 -04:00
upgrade docs: update documentation with connect acls changes 2022-04-18 08:22:33 -05:00
ecosystem.mdx feat(website): extract /plugins /tools docs (#11584) 2021-12-09 14:25:18 -05:00
faq.mdx docs: add FAQ for Docker Desktop for Windows and MacOS (#10390) 2021-04-29 19:53:12 -04:00
index.mdx Adding link to interview form 2022-02-14 12:38:26 -08:00
partnerships.mdx feat(website): extract /plugins /tools docs (#11584) 2021-12-09 14:25:18 -05:00
schedulers.mdx docs: fix typo in system batch description 2022-04-01 09:46:03 -05:00
who-uses-nomad.mdx minor: update 'Cloudflare' capitalization 2021-05-12 15:15:54 -07:00