open-nomad/command/agent
Michael Schurter 583e17fad5 Always advertise driver IP when in driver mode
Fixes #3681

When in drive address mode Nomad should always advertise the driver's IP
in Consul even when no network exists. This matches the 0.6 behavior.

When in host address mode Nomad advertises the alloc's network's IP if
one exists. Otherwise it lets Consul determine the IP.

I also added some much needed logging around Docker's network discovery.
2018-01-18 15:35:24 -08:00
..
config-test-fixtures remove atlas 2017-11-02 11:27:21 -07:00
consul Always advertise driver IP when in driver mode 2018-01-18 15:35:24 -08:00
test-resources Add test to verify order 2015-12-04 17:12:47 -08:00
acl_endpoint.go Self token lookup 2017-10-13 13:12:20 -07:00
acl_endpoint_test.go Self token lookup 2017-10-13 13:12:20 -07:00
agent.go Added support for v2 raft APIs and -raft-protocol option 2017-12-12 10:17:16 -06:00
agent_endpoint.go Better client health check and error handling 2017-10-13 16:25:25 -07:00
agent_endpoint_test.go Better client health check and error handling 2017-10-13 16:25:25 -07:00
agent_test.go Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
alloc_endpoint.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
alloc_endpoint_test.go Add comment and normalize err check ordering 2017-11-29 17:26:11 -08:00
bindata_assetfs.go generated assets 2017-12-11 17:30:37 -08:00
command.go Added support for v2 raft APIs and -raft-protocol option 2017-12-12 10:17:16 -06:00
command_test.go Standardize retrieving a free port into a helper package 2017-10-23 16:48:20 -07:00
config.go Added support for v2 raft APIs and -raft-protocol option 2017-12-12 10:17:16 -06:00
config_parse.go Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
config_parse_test.go remove atlas 2017-11-02 11:27:21 -07:00
config_test.go Test listener uses freeport instead of static ports 2018-01-12 15:10:26 -08:00
deployment_endpoint.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
deployment_endpoint_test.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
eval_endpoint.go http: list results are never null 2015-09-07 10:03:10 -07:00
eval_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
fs_endpoint.go Add check for Windows ECONNRESET 2017-11-30 21:30:20 -08:00
fs_endpoint_test.go Test all fs endpoints in a loop 2017-10-09 11:19:14 -07:00
http.go Fix HTTP code for permission denied errors 2018-01-09 15:25:53 -08:00
http_oss.go sync 2017-10-13 14:36:02 -07:00
http_test.go Fix HTTP code for permission denied errors 2018-01-09 15:25:53 -08:00
job_endpoint.go Allow custom ports for services and checks 2017-12-08 12:03:00 -08:00
job_endpoint_test.go Fix service.check_restart stanza propagation 2018-01-09 15:15:36 -08:00
keyring.go Enable serf encryption (#1791) 2016-10-17 10:48:04 -07:00
keyring_test.go Standardize retrieving a free port into a helper package 2017-10-23 16:48:20 -07:00
log_levels.go agent: start basic logging setup 2015-08-16 13:54:49 -07:00
log_levels_test.go More parallel 2017-07-20 09:36:34 -07:00
log_writer.go Enable more linters 2017-09-26 15:26:33 -07:00
log_writer_test.go More parallel 2017-07-20 09:36:34 -07:00
metrics_endpoint.go updated documentation 2017-09-13 19:21:21 +00:00
metrics_endpoint_test.go metrics test 2017-10-23 18:38:36 -07:00
node_endpoint.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
node_endpoint_test.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
operator_endpoint.go Sync namespace changes 2017-09-07 17:04:21 -07:00
operator_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
region_endpoint.go website: document regions endpoint 2015-11-24 09:38:07 -08:00
region_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
search_endpoint.go Sync namespace changes 2017-09-07 17:04:21 -07:00
search_endpoint_test.go add deployments to search api 2017-08-21 15:20:55 +00:00
stats_endpoint.go /v1/client/stats ACL enforcement 2017-10-09 12:02:32 -07:00
stats_endpoint_test.go /v1/client/stats ACL enforcement 2017-10-09 12:02:32 -07:00
status_endpoint.go http: adding status APIs 2015-09-06 18:39:03 -07:00
status_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
stub_asset.go sync 2017-09-19 10:08:23 -05:00
syslog.go meta: Fix goimports for command/agent/syslog.go 2017-07-30 08:56:40 -05:00
syslog_test.go More parallel 2017-07-20 09:36:34 -07:00
system_endpoint.go Added an endpoint for users to reconcile job summaries 2016-08-03 16:12:47 -07:00
system_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
testagent.go move to consul freeport implementation 2017-10-23 16:51:40 -07:00