Nick Ethier
e26192ad49
Driver networking support
...
Adds support for passing network isolation config into drivers and
implements support in the rawexec driver as a proof of concept
2019-07-31 01:03:20 -04:00
Nick Ethier
9fa47daf5c
ar: fix lint errors
2019-07-31 01:03:19 -04:00
Nick Ethier
56d5fe704a
ar: rearrange network hook to support building on windows
2019-07-31 01:03:19 -04:00
Nick Ethier
508ff3cf2f
ar: fix test that failed due to error renaming
2019-07-31 01:03:19 -04:00
Nick Ethier
da3978b377
plugins/driver: make DriverNetworkManager interface optional
2019-07-31 01:03:19 -04:00
Nick Ethier
35de444e9b
ar: plumb error handling into alloc runner hook initialization
2019-07-31 01:03:18 -04:00
Nick Ethier
16343ae23a
ar: add tests for network hook
2019-07-31 01:03:18 -04:00
Nick Ethier
c742f8b580
ar: cleanup lint errors
2019-07-31 01:03:18 -04:00
Nick Ethier
c39e8dca6e
ar: move linux specific code to it's own file and add tests
2019-07-31 01:03:18 -04:00
Nick Ethier
bc71cafcee
plugin/driver: fix tests and add new dep to vendor
2019-07-31 01:03:17 -04:00
Nick Ethier
4a8a96fa1a
ar: initial driver based network management
2019-07-31 01:03:17 -04:00
Nick Ethier
e20fa7ccc1
Add network lifecycle management
...
Adds a new Prerun and Postrun hooks to manage set up of network namespaces
on linux. Work still needs to be done to make the code platform agnostic and
support Docker style network initalization.
2019-07-31 01:03:17 -04:00
Nick Ethier
bfe7841913
agent: simplify if block
2019-07-31 01:03:17 -04:00
Nick Ethier
592de6ffec
structs: refactor network validation to seperate fn
2019-07-31 01:03:16 -04:00
Danielle
7f7476c500
fix structs comment
...
Co-Authored-By: nickethier <ncethier@gmail.com >
2019-07-31 01:03:16 -04:00
Nick Ethier
6b5df13121
structs: Add validations for task group networks
2019-07-31 01:03:16 -04:00
Nick Ethier
a91df65402
fix tests from introducing new struct fields
2019-07-31 01:03:16 -04:00
Nick Ethier
b60bc8c17d
Add network stanza to group
...
Adds a network stanza and additional options to the task group level
in prep for allowing shared networking between tasks of an alloc.
2019-07-31 01:03:12 -04:00
Michael Schurter
756177c70c
changelog: add #5978
2019-07-30 15:56:50 -07:00
Michael Schurter
c52edb3287
Merge pull request #5978 from pete-woods/configurable-job-gc-interval
...
command/agent: allow the job GC interval to be configured
2019-07-30 15:54:29 -07:00
Buck Doyle
2152d57df3
UI: Add IPv6 bracket-wrapping to network serializer ( #6007 )
...
This addresses the issue raised by @pznamensky in #5966 .
2019-07-30 16:58:01 -05:00
Preetha Appan
f09d2ef4c5
Update to latest downloadable release
2019-07-30 16:47:40 -05:00
Preetha Appan
ebd7002683
remove generated code and change version to 0.10.0
2019-07-30 15:56:05 -05:00
Preetha Appan
6c4863c5f6
Release v0.9.4
2019-07-30 15:51:17 -05:00
Preetha Appan
b60ace2b85
Release date in changelog
2019-07-30 15:50:40 -05:00
Nomad Release bot
a81aa846a4
Generate files for 0.9.4 release
2019-07-30 19:05:18 +00:00
Preetha Appan
7f0acdb341
Fix broken link
2019-07-30 13:37:44 -05:00
Preetha Appan
177d4efe42
Add log level reloading to changelog
2019-07-30 11:55:57 -05:00
Michael Schurter
feae5297e0
Merge pull request #6026 from hashicorp/docs-job-name
...
docs: job names are unique by region/namespace
2019-07-30 08:13:04 -07:00
Michael Schurter
89578c6847
Merge pull request #6028 from hashicorp/revert-6001-allow-unix-container-path-in-lcow
...
Revert "driver/docker: support unix destination mount path in windows"
2019-07-29 14:45:53 -07:00
Omar Khawaja
1b181fcaa9
fix typo for link to acl bootstrap reset process ( #6032 )
2019-07-29 17:11:14 -04:00
Michael Schurter
0a2797210d
Merge pull request #6027 from hashicorp/docs-ref-arch
...
docs: mention acls & sentinel are multi-region
2019-07-29 13:47:06 -07:00
Omar Khawaja
ef8bbe14f4
Service and Batch Job Preemption Guide ( #5853 )
...
* fix navigation issue for spread guide
* skeleton for preemption guide
* background info, challenge, and pre-reqs
* steps
* rewording of intro
* re-wording
* adding more detail to intro
* clarify use of preemption in intro
2019-07-29 16:38:18 -04:00
Michael Schurter
a6c96eade5
Revert "driver/docker: support unix destination mount path in windows"
2019-07-29 09:09:54 -07:00
Michael Schurter
164d166507
Merge pull request #6001 from Iqoqo/allow-unix-container-path-in-lcow
...
driver/docker: support unix destination mount path in windows
2019-07-29 09:09:41 -07:00
Michael Schurter
0395310fb6
docs: mention acls & sentinel are multi-region
...
The reference architecture neglected to mention ACLs and Sentinel
policies are the exception to "no data is shared between regions."
2019-07-29 08:14:20 -07:00
Michael Schurter
83b78cfdf8
docs: job names are unique by region/namespace
...
"globally" is incorrect here unless you're running 1 region or at least
only 1 per planet.
Sorted link list at the bottom as well.
2019-07-29 08:00:28 -07:00
Buck Doyle
6c0cd2155d
Change UI changelog entries to be length-sorted
...
Thanks to @notnoop for letting me know about this:
https://github.com/hashicorp/nomad/pull/6007#discussion_r308052454
2019-07-29 09:58:03 -05:00
Michael Schurter
80185938a8
Merge pull request #6010 from spuder/patch-1
...
Clarify encryption keys are shared across datacenters
2019-07-26 11:24:36 -07:00
Pete Woods
66bf8eb599
Allow the job GC interval to be configured from default of 5 minutes
2019-07-26 10:11:25 +01:00
Mahmood Ali
beeb31e66d
Merge pull request #5993 from hashicorp/b-appveyor-go1.11
...
use go1.11 in windows CI
2019-07-26 13:45:00 +08:00
Mahmood Ali
0a10832e7c
use go1.11 in windows CI
2019-07-26 13:19:28 +08:00
Preetha Appan
e76bb99915
fix grammar
2019-07-25 21:03:20 -05:00
Michael Schurter
cf419a7b02
docs: cluster -> region
2019-07-25 15:23:10 -07:00
Spencer Owen
fbdc4ee536
Clarify encryption keys are shared across datacenters
...
#5973
2019-07-24 21:03:46 -06:00
Lang Martin
c93ed2106b
Merge pull request #6008 from hashicorp/doc-cgroup-raw-exec
...
document cgroup raw exec
2019-07-24 13:27:54 -04:00
Lang Martin
c7cd018655
executor_universal_linux log a link to the docs on cgroup error
2019-07-24 12:37:33 -04:00
Lang Martin
0fed5eb16f
docs for linux raw_exec cgroups
2019-07-24 12:36:49 -04:00
Danielle
e55f70a4f5
Merge pull request #5996 from hashicorp/f-reload-log-level
...
Support for hot reloading log levels
2019-07-24 13:54:04 +02:00
Danielle Lancashire
2d48ce9991
Support for hot reloading log levels
2019-07-24 13:37:08 +02:00