Alex Dadgar
68ced492fb
Fix killing non-existant container with a kill timeout
2019-01-25 16:21:51 -08:00
Alex Dadgar
d6412fd8e7
Fix double restart counting for templates
...
This PR fixes an issue where template restarts would count twice since
it was emitting a restarting event.
2019-01-25 15:38:13 -08:00
Mahmood Ali
a9a336a65f
changelog
2019-01-25 14:18:56 -05:00
Mahmood Ali
cbd8b6b909
Merge pull request #5242 from hashicorp/b-fix-drivers-panic
...
drivers: pass logger through driver plugin client
2019-01-25 13:22:54 -05:00
Nick Ethier
448f93f1e9
Merge pull request #5237 from hashicorp/b-docker-09upgrade-shutdown
...
drivers/docker: handle shutdown of upgraded tasks correctly
2019-01-25 12:13:03 -05:00
Mahmood Ali
32ea92325b
Merge pull request #5243 from hashicorp/b-fix-scheduling-links
...
website: redirect to new scheduling doc
2019-01-25 11:17:47 -05:00
Mahmood Ali
f9164dae67
Merge pull request #5228 from hashicorp/f-vault-err-tweaks
...
server/vault: tweak error messages
2019-01-25 11:17:31 -05:00
Omar Khawaja
69c887972b
Advanced scheduling guides (affinity + spread) ( #5001 )
...
* initial structure
* add to affinity guide
* add to affinity guide
* update affinity guide
* spread guide
* update content
* update step 3 to spread stanza
* update
* add wording to motivate the use of spread and affinity
* improve guide description and use clearer wording to distinguish constrain from affinity
* clarify challenge to user with specific example
* improve wording in the solution section
* incorporate rest of suggestions into affinity guide
* modify spread guide description
* improve wording of spread docs
* change instance count from 5 to 10 to more easily show spread
* improving spread guide and changing demo architecture
* motivate spread a bit more
* clarification about spread
* fix wording
2019-01-25 10:43:39 -05:00
Mahmood Ali
f4560d8a2a
server/vault: tweak error messages
...
Closes #5139
2019-01-25 10:33:54 -05:00
Mahmood Ali
f41606c11c
website: redirect to new scheduling doc
2019-01-25 10:24:33 -05:00
Mahmood Ali
389e043129
drivers: pass logger through driver plugin client
...
This fixes a panic whenever driver plugin attempts to log a message.
2019-01-25 09:38:41 -05:00
Nick Ethier
7c61b47a6d
Merge pull request #5240 from hashicorp/b-docker-bridgeip-logging
...
docker: only log missing bridge_ip on initial fingerprint
2019-01-24 22:54:54 -05:00
Nick Ethier
ddbcfe65e6
Merge pull request #5239 from hashicorp/b-driver-stats-interval
...
plugins/drivers: change stats interval to duration type in proto
2019-01-24 22:54:30 -05:00
Nick Ethier
ac693fe6ac
docker: only log missing bridge_ip on initial fingerprint
2019-01-24 22:34:57 -05:00
Nick Ethier
c41f96943d
plugins/drivers: change stats interval to duration type in proto
2019-01-24 22:19:18 -05:00
Preetha
729917182c
Merge pull request #5234 from hashicorp/b-preemption-docs
...
Documentation for preemption
2019-01-24 18:32:14 -06:00
Preetha Appan
1cbabb33b5
fixed formatting
2019-01-24 17:24:20 -06:00
Preetha Appan
78d98cd575
Delete intro section which is now in index page
2019-01-24 17:20:22 -06:00
Preetha
ce5869c840
Merge pull request #5238 from hashicorp/b-spread-docs-fixes
...
Documentation fixes for affinity and spread
2019-01-24 16:57:06 -06:00
Preetha Appan
437ccfc1a2
review comments
2019-01-24 16:50:23 -06:00
Preetha Appan
920eb28aca
more code review comments
2019-01-24 16:40:00 -06:00
Alex Dadgar
98b53956c0
Apply suggestions from code review
...
Co-Authored-By: preetapan <preetha@hashicorp.com>
2019-01-24 15:42:11 -06:00
Preetha Appan
2db052d4ad
improve spread docs
2019-01-24 14:58:26 -06:00
Nick Ethier
c7cc81924d
drivers/docker: handle shutdown of upgraded tasks correctly
2019-01-24 14:21:59 -05:00
Preetha Appan
ed7e1bc064
Fix spacing and add links to affinity stanza from various pages
2019-01-24 12:12:40 -06:00
Preetha Appan
419a2682b0
update to Consul 1.4.0 for e2e tests
2019-01-24 09:52:15 -06:00
Preetha
ec92bf673c
Merge pull request #5223 from hashicorp/f-jobs-list-datacenters
...
Add Datacenters to the JobListStub struct
2019-01-24 08:13:30 -06:00
Nick Ethier
e104528288
e2e/nomad09upgrade: remove test file that is not needed
2019-01-23 21:23:13 -05:00
Nick Ethier
a5823a270c
Merge pull request #5209 from hashicorp/f-driver-upgradepath-test
...
e2e tests for upgrade path to driver plugins
2019-01-23 21:03:29 -05:00
Nick Ethier
be976d9c9a
Merge branch 'master' into f-driver-upgradepath-test
...
* master: (23 commits)
tests: avoid assertion in goroutine
spell check
ci: run checkscripts
tests: deflake TestRktDriver_StartWaitRecoverWaitStop
drivers/rkt: Remove unused github.com/rkt/rkt
drivers/rkt: allow development on non-linux
cli: Hide `nomad docker_logger` from help output
api: test api and structs are in sync
goimports until make check is happy
nil check node resources to prevent panic
tr: use context in as select statement
move pluginutils -> helper/pluginutils
vet
goimports
gofmt
Split hclspec
move hclutils
Driver tests do not use hcl2/hcl, hclspec, or hclutils
move reattach config
loader and singleton
...
2019-01-23 21:01:24 -05:00
Nick Ethier
22da77f3fa
e2e: removed unused code in nomade09upgrade suite
2019-01-23 20:54:23 -05:00
Alex Dadgar
35d8830858
Merge pull request #5231 from hashicorp/d-devices
...
Document devices
2019-01-23 17:47:24 -08:00
Alex Dadgar
87912de1af
spelling mistakes
2019-01-23 17:47:07 -08:00
Michael Schurter
18853a1df2
Update devices/gpu/nvidia/README.md
...
Co-Authored-By: dadgar <alex@hashicorp.com>
2019-01-23 17:44:24 -08:00
Nick Ethier
00272dd568
Merge branch 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad into f-driver-upgradepath-test
...
* 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad :
2019-01-23 20:29:08 -05:00
Nick Ethier
1f7d1fa9ea
Merge pull request #5232 from hashicorp/f-driver-upgradepath-docker
...
drivers: add docker upgrade path and e2e test
2019-01-23 20:28:51 -05:00
Nick Ethier
ccdc1c4615
Merge branch 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad into f-driver-upgradepath-test
...
* 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad :
Apply suggestions from code review
2019-01-23 20:26:32 -05:00
Preetha Appan
9983364df7
Add scheduler config docs and link from preemption docs
2019-01-23 18:57:45 -06:00
Preetha Appan
5bdfac0819
Add preemption section to scheduling internals
...
Also reorganize the docs so that scheduling has subpages in it
2019-01-23 18:10:36 -06:00
Nick Ethier
fc380f8e8e
Merge pull request #5233 from hashicorp/f-split-slowtests
...
ci: run seperate build jobs for slower packages
2019-01-23 16:31:55 -05:00
Alex Dadgar
41d5f52f63
fix package import
2019-01-23 12:53:33 -08:00
Nick Ethier
204f6d3270
ci: run seperate build jobs for slower packages
2019-01-23 15:39:34 -05:00
Nick Ethier
5b9013528e
drivers: add docker upgrade path and e2e test
2019-01-23 14:44:42 -05:00
Nick Ethier
a36c4320ff
Merge pull request #5227 from hashicorp/b-client-highcpu-usage
...
Fix bug related to high cpu usage
2019-01-23 14:27:51 -05:00
Michael Schurter
ce4a828fd1
Apply suggestions from code review
...
Co-Authored-By: nickethier <ncethier@gmail.com>
2019-01-23 14:09:49 -05:00
Alex Dadgar
3ecc68c6a6
change example job a bit
2019-01-23 10:58:46 -08:00
Alex Dadgar
48dfbbcad9
fix docker runtime attribute
2019-01-23 10:58:46 -08:00
Alex Dadgar
37d5def1d5
Json job
2019-01-23 10:58:46 -08:00
Alex Dadgar
003aa2a69c
nvidia device plugin docs
2019-01-23 10:58:46 -08:00
Alex Dadgar
5198ff05c3
convert driver to device for device constraint/attributes
2019-01-23 10:58:45 -08:00