Commit Graph

1364 Commits

Author SHA1 Message Date
Michael Schurter
29951abbd1 Document <task> network env vars
Looks like I accidently dropped them when combining env var listings in
PR #2709
2017-08-04 13:05:05 -07:00
Jeremy Voorhis
5b8e38f46d Spelling and grammar fixes for bootstrap guide. 2017-08-03 20:45:44 -07:00
Seth Vargo
edd20ad3e5 Remove people from community section
This is going to be replaced with dynamic content from our CMS in the
future, but we agreed to remove it in the interim.
2017-08-02 15:03:37 -04:00
Jonathan Cross
f5def9b3b3 fix wording 2017-08-02 13:54:49 -04:00
Jonathan Cross
a2ce21af33 add third party client library link for python 2017-08-02 13:51:37 -04:00
Kate Taggart
6635a744f0 fix typo. 2017-08-02 00:39:08 -07:00
Alex Dadgar
37c3801082 Merge pull request #2931 from zsluedem/master
add job creating json sample in jobs api doc
2017-08-01 14:21:45 -07:00
Alex Dadgar
f1488a4d8d Merge pull request #2945 from hashicorp/d-rolling
Document update stanza for system scheduler.
2017-08-01 14:21:18 -07:00
Alex Dadgar
6ca508c670 Merge pull request #2946 from hashicorp/f-doc-job-anti-affinity-reflow
Added a sentence about job anti-affinity; Reflowed
2017-08-01 14:21:03 -07:00
Alex Dadgar
2e7d8adfa4 Merge pull request #2942 from hashicorp/f-distinct-count
Distinct Property supports arbitrary limit
2017-08-01 14:19:09 -07:00
Charlie Voiselle
64455a606a Review changes 2017-08-01 13:58:18 -04:00
Alex Dadgar
3895ae127d Merge pull request #2940 from hashicorp/d-purge
Document Purge parameter on deregister request
2017-08-01 10:55:52 -07:00
Charlie Voiselle
17ccab2d26 Added sentence about job anti-affinity; Reflowed
This will create a concrete mention of job anti-affminity in the Nomad documentation. The only place we discuss it currently is in a similar sentence on the website itself.  I borrowed liberally from that sentence in crafting this line.
2017-08-01 13:13:42 -04:00
Charlie Voiselle
589b33bfaf Merge branch 'master' into b-cv-add-job-anti-affinity-sentence 2017-08-01 12:35:33 -04:00
Alex Dadgar
ffdb86dc6f Merge pull request #2867 from hashicorp/b-docs-vi-more-orphan-info
More why for the -orphan flag
2017-08-01 09:20:02 -07:00
Charlie Voiselle
1bc65e1ad4 More review fixes 2017-08-01 12:05:28 -04:00
Alex Dadgar
cc923aed0f Document update stanza for system scheduler.
This PR adds a note to make it clear the limits of the system
schedulers update stanza.
2017-08-01 08:51:26 -07:00
Alex Dadgar
4e71ba2e71 Distinct Property supports arbitrary limit
This PR enhances the distinct_property constraint such that a limit can
be specified in the RTarget/value parameter. This allows constraints
such as:

```
constraint {
  distinct_property = "${meta.rack}"
  value = "2"
}
```

This restricts any given rack from running more than 2 allocations from
the task group.

Fixes https://github.com/hashicorp/nomad/issues/1146
2017-07-31 16:52:13 -07:00
Michael Schurter
040d791e8f Mention xz support 2017-07-31 15:53:05 -07:00
Alex Dadgar
c620a23412 Document Purge parameter on deregister request
This PR documents the purge parameter when deregistering a job.
2017-07-31 14:03:35 -07:00
Alex Dadgar
b6df26a388 Merge pull request #2926 from hashicorp/d-api-json
Example JSON is submitable
2017-07-31 11:26:25 -07:00
Michael Schurter
1585a5b2b9 Merge pull request #2883 from kmalec/add-support-for-readonly-mount
rkt driver support for read-only volumes mounts
2017-07-31 10:58:22 -07:00
Charlie Voiselle
79d2ff10d9 Added a note about the job anti-affinity rule
We only mention job anti-affinity on the main webpage. This sentence is borrowed from there with minor tweaks to at least introduce it in the docs corpus
2017-07-30 15:18:21 -05:00
Will
5916183bf8 add job creating json sample in jobs api doc 2017-07-29 09:04:30 +08:00
Charlie Voiselle
c11042fec6 Addressed Review Feedback 2017-07-28 17:42:24 -04:00
Alex Dadgar
c94aa29ddc Example JSON is submitable
This PR makes the example JSON job submitable via the HTTP API.
2017-07-28 09:02:15 -07:00
Michael Schurter
67705efb8f Merge pull request #2917 from hashicorp/b-grammar
Add word
2017-07-27 09:44:53 -07:00
Jon Benson
4b7db544e9 Add word 2017-07-26 19:33:03 -07:00
Jon Benson
c3039d75b8 Fix typo 2017-07-26 19:24:23 -07:00
Seth Vargo
30823a69cc Fix broken links 2017-07-26 18:43:51 -04:00
Alex Dadgar
6194ac4073 Update operating a job, upgrade guide (#2913)
* Update operating a job, upgrade guide

This PR updates the guide for updating a job to reflect the changes in
Nomad 0.6

* Feedback changes

* Feedback

* Feedback
2017-07-26 15:06:17 -07:00
Kate Taggart
675caa09ce Getting Started guide updates for 0.6.0 (#2909)
* Add new commands for 0.6

* update version in documnetation for 0.6

* more information in example.nomad

* 0.6 additional information for viewing status of a job

* 0.6 status for alloc-status

* changes with 0.6 in modifying a job

* status is healthy when consul is running

* make new date consistent in

* add Latest Deployment and Deployed sections to  output

* small changes in status values so that things the user should see as thesame, are the same in the example (e.g. Node ID should be the same in all places we list it in the example)

* further information in job status added in 0.6

* update  output when changing redis version

* make new date consistent in

* add Latest Deployment and Deployed sections to  output

* small changes in status values so that things the user should see as thesame, are the same in the example (e.g. Node ID should be the same in all places we list it in the example)

* Add new commands for 0.6

* update version in documnetation for 0.6

* more information in example.nomad

* 0.6 additional information for viewing status of a job

* 0.6 status for alloc-status

* changes with 0.6 in modifying a job

* status is healthy when consul is running

* further information in job status added in 0.6

* evaluation  status for deployment in 0.6

* updating client demo config to match website

* update output of status for cluster

* update  output when changing redis version

* update terminal output of adding more redis instances.

* small update so id numbers are consistent in example

* update ouput for , also stitch up ids from previous lines to match

* add  to output when starting server and clients

* add  to  output

* remove text showing large parts of example.nomad file

* Small fixes to stopping and updating a job
2017-07-26 14:24:50 -07:00
Michael Schurter
4901816810 Missing period 2017-07-25 17:37:09 -07:00
Alex Dadgar
487e1eafee New commands docs and small fixes
This PR adds the command documentations and has small CLI fixes.
2017-07-25 17:37:09 -07:00
Alex Dadgar
278195e6dc validate 2017-07-25 17:37:09 -07:00
Alex Dadgar
92991771f2 inspect 2017-07-25 17:37:09 -07:00
Alex Dadgar
fcc4655b6f alloc-status 2017-07-25 17:37:09 -07:00
Alex Dadgar
f977c7e7f8 Status command 2017-07-25 17:34:43 -07:00
Alex Dadgar
a6a0e7f7a1 Merge pull request #2911 from hashicorp/d-api
Update API and JSON Job Documentation
2017-07-25 17:28:12 -07:00
Alex Dadgar
58898e1426 Update API and JSON Job Documentation
This PR updates the api documentation to reflect 0.6 HTTP API and the
JSON job specification as well.
2017-07-25 17:18:15 -07:00
Michael Schurter
0e3e79b749 Explain change in default advertise behavior 2017-07-25 17:15:39 -07:00
Michael Schurter
93c2696df5 Merge pull request #2898 from hashicorp/d-config-tasks-env
Mention templates & env vars in configuring tasks
2017-07-25 16:54:55 -07:00
Michael Schurter
df6172a888 Mention node attrs 2017-07-25 16:53:10 -07:00
Michael Schurter
887c3e0e24 Merge pull request #2895 from hashicorp/d-env-example
Use better example for env template
2017-07-25 14:58:19 -07:00
Seth Vargo
36fe551231 Use a subdirectory for operator commands 2017-07-25 15:55:35 -04:00
Michael Schurter
b6eb02ac6c Mention templates & env vars in configuring tasks 2017-07-25 10:13:28 -07:00
Michael Schurter
5f4d17671a Write secrets to secrets! 2017-07-25 09:51:11 -07:00
Michael Schurter
41e550d176 Use better example for env template 2017-07-24 16:40:39 -07:00
Seth Vargo
95e8ea98d3 More changes 2017-07-24 15:14:02 -04:00
Seth Vargo
07ed00537f Add Kevin's copy changes 2017-07-24 15:11:17 -04:00