Commit graph

8045 commits

Author SHA1 Message Date
Alex Dadgar d86b3977b9 Fix alloc health with checks using interpolation
Fixes an issue in which the allocation health watcher was checking for
allocations health based on un-interpolated services and checks. Change
the interface for retrieving check information from Consul to retrieving
all registered services and checks by allocation. In the future this
will allow us to output nicer messages.

Fixes https://github.com/hashicorp/nomad/issues/2969
2017-08-07 16:27:08 -07:00
Michael Schurter ce8e7ec445 Merge pull request #2968 from hashicorp/d-task-ports
Document <task> network env vars
2017-08-04 13:42:29 -07:00
Michael Schurter cdbf729386 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
Michael Schurter 7d70a78e78 Merge pull request #2966 from sprutner/patch-3
Update revert.html.md.erb
2017-08-04 11:15:50 -07:00
Seth Rutner efee7fb635 Update revert.html.md.erb
wrong command
2017-08-04 11:06:04 -07:00
Kate Taggart 255aab7139 Merge pull request #2962 from jvoorhis/master
Spelling and grammar fixes for manual bootstrap guide.
2017-08-03 21:07:53 -07:00
Jeremy Voorhis 8e029eefde Spelling and grammar fixes for bootstrap guide. 2017-08-03 20:45:44 -07:00
Michael Schurter 4d76061854 Merge pull request #2816 from capone212/fix-pending-state
#2563 fixed pending state for allocations with terminal status
2017-08-03 17:32:07 -07:00
Michael Schurter c76b3b54b9 Merge branch 'master' into fix-pending-state 2017-08-03 17:27:03 -07:00
Michael Schurter e42f71f787 Revert "Rename GNUMakefile to Makefile"
This reverts commit 9f2ea92877ed655063a5ecf6bb22b7703bc2cea2.
2017-08-03 09:23:53 -07:00
Alex Dadgar 8ef5632884 Merge pull request #2955 from hashicorp/sethvargo/remove_people
Remove people from community section
2017-08-02 13:03:21 -07:00
Seth Vargo c139711b38
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
Alex Dadgar d68caec2b9 Merge pull request #2954 from jrxFive/python_nomad_client_library_to_docs
add third party client library link for python
2017-08-02 11:17:46 -07:00
Jonathan Cross c5b107d916 fix wording 2017-08-02 13:54:49 -04:00
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