Commit Graph

829 Commits

Author SHA1 Message Date
Alex Dadgar 7b64adfcdd Merge pull request #1502 from hashicorp/f-plan-exit-code
Plan exit code map to whether allocations would change + bug fix
2016-08-03 11:10:21 -07:00
Alex Dadgar 2eb9127ef1 Merge pull request #1513 from mlafeldt/workdir
Docker driver: allow to configure working directory
2016-08-03 10:27:49 -07:00
Mathias Lafeldt d91f7dbdf8
Docker driver: allow to configure working directory 2016-08-03 16:18:15 +02:00
Mathias Lafeldt dba6183b38
Job Spec: Link restart policy reference
For easier lookup.
2016-08-03 15:42:51 +02:00
Alex Dadgar cec6d8a1eb remove gating of ipc, user ns and pidmode based on hosts priviledge mode config 2016-08-02 16:02:34 -07:00
Alex Dadgar e474ea7cce plan returns appropriate exit code 2016-08-01 20:07:49 -07:00
Alex Dadgar 2a415f1dc6 Update bootstrapping.html.md 2016-07-27 10:31:15 -07:00
Alex Dadgar cfdccc9a36 api docs 2016-07-25 14:09:36 -07:00
Alex Dadgar a18aef187e getting started 2016-07-25 13:29:19 -07:00
Alex Dadgar fcb21177dd logs command docs 2016-07-25 13:08:39 -07:00
Alex Dadgar d7439c56db Merge pull request #1452 from hashicorp/d-bootstrap
Bootstrapping a production cluster documentation
2016-07-25 11:26:39 -07:00
Alex Dadgar 653b50cb72 Bootstrapping a production cluster documentation 2016-07-25 11:26:19 -07:00
micheal 6d5f5b146f Update taskconfig.html.md
Remove references to domain.com. RFC 2606 (https://www.rfc-editor.org/rfc/rfc2606.txt) reserves `example.com` for use in documentation. `domain.com` is a real website.
2016-07-25 00:27:26 -07:00
Alex Dadgar 84c3711989 Merge pull request #1457 from hashicorp/f-kill-event
Add killing event and mark task as not running when killed
2016-07-22 17:33:18 -07:00
Alex Dadgar f46c9e8d64 Merge pull request #1453 from hashicorp/d-fs-tail
Documentation for tail and the stream endpoint
2016-07-22 16:21:25 -07:00
matt maier 7f2af04bcd Change circonus_broker_search_tag to circonus_broker_select_tag to match option in consul 2016-07-22 15:16:14 -04:00
matt maier 02d71eb6d3 Circonus integration for telemetry metrics 2016-07-22 12:33:10 -04:00
Alex Dadgar 90748cedad Add killing event and mark task as not running when killed 2016-07-21 15:49:54 -07:00
Alex Dadgar e6e5174919 document endpoint 2016-07-21 12:33:05 -07:00
Alex Dadgar 4e24676cd3 Docs 2016-07-21 12:33:05 -07:00
Dara Kong 82e08d0606 Docs: Fix list of chroot directories
The chroot list was updated in be1266e42d
2016-07-20 18:13:06 -07:00
Alex Dadgar 56a831ded0 Merge pull request #1442 from nak3/fix-doc-example
[doc] Fix job example to use system scheduler with count 5
2016-07-20 16:24:35 -07:00
Diptanu Choudhury ccdcc577df Merge pull request #1437 from nak3/fix-init-template
[tiny] Fix an indent in init template
2016-07-20 10:10:07 -07:00
Diptanu Choudhury 917b687d95 Merge pull request #1440 from nak3/fix-allocating-ports-example
[docs] Write allocate ports example accurately
2016-07-20 10:08:11 -07:00
Kenjiro Nakayama ace72bc51d [doc] Fix job example to use system scheduler with count 5 2016-07-20 22:31:05 +09:00
Kenjiro Nakayama d29579daf0 [docs] Write allocate ports example accurately in the doc of the docker driver 2016-07-20 20:55:42 +09:00
Kenjiro Nakayama 47260d68be [tiny] Fix an indent in init template 2016-07-20 17:41:26 +09:00
Kenjiro Nakayama 55d8862a81 Use array for jvm_options example in JAVA Driver 2016-07-20 16:31:44 +09:00
Mathias Lafeldt ace9cfa272
Fix indent of args block 2016-07-19 19:44:03 +02:00
Mathias Lafeldt a81e4fa3a7
Remove unrelated code snippet from docs 2016-07-19 19:39:22 +02:00
Mathias Lafeldt 722669451a
Fix typos in documentation 2016-07-18 16:24:30 +02:00
K.C. Wong a4236f0c85 Replace `Operator` with `Operand`
* while HCL job-spec uses `operator`, JSON uses `Operand`
* `Operand` is required, it no longer defaults to `==`
  (@see nomad/structs/structs.go#L2297)
2016-07-13 15:56:42 -07:00
Ryan Yabuta d60fd0f2e8 update docs to use the new hostname attribute 2016-07-08 10:32:31 -07:00
Brian Shumate 9723ad005a First use of term
Expand first use of HashiCorp Configuration Language in this page, followed by the abbreviated form
2016-07-07 12:22:14 -04:00
Brian Shumate d4b8d812cb Minor clarification
Point out that the agent should be back up and running again before proceeding to the run a job step.
2016-07-07 10:52:57 -04:00
Diptanu Choudhury 6ed042a7fb Update the sentence 2016-07-06 12:15:34 -07:00
Diptanu Choudhury 246d60ade2 Added an upgrade guide for the 0.4.0 release 2016-07-06 11:48:13 -07:00
Diptanu Choudhury 177b56fcfe Fixed the metric names for allocation metrics 2016-07-01 12:25:09 -07:00
Diptanu Choudhury 6fe6e1fbf1 Fixed typo 2016-07-01 12:20:51 -07:00
Diptanu Choudhury 5e9c1b9138 Replacing programs with processes 2016-07-01 12:11:16 -07:00
Diptanu Choudhury 4846d44498 Merge pull request #1379 from hashicorp/client-telemetry-docs
updated the telemetry docs page to reflect the statistics published b…
2016-07-01 12:02:43 -07:00
Diptanu Choudhury d03e178880 Changed the metric name for host cpu core and disk 2016-07-01 12:01:52 -07:00
Diptanu Choudhury 5abdc493c7 Fixed the docs related to allocation stats 2016-07-01 11:57:38 -07:00
Alex Dadgar 506ee78a31 Merge pull request #1380 from hashicorp/d-hcl-only
Document validate works on HCL only
2016-07-01 11:54:38 -07:00
Alex Dadgar 79bb4d7d8e Document HCL only 2016-07-01 11:51:53 -07:00
Diptanu Choudhury b8dc9ae644 Fixed the docs related to client host stats 2016-07-01 11:46:05 -07:00
Alex Dadgar 328e433cf6 Merge pull request #1373 from hashicorp/d-operating-job
Documentation for operating a job
2016-07-01 11:18:58 -07:00
Diptanu Choudhury 0a009cafb6 updated the telemetry docs page to reflect the statistics published by the Nomad client 2016-07-01 10:55:13 -07:00
Alex Dadgar b2ecda408a respond to comments 2016-06-30 13:32:33 -07:00
Alex Dadgar 93a3d3e7e5 remove CT example 2016-06-30 11:51:57 -07:00
Alex Dadgar 0125c7e7e8 Updating 2016-06-30 11:49:59 -07:00
Alex Dadgar aabe01c4e0 accessing logs 2016-06-29 17:46:45 -07:00
Alex Dadgar e2302682d7 Service discovery links to docs 2016-06-29 16:57:03 -07:00
David Bresson 247411ca4a Fix units in NOMAD_MEMORY_LIMIT documentation 2016-06-29 16:32:04 -07:00
Alex Dadgar 77dbd975f8 resource usage 2016-06-29 14:31:39 -07:00
Alex Dadgar 98d19aadb6 inspecting state 2016-06-29 13:32:31 -07:00
Alex Dadgar bf728e8e51 Task Configurations 2016-06-29 12:47:17 -07:00
Alex Dadgar 0fb85f18f2 layout framework 2016-06-28 16:28:58 -07:00
Alex Dadgar 129c097768 Small creating a cluster fixes 2016-06-28 13:32:10 -07:00
Diptanu Choudhury a8dfe08ea4 Merge pull request #1361 from hashicorp/cluster-docs
Added docs around bootstrapping a Nomad cluster
2016-06-28 11:00:21 -07:00
Diptanu Choudhury 614114a303 Modified docs 2016-06-28 10:57:54 -07:00
Alex Dadgar c4388072f8 mark that periodic is optional 2016-06-28 10:33:48 -07:00
Diptanu Choudhury f50c482846 Added a section about fedaration of clusters 2016-06-28 10:33:31 -07:00
Diptanu Choudhury 386aed5009 Merge pull request #1355 from hashicorp/d-getting-started
Update getting started docs
2016-06-27 16:56:22 -07:00
Diptanu Choudhury 60dcd98212 Added docs around bootstrapping a Nomad cluster 2016-06-27 16:24:04 -07:00
Alex Dadgar 8a14c266e4 Update getting started 2016-06-24 19:20:09 -07:00
Alex Dadgar 0691b0e81b clean up stats 2016-06-24 18:00:29 -07:00
Alex Dadgar b8f3c1489c Unify the stats http API docs 2016-06-24 11:09:24 -07:00
Alex Dadgar d935e78ca9 plan api docs 2016-06-23 11:48:31 -07:00
Jake Champlin 5387e49c41 Merge pull request #1329 from hashicorp/f-read-job-from-stdin
Read Nomad Jobfile from STDIN if specified.
2016-06-22 17:46:58 -04:00
Jake Champlin b7292014e3
Update website docs 2016-06-22 17:09:50 -04:00
Diptanu Choudhury d37cccad67 Merge pull request #1336 from hashicorp/f-default-ssl-docker-registry
Making SSL default
2016-06-21 17:00:02 -07:00
Diptanu Choudhury 91062dd83c Updated docs 2016-06-21 16:55:23 -07:00
Lennie dd03a9f626 Added note/link to Vagrant installation instructions
So I spent an hour or more trying to figure out why Docker did not install, turns out installing vagrant from the Linux distribution is a stupid idea.

So hopefully a link will help prevent other people running into this problem.
2016-06-21 23:43:44 +02:00
Jake Champlin 1c2a5ad691
Remove debugging, add newline to website docs 2016-06-21 16:49:12 -04:00
Jake Champlin 84ad9925d7
Update from comments, initial test function 2016-06-21 16:46:42 -04:00
Alex Dadgar cf71cefc8e Website update 2016-06-20 22:10:12 -07:00
Sean Chittenden 304f895db5
Update the docs for installing from source 2016-06-16 21:42:47 -07:00
Alex Dadgar 8240e4b3a7 Merge pull request #1304 from hashicorp/d-plan-cli
plan cli docs
2016-06-16 17:24:24 -07:00
Alex Dadgar 2b26259f27 plan cli docs 2016-06-16 17:23:49 -07:00
Alex Dadgar 85548f46af Merge pull request #1299 from hashicorp/d-node-status
Update node-status docs
2016-06-16 17:21:37 -07:00
Alex Dadgar fc8254d157 Update node-status docs 2016-06-16 14:50:41 -07:00
Alex Dadgar a919fe45e1 Merge pull request #1296 from hashicorp/d-status-cli
Update status docs
2016-06-16 14:31:11 -07:00
Alex Dadgar 31b1267445 Update status docs 2016-06-16 14:00:45 -07:00
Diptanu Choudhury ed67f1a347 Merge pull request #1285 from hashicorp/fix-selinux-options
Added a client options for setting selinux options
2016-06-16 22:45:24 +02:00
Diptanu Choudhury 266c417ac8 Changed the client options for docker volume selinux labels 2016-06-16 21:41:02 +01:00
Alex Dadgar 8765c25ce2 correct the dynamic port specification 2016-06-16 11:27:42 -07:00
Diptanu Choudhury 018a8ab6b0 Merge pull request #1273 from hashicorp/docs-stats
Added the docs for the stats http api endpoint
2016-06-15 15:46:38 +02:00
Diptanu Choudhury 3fda196a5a Fixed the nav links to stats APIs 2016-06-15 15:46:17 +02:00
Diptanu Choudhury f07eec2824 Added the links to the stats pages on the sidebar 2016-06-15 12:11:56 +02:00
Diptanu Choudhury fa216199ce Added documentation 2016-06-15 02:42:15 +02:00
Alex Dadgar edef5e763a Fix defaults and updates 2016-06-14 16:51:18 -07:00
Alex Dadgar 85acb0877f address comments 2016-06-14 15:40:48 -07:00
Alex Dadgar aea21affdb Document consul configuration 2016-06-14 15:21:57 -07:00
Diptanu Choudhury 9e59d3c22d Added the docs for the http api endpoint 2016-06-14 03:00:53 +02:00
Chris Bednarski 02385f0dbc Change Modfied to Modified 2016-06-13 15:09:13 -07:00
Alex Dadgar 3bef934580 Document user only availabe on linux 2016-06-12 14:33:45 -07:00
Alex Dadgar 480a281031 Merge pull request #1243 from hashicorp/f-run-modify-index
Add check-index flag to nomad run
2016-06-11 16:12:53 -07:00
Sean Chittenden bff57a0dce
Reconcile, clean up, and centralize API version numbers (major and minor).
Reduce future confusion by introducing a minor version that is gossiped out
via the `mvn` Serf tag (Minor Version Number, `vsn` is already being used for
to communicate `Major Version Number`).

Background: hashicorp/consul/issues/1346#issuecomment-151663152
2016-06-10 15:50:11 -04:00
Alex Dadgar 5d181d203c Add check-index flag to nomad run 2016-06-08 17:56:32 -07:00
Matthias bbc4692b02 Change 'fs ls' cmd to 'fs' cmd 2016-06-08 20:58:20 +02:00
Alex Dadgar 77dd3af134 docs 2016-06-07 11:33:55 -07:00
Joe Shaw eaa8ffe4c6 add `make bootstrap` step for source compilation
Without this the codecgen tool is missing and compilation fails.
2016-06-06 13:33:54 -04:00
Pete Shima 478e0eae2d Add s3 examples to json docs as well 2016-06-03 14:35:43 -07:00
Pete Shima 598653a467 Add several more s3 examples to artifact docs 2016-06-03 14:08:05 -07:00
Alex Dadgar 4dd7b621f0 Merge pull request #1206 from hashicorp/f-eval-status
Introduce eval-status and deprecate eval-monitor
2016-05-31 11:19:44 -07:00
Henrique M. Gontijo 540061da86 Update alloc.html.md
Updating the Allocation documentation page.
Issue: https://github.com/hashicorp/nomad/issues/1190
2016-05-28 21:49:34 -07:00
Alex Dadgar 55d48196b2 eval-status website docs 2016-05-27 11:50:15 -07:00
Daniel Kerwin df7f5175a8 Add support for shm_size to docker driver. Required update of go-dockerclient
to more recent version (ba4298ecf4cfa216f1cce2befbf653359f62c722).
2016-05-27 12:30:04 +02:00
Alex Dadgar a4bb011a43 Merge pull request #1203 from hashicorp/f-gzip
Compress HTTP API responses
2016-05-24 13:36:13 -07:00
Alex Dadgar 2a4d5f0ef9 Compress HTTP API responses and have the api client utilize this 2016-05-24 10:26:53 -07:00
George Hartzell 8c7c693222 typo: beings -> begins 2016-05-23 16:57:49 -07:00
Alex Dadgar 157833b3a1 Merge pull request #1150 from hashicorp/f-fs-command
Refactor fs subcommands into fs command
2016-05-16 11:05:29 -07:00
Jake Champlin 5412c29edb
Update per comments 2016-05-16 13:17:37 -04:00
Sean Chittenden dc28ab0cb5
Speling police 2016-05-15 09:41:34 -07:00
Alex Dadgar 66620ccc23 Merge pull request #1161 from hashicorp/d-json-corrections
Json clean up + fixed variable names
2016-05-09 17:04:05 -07:00
Alex Dadgar dae8b9c8fb Merge pull request #1162 from hashicorp/d-telemetry
Describe key metrics
2016-05-09 17:03:47 -07:00
Alex Dadgar 4fe3baf726 describe interval 2016-05-09 17:03:04 -07:00
Alex Dadgar 474314b9ed Json clean up + fixed variable names 2016-05-09 16:23:25 -07:00
Alex Dadgar 2567f154c7 Document key metrics 2016-05-09 16:04:41 -07:00
Jake Champlin 1a0573136b
Update documentation 2016-05-09 09:57:37 -04:00
Justin Carter b43338b59a -config needed to pass multiple config files
When trying the command above with just 1 -config option specified only the config from the first file was picked up.
2016-05-08 10:53:46 +02:00
Diptanu Choudhury ac0bbc407e Merge pull request #1118 from hashicorp/docs-discovery-json
Added docs for json representation of service discovery objects
2016-05-03 01:15:12 -07:00
Seth Vargo 3f5783af2e
Track enhanced links 2016-05-02 16:00:10 -04:00
Pete Shima 432325d944 Fix typo in force-leave docs 2016-05-01 13:00:04 -07:00
Seth Vargo 377dfd3ade
Do not allow referrer to modify the sender
http://mathiasbynens.github.io/rel-noopener/
2016-04-22 23:37:55 -04:00
Diptanu Choudhury 2f5575962d Added doc for the SSL key of the docker driver config 2016-04-22 13:23:22 -07:00
Diptanu Choudhury 5a63d58075 Added docs for json representation of service discovery objects 2016-04-22 11:15:49 -07:00
Norman Harebottle III ab46ce3970 Minor grammar fix. (#1114)
Added a missing "is" to complete the last sentence.
2016-04-21 13:15:01 -07:00
Diptanu Choudhury 0b7ba9a592 Fixed the docs around service discovery 2016-04-19 14:47:04 -07:00
Alex Dadgar 67865ab530 Merge pull request #1073 from hashicorp/http-advertise-addr-docs
Added docs for http advertise addr
2016-04-18 10:17:21 -07:00
Diptanu Choudhury 03f64f1352 Ensuring that the docs says that the advertise block works on both server and client nodes 2016-04-16 01:30:39 -07:00
Alex Dadgar 3818d3013d Merge pull request #1099 from hashicorp/f-ip-port-var
Add IP and PORT environment variables
2016-04-15 11:33:16 -07:00
Alex Dadgar 6ffad28961 nomad inspect docs 2016-04-15 11:13:26 -07:00
Alex Dadgar 8256396f1e Add IP and PORT environment variables 2016-04-15 11:01:32 -07:00
Alex Dadgar ef7dde912e Clarify blocking query docs 2016-04-15 10:33:43 -07:00
Alex Dadgar 32e207c2da improved JSON docs 2016-04-14 16:47:24 -07:00
Alex Dadgar a5a75e11d9 website 2016-04-14 13:04:04 -07:00
Alex Dadgar b83ea0ff8b docs 2016-04-14 10:57:42 -07:00
Alex Dadgar 78adfa8ed6 changelog + docker GC cleanup 2016-04-14 10:52:38 -07:00
Alex Dadgar f7fb21db18 Merge pull request #1074 from hashicorp/f-periodic-utc
Periodic jobs always are evaluated in UTC TZ
2016-04-12 17:18:45 -07:00
Seth Vargo 5ee91c6a65 Only pubish a single, combine js artifact 2016-04-12 20:30:14 +01:00
Alex Dadgar 273dfaf2c7 Periodic jobs always are evaluated in UTC TZ 2016-04-12 09:47:25 -07:00
Diptanu Choudhury 9d6e4ddbc2 Added docs for http advertise addr 2016-04-12 08:34:04 -07:00
Alex Dadgar 60153ed845 Add -self flag to node-drain 2016-04-11 15:20:49 -07:00
Diptanu Choudhury 953127fff7 Merge pull request #1053 from hashicorp/remove-interfaces
removing interfaces from config
2016-04-09 09:18:17 -07:00
Alex Dadgar b170be12ea Merge pull request #1058 from ketzacoatl/patch-1
Dropped `node_id` from docs, per #675
2016-04-08 11:26:04 -07:00
Paul Hinze 044978783f client/docker: add `interactive` option
Equivalent to `docker run --interactive` - keeps STDIN open.

Also adds docs for both `tty` and `interactive` docker config.
2016-04-08 12:51:07 -05:00
ketzacoatl 640a03397e Dropped `node_id` from docs, per #675
Specifically, see https://github.com/hashicorp/nomad/blob/master/CHANGELOG.md#030

> Node ID is no longer specifiable. For users who have set a custom Node ID, the node should be drained before Nomad is updated and the data_dir should be deleted before starting for the first time [GH-675]
2016-04-08 13:48:43 -04:00
Diptanu Choudhury e00f8426d8 Removing the interfaces block from docs 2016-04-07 13:31:32 -07:00