Commit graph

8015 commits

Author SHA1 Message Date
Alex Dadgar 21155d0a4e Rename 2017-08-02 13:33:46 -07:00
Alex Dadgar 8e9d39ee1f Persistent server config 2017-08-02 13:30:42 -07:00
Alex Dadgar 50b041c6d1 slightly clean default client.config 2017-08-02 13:23:07 -07:00
Alex Dadgar c004742860 Add dev/ for configs for use by Nomad developers
This PR adds a folder `dev/` which can be used to store helpful commands
and configs for use when developing Nomad itself.
2017-08-02 13:20:06 -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
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
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 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
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
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 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
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