Commit Graph

1342 Commits

Author SHA1 Message Date
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
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
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
Seth Vargo
1d1c381d54 Update anti-affinity 2017-07-24 14:46:01 -04:00
Seth Vargo
e7622a85bb Use go not golang 2017-07-24 14:45:12 -04:00
Seth Vargo
dc027bc153 Lowercase rkt 2017-07-24 14:42:02 -04:00
Seth Vargo
fc1facaa80 Better rolling deploy text 2017-07-24 14:41:39 -04:00
Seth Vargo
9feb6d1b80 Mention more than bg 2017-07-24 14:41:14 -04:00
Seth Vargo
7c06fc7922 Space file system 2017-07-24 14:40:32 -04:00
Seth Vargo
279921994d Spark on left 2017-07-24 11:35:45 -04:00
Seth Vargo
3265225a76 Add better images for rolling deploys, bg, and machine failure 2017-07-24 11:35:45 -04:00
Seth Vargo
3a783021b4 Add rolling upgrades 2017-07-24 11:35:45 -04:00
Seth Vargo
782fb6b92f Add provider names 2017-07-24 11:35:44 -04:00
Seth Vargo
e16d9bb4a7 Add colored output to make Alex happy 2017-07-24 11:35:44 -04:00
Seth Vargo
0a7a2271e9 Add svg for terminal circles
The HTML bullet is a different size in different browsers :(
2017-07-24 11:35:44 -04:00
Seth Vargo
b96efb875f Fix broken scrollbars on Safari 2017-07-24 11:35:44 -04:00
Seth Vargo
7bd71b3548 Add Apache Spark logo 2017-07-24 11:35:43 -04:00
Seth Vargo
58f53a1a4f Remove cubes.js 2017-07-24 11:35:43 -04:00
Seth Vargo
415cdcbc4e Update homepage to match 2017-07-24 11:35:43 -04:00
Seth Vargo
8f71f5715f Update logos and colors 2017-07-24 11:35:42 -04:00
Karel Malec
809292da00 Allow rkt driver to mount volumes read-only 2017-07-21 13:05:15 +02:00
Alex Dadgar
6e315f945d Merge pull request #2868 from hashicorp/f-feedback
Variety of UX fixes
2017-07-20 17:43:42 -07:00
Karel Malec
bafe9276ec Pass task group name as NOMAD_GROUP_NAME environment variable 2017-07-21 01:22:54 +02:00
Alex Dadgar
d104ccce6b Blue/green and canary docs 2017-07-19 15:56:41 -07:00