Chelsea Holland Komlo
e70aa124b4
upgrade nomad to 1.10.2
2018-05-21 17:24:51 -04:00
Preetha
0834cd2228
Merge pull request #4314 from Omar-Khawaja/allocation-id-typo
...
changing allocation ID used with nomad alloc status command
2018-05-21 14:06:38 -07:00
Omar Khawaja
759ae3fe85
changing allocation ID used with nomad alloc status command
2018-05-21 16:51:30 -04:00
Preetha Appan
a9d63c0df3
Check allocation's desired state in GC eligibility logic in core scheduler
2018-05-21 13:28:31 -05:00
Preetha
6a7d6c7846
Merge pull request #4281 from hashicorp/f-leave-on-terminate-docs
...
Doc updates to clarify leave_on_terminate
2018-05-21 11:10:56 -07:00
Alex Dadgar
18d975c60b
Changelog
2018-05-21 10:52:47 -07:00
Alex Dadgar
38762d9bde
Merge pull request #4282 from hashicorp/f-rotator
...
Avoid splitting log line across two files
2018-05-21 17:52:13 +00:00
Alex Dadgar
88d4b770a1
Merge pull request #4288 from apenney/add-warning-to-docs
...
Add a warning not to share consul nodes
2018-05-21 17:51:53 +00:00
Alex Dadgar
bfe2c5bdd2
Changelog
2018-05-21 10:51:08 -07:00
Alex Dadgar
d95698e2c5
Merge pull request #4298 from justenwalker/docker-driver-digest-tags
...
driver/docker: pull image with digest
2018-05-21 17:46:14 +00:00
Alex Dadgar
3cd324b5f2
Merge pull request #4305 from insanejudge/systemd-killmode-patch-1
...
set killmode/killsignal in systemd example
2018-05-21 17:26:58 +00:00
Alex Dadgar
c60b441dd7
Merge pull request #4312 from lcnja/master
...
Fix a typo
2018-05-21 16:56:00 +00:00
Kim Ko
40d89ce0ad
Fix a typo
2018-05-22 00:31:20 +08:00
Charlie Voiselle
38c69cf0e6
Merge pull request #4311 from aymericbeaumet/patch-1
...
docs: fix typo in json documentation
2018-05-21 08:36:06 -05:00
Aymeric Beaumet
0d3f6c9733
docs: fix typo in json documentation
2018-05-21 12:01:44 +02:00
Richard Kettelerij
8012b27b7b
Improve docs around Consul ACL token
...
If I'm not mistaken the Consul Agent default token is an anonymous token which doesn't allow writes while a Nomad server needs to write to Consul.
2018-05-18 11:03:13 +02:00
insanejudge
17b3e5200e
Merge remote-tracking branch 'origin' into systemd-killmode-patch-1
2018-05-16 18:44:49 -07:00
Nick Ethier
6392009dd6
client/driver: use correct repo address when using docker-credential helper ( #4266 )
2018-05-15 17:39:48 -04:00
Justen Walker
a8989f33bb
driver/docker: add test for dockerImageRef
2018-05-14 14:24:03 -04:00
Justen Walker
194b2231d6
driver/docker: fix up TestParseDockerImage
2018-05-14 14:23:48 -04:00
Justen Walker
25b2807ce3
driver/docker: fix TestDockerDriver_ForcePull_RepoDigest
2018-05-14 14:23:02 -04:00
Nick Ethier
c4d07a2200
client/driver: gaurd authHelper test from running on windows
2018-05-14 13:46:57 -04:00
Justen Walker
b23ca7574c
driver/docker: cleanup parseDockerImage
2018-05-14 11:11:51 -04:00
Justen Walker
60f7f1aa08
driver/docker: pull image with digest
...
GH #4290
Add digest support to the docker driver image config. This commit
factors out some common code to print the repo:tag (dockerImageRef) for
events/logs as well as parsing the image to retreive the repo,tag
(parseDockerImage) so that the results are consistent/sane for both
repo:tag and repo@sha256:... references.
When pulling an image with a digest, the tag is blank and the repo
contains the digest. See:
https://github.com/fsouza/go-dockerclient/blob/master/image_test.go#L471
2018-05-14 10:42:58 -04:00
Charlie Voiselle
cbd2b77c6c
Merge pull request #4293 from maihde/patch-1
...
Update minimum Go version.
2018-05-12 12:13:07 -04:00
maihde
896a7b0c61
Update minimum Go version.
...
In commit 758e1cb7 the `strings.Builder` API was used; this isn't available until Go 1.10+
2018-05-12 09:42:07 -04:00
Preetha Appan
de66ec7394
Add nil check before setting timeout on docker client
2018-05-11 17:09:26 -05:00
Chelsea Holland Komlo
f0a5018a91
Add autocomplete where missing
2018-05-11 18:05:43 -04:00
Preetha Appan
f0d6b4d5b7
change wording around autopilot
2018-05-11 14:21:56 -05:00
Preetha Appan
3a8040e36f
Add new method EvaluateWithOptions to avoid breaking go API client
2018-05-11 14:18:53 -05:00
Ashley Penney
47f9b7d1dc
Add a warning not to share consul nodes.
2018-05-11 14:47:26 -04:00
Preetha Appan
e7d8ae70b2
more review feedback
2018-05-11 13:39:55 -05:00
Alex Dadgar
7ad5c76734
Add new line test
2018-05-11 10:52:09 -07:00
Chelsea Komlo
687c26093c
Merge pull request #4269 from hashicorp/f-tls-remove-weak-standards
...
Configurable TLS cipher suites and versions; disallow weak ciphers
2018-05-11 08:11:46 -04:00
Chelsea Holland Komlo
89c9b4904b
add changelog
2018-05-11 07:48:31 -04:00
Nick Ethier
b3612824ed
Merge pull request #4279 from hashicorp/f-short-init
...
Add job init '-short' command docs to website
2018-05-10 23:20:59 -04:00
Nick Ethier
29ddef040d
command: add autocomplete for init -short flag
2018-05-10 23:19:08 -04:00
Alex Dadgar
3cb5ba5733
Merge pull request #4283 from hashicorp/b-fix-vet-warning
...
Added deferred cancel to prevent context leaks
2018-05-11 01:25:37 +01:00
Alex Dadgar
9a2237bdab
Drain complete
2018-05-10 17:22:06 -07:00
Alex Dadgar
0cb31feb1f
Add node event when draining is set/removed/updated
2018-05-10 16:54:43 -07:00
Alex Dadgar
a35248d1d8
Plumb event via FSM
2018-05-10 16:30:54 -07:00
Michael Lange
152311f6fb
Merge pull request #4254 from hashicorp/f-ui-ss-restart-tracking
...
UI: Server-side reschedule tracking
2018-05-10 16:17:02 -07:00
Charlie Voiselle
fd952eefbc
Added deferred cancel to prevent context leaks
2018-05-10 18:52:54 -04:00
Alex Dadgar
3671ed139d
Avoid splitting log line across two files
...
We attempt to avoid splitting a log line between two files by detecting
if we are near the file size limit and scanning for new lines and only
flushing those.
BenchmarkRotator/1KB-8 300000 5613 ns/op
BenchmarkRotator/2KB-8 200000 8384 ns/op
BenchmarkRotator/4KB-8 100000 14604 ns/op
BenchmarkRotator/8KB-8 50000 25002 ns/op
BenchmarkRotator/16KB-8 30000 47572 ns/op
BenchmarkRotator/32KB-8 20000 92080 ns/op
BenchmarkRotator/64KB-8 10000 165883 ns/op
BenchmarkRotator/128KB-8 5000 294405 ns/op
BenchmarkRotator/256KB-8 2000 572374 ns/op
2018-05-10 15:11:01 -07:00
Alex Dadgar
f5d91b5338
Benchmark for rotator
...
BenchmarkRotator/1KB-8 200000 5572 ns/op
BenchmarkRotator/2KB-8 200000 8338 ns/op
BenchmarkRotator/4KB-8 100000 14246 ns/op
BenchmarkRotator/8KB-8 50000 25279 ns/op
BenchmarkRotator/16KB-8 30000 48602 ns/op
BenchmarkRotator/32KB-8 20000 92159 ns/op
BenchmarkRotator/64KB-8 10000 154766 ns/op
BenchmarkRotator/128KB-8 5000 296872 ns/op
BenchmarkRotator/256KB-8 3000 551793 ns/op
2018-05-10 14:15:15 -07:00
Preetha Appan
24115138e8
unit test for job eval should detach
2018-05-10 15:30:44 -05:00
Preetha Appan
d31d0f3f08
Doc updates to clarify leave_on_terminate
2018-05-10 15:27:14 -05:00
Preetha Appan
e4ea18aee7
Add support for monitoring evals, and -detach/-verbose support
2018-05-10 15:02:58 -05:00
Preetha Appan
bfa0937bbb
Code review feedback
2018-05-10 14:42:24 -05:00
Preetha Appan
823ccf79ba
Update CHANGELOG
2018-05-10 12:57:34 -05:00