Commit graph

8029 commits

Author SHA1 Message Date
Jonathan Cross 65b4141f91 add third party client library link for python 2017-08-02 13:51:37 -04:00
Michael Schurter 47186e3b15 Merge pull request #2952 from jen20/idea-gitignore
meta: Ignore IntelliJ IDEA/Gogland project files
2017-08-02 09:27:50 -07:00
Michael Schurter f38bf52b29 Merge pull request #2951 from jen20/add-dev-marker
meta: Set main.VersionPrerelease="dev"
2017-08-02 09:26:43 -07:00
Michael Schurter e26747112a Merge pull request #2950 from hashicorp/d-service-discovery-typo
"it's" -> "its"
2017-08-02 09:25:35 -07:00
Michael Schurter 02ee8a3fc3 Merge pull request #2949 from hashicorp/sethvargo/makefilemv
Rename GNUMakefile to Makefile
2017-08-02 09:24:42 -07:00
James Nugent 4512de2885 meta: Ignore IntelliJ IDEA/Gogland project files 2017-08-02 10:18:18 -05:00
James Nugent afbfe7fe4c meta: Set main.VersionPrerelease="dev"
For most projects using this versioning system, making a commit bumping
the version and re-adding the development tag is part of the release
SOP (certainly it was for Terraform!). I'm not sure why it didn't happen
here, but without this, all development builds show up as Nomad v0.6.0
with no dirty marker or commit marker.
2017-08-02 10:05:01 -05:00
Kate Taggart 99455679cf fix typo. 2017-08-02 00:39:08 -07:00
Seth Vargo 940ca5b935
Rename GNUMakefile to Makefile 2017-08-01 21:57:45 -04:00
Alex Dadgar 80f41d2389 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 04a124f4f8 Merge pull request #2945 from hashicorp/d-rolling
Document update stanza for system scheduler.
2017-08-01 14:21:18 -07:00
Alex Dadgar 70f265070b 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 c08e244e43 changelog 2017-08-01 14:20:36 -07:00
Alex Dadgar 9ad1f3ac4f Merge pull request #2942 from hashicorp/f-distinct-count
Distinct Property supports arbitrary limit
2017-08-01 14:19:09 -07:00
Alex Dadgar 7d2b84ab01 Review fixes 2017-08-01 14:18:52 -07:00
Charlie Voiselle 0462c8534f Review changes 2017-08-01 13:58:18 -04:00
Alex Dadgar 0be23d5858 Merge pull request #2940 from hashicorp/d-purge
Document Purge parameter on deregister request
2017-08-01 10:55:52 -07:00
Charlie Voiselle b9791c445e 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 408b0f057d Merge branch 'master' into b-cv-add-job-anti-affinity-sentence 2017-08-01 12:35:33 -04:00
Alex Dadgar e0b48831b2 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 8866f344e5 More review fixes 2017-08-01 12:05:28 -04:00
Alex Dadgar 47379d5eea 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 8108b0f4a9 Merge pull request #2943 from domudall/patch-1
Fixing spelling mistake
2017-08-01 08:31:42 -07:00
Dom Udall cde3da569e Fixing spelling mistake
Updating `deregistraion` -> `deregistration`
2017-08-01 10:26:52 +01:00
Alex Dadgar d3d3195ffa changelog 2017-07-31 16:53:38 -07:00
Alex Dadgar 2650bb1d12 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
Alex Dadgar 5a750a3735 Merge pull request #2939 from hashicorp/b-distinct
Fix incorrect destructive update with distinct_property constraint
2017-07-31 16:51:56 -07:00
Michael Schurter 9a5c62ab18 Mention xz support 2017-07-31 15:53:05 -07:00
Alex Dadgar 08e98e1de4 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 3c6a92bcba Merge pull request #2926 from hashicorp/d-api-json
Example JSON is submitable
2017-07-31 11:26:25 -07:00
Alex Dadgar 1b99605348 Changelog 2017-07-31 11:26:03 -07:00
Alex Dadgar 96252a0f1a Merge pull request #2928 from hashicorp/b-cli-autocomplete
Fix autocmpleting global flags
2017-07-31 11:25:34 -07:00
Alex Dadgar 8ec53c3ab9 changelog 2017-07-31 11:25:01 -07:00
Michael Schurter 9af475e970 Merge pull request #2934 from morkot/master
Small fix of markdown format identified by markdownlint
2017-07-31 11:24:05 -07:00
Alex Dadgar 7cd6040bdf Merge pull request #2929 from hashicorp/b-status-panic
Ensure backwards compatibility between 0.6.X CLI and 0.5.X
2017-07-31 11:23:37 -07:00
Alex Dadgar 4f69355a66 Fix incorrect destructive update with distinct_property constraint
This PR fixes an issue in which an update to a task group with a
distinct property constraint would result in an incorrect destructive
update.
2017-07-31 11:17:35 -07:00
Michael Schurter 9a10a87325 driver/rkt: support read-only volume mounts #2883 2017-07-31 10:59:28 -07:00
Michael Schurter 6243c9eb86 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 66a412fc89 changelog 2017-07-31 10:39:22 -07:00
Michael Schurter 7805cc6235 Merge pull request #2933 from jen20/remove-gox
build: Remove gox as a tool dependency
2017-07-31 10:38:10 -07:00
Alex Dadgar 0a75fe53b6 Merge pull request #2937 from hashicorp/b-leak-plugin
Fix leaked plugin files for syslog server
2017-07-31 10:38:04 -07:00
Michael Schurter fc42ba638a Merge pull request #2936 from jen20/goimports
meta: Fix goimports for command/agent/syslog.go
2017-07-31 09:14:35 -07:00
Alex Dadgar 010567dba8 Fix leaked plugin files for syslog server
This PR fixes a leaking of the unix socket used when launching a syslog
server for the Docker driver.

Fixes https://github.com/hashicorp/nomad/issues/2844
2017-07-30 17:51:38 -07:00
Charlie Voiselle ebf56fd9ad 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
James Nugent bf13a0cd90 meta: Fix goimports for command/agent/syslog.go 2017-07-30 08:56:40 -05:00
Andrii Melekhovskiy e77694dc8f Small fix of markdown format identified by markdownlint 2017-07-30 02:32:18 +01:00
James Nugent 504d6d0305 build: Remove gox as a tool dependency
gox has not been used since commit 1aec23bb8, so there is no need to
install it during bootstrap.
2017-07-29 16:31:20 -05:00
Will 489d635de2 add job creating json sample in jobs api doc 2017-07-29 09:04:30 +08:00
Charlie Voiselle 1af9d2536e Addressed Review Feedback 2017-07-28 17:42:24 -04:00
Alex Dadgar eef3b15005 Ensure backwards compatibility between 0.6.X CLI and 0.5.X
This PR goes through the CLI commands and ensures that a 0.6.X cli
gracefully handles interacting with a 0.5.X Nomad Agent.

Fixes https://github.com/hashicorp/nomad/issues/2918
2017-07-28 10:20:47 -07:00