Commit graph

8215 commits

Author SHA1 Message Date
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
James Nugent d778d9d566 Update gopsutil (#2927)
* deps: Update github.com/go-ole/go-ole/...

* deps: Update github.com/StackExchange/wmi

* deps: Update github.com/shirou/gopsutil/...

* deps: Update github.com/ugorji/go/codec
2017-07-28 09:46:44 -07:00
Alex Dadgar 1ff2c7cd00 Changelog 2017-07-28 09:46:22 -07:00
Alex Dadgar bce0ff2640 Fix autocmpleting global flags
This PR vendors a change to the CLI package that allows autocompleting
global flags at the top level command.
2017-07-28 09:44:48 -07:00
Alex Dadgar a883b325ff 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 78e2fc603c Remove old example tls config
It didn't work in cfssl 1.2 anyway (required building from cfssl
master).
2017-07-27 16:03:38 -07:00
Michael Schurter b30f2aa5fb Add serf section and clean it up 2017-07-27 15:32:02 -07:00
Michael Schurter a11244ac62 Switch to cfssl and get everything working 2017-07-27 14:47:43 -07:00
Michael Schurter ac7009085b Improve verify_https_clients wording 2017-07-27 10:38:44 -07:00
Michael Schurter fcba6a7975 Merge pull request #2917 from hashicorp/b-grammar
Add word
2017-07-27 09:44:53 -07:00
Michael Schurter 3684ae4180 Merge pull request #2916 from hashicorp/b-fix-typo
Fix typo
2017-07-27 09:43:18 -07:00
Jon Benson 52d849981b Add word 2017-07-26 19:33:03 -07:00
Jon Benson e386ef9fa3 Fix typo 2017-07-26 19:24:23 -07:00
Michael Schurter 36ec2793b6 WIP tls guide 2017-07-26 17:25:28 -07:00
Seth Vargo 4f645bf180
Better link output 2017-07-26 18:49:56 -04:00
Seth Vargo d23117d357
Fix broken links 2017-07-26 18:43:51 -04:00
Seth Vargo 05f15d0853
Fix deploy script 2017-07-26 18:38:29 -04:00
Rob Genova 81db9a46a9 Merge pull request #2914 from hashicorp/f-terraform-update
Update scripts and AMI to reflect Nomad 0.6
2017-07-26 18:36:57 -04:00
Rob Genova 5bcf32282f Update scripts and AMI to reflect Nomad 0.6 2017-07-26 22:34:34 +00:00
Alex Dadgar 5e1b52ba68 Update demo vagrant 2017-07-26 15:22:06 -07:00
Alex Dadgar a946694c60
Release v0.6.0 2017-07-26 15:16:21 -07:00
Alex Dadgar 5e03e48e04 release notes 2017-07-26 15:15:44 -07:00