Commit Graph

487 Commits

Author SHA1 Message Date
Seth Vargo
c86a07d834 Separate agent configuration into its own pages
I apologize in advance for the rather long PR, but unfortunately there
is not an easy way to break this up into smaller chunks. This separates
the agent configuration into smaller, more consumable pieces just like
the job specification.
2016-11-02 18:30:00 -04:00
Diptanu Choudhury
c2de765a6d Merge pull request #1909 from hashicorp/region-wrapper
Making Nomad TLS configs region aware
2016-11-01 14:31:39 -07:00
Michael Schurter
cd9fbfa0c7 Remove ServerName because we verify based on region 2016-11-01 14:17:31 -07:00
Alex Dadgar
1637333b16 Merge branch 'master' of github.com:hashicorp/nomad 2016-11-01 13:24:07 -07:00
Alex Dadgar
f218c8849b Resolve 2016-11-01 13:23:44 -07:00
Alex Dadgar
9939fa0971 Read from env 2016-11-01 12:37:27 -07:00
Alex Dadgar
a379f86064 Check that advertise without ports works in test 2016-10-31 18:08:49 -07:00
Alex Dadgar
b8650b24d2 Allow advertise to not specify port 2016-10-31 17:12:29 -07:00
Alex Dadgar
0e47a66391 Add to valid configs fields 2016-10-27 11:29:12 -07:00
Alex Dadgar
a3676fc097 Small cleanups 2016-10-27 10:51:11 -07:00
Evan Gilman
ba55b1a0fe Never return 0.0.0.0 as a non-bind address 2016-10-27 10:51:11 -07:00
Evan Gilman
bcd0a55be9 Add more address selector tests 2016-10-27 10:51:11 -07:00
Evan Gilman
39155e952f Remove old address advertise config code 2016-10-27 10:51:11 -07:00
Evan Gilman
5a1b8db597 Add address selector methods to the agent 2016-10-27 10:51:11 -07:00
Evan Gilman
801352e0bc Use bind address for consul healtchecks in nomad client too 2016-10-27 10:47:45 -07:00
Evan Gilman
3e2b2fdb86 Use bind address for consul service checks 2016-10-27 10:47:45 -07:00
Diptanu Choudhury
6db8a06f38 Making the nomad agent checks tcp 2016-10-26 16:30:29 -07:00
Diptanu Choudhury
b2bbd63d87 Fixed a bunch of TLS related failures 2016-10-26 14:08:46 -07:00
Diptanu Choudhury
48c31de849 Added datadog_address to valid keys 2016-10-26 13:28:28 -07:00
Diptanu Choudhury
722433b4f9 Making the cli use TLS if the client has enabled TLS 2016-10-26 11:13:53 -07:00
Diptanu Choudhury
70ec22fadf Merge pull request #1853 from hashicorp/f-rpc-http-tls
TLS support for http and RPC
2016-10-25 16:14:43 -07:00
Diptanu Choudhury
f416ac7419 Moved tlsutil into helpers 2016-10-25 16:05:37 -07:00
Diptanu Choudhury
ecfb24d521 Moving the TLSConfig to structs 2016-10-25 15:57:38 -07:00
Diptanu Choudhury
0e6e5b3e7b Enabling TLS on cli 2016-10-25 10:39:17 -07:00
Alex Dadgar
3c41715d95 Vault flags 2016-10-24 17:23:48 -07:00
Diptanu Choudhury
e115f83ded Updated the spec definition for tls config 2016-10-24 15:36:26 -07:00
Diptanu Choudhury
15b2cc5d8c Changed the way TLS config is parsed 2016-10-24 13:56:19 -07:00
Alex Dadgar
a877e320c0 Merge pull request #1842 from hashicorp/f-version-and-id
Print the version and client node ID
2016-10-24 10:13:33 -07:00
Diptanu Choudhury
11c1583467 Implemented TLS support for http and rpc 2016-10-23 22:22:00 -07:00
Michael Schurter
4d3187bc7e Remove disk usage enforcement
Many thanks to @iverberk for the original PR (#1609), but we ended up
not wanting to ship this implementation with 0.5.

We'll come back to it after 0.5 and hopefully find a way to leverage
filesystem accounting and quotas, so we can skip the expensive polling.
2016-10-21 13:55:51 -07:00
Alex Dadgar
902c3973db Print the version and client node ID 2016-10-20 17:46:04 -07:00
Alex Dadgar
746eeb121a Merge pull request #1816 from jippi/add-datadog-telemetry
Add datadog telemetry
2016-10-18 09:53:37 -07:00
Diptanu Choudhury
f0806dceff Enable serf encryption (#1791)
* Added the keygen command

* Added support for gossip encryption

* Changed the URL for keyring management

* Fixed the cli

* Added some tests

* Added tests for keyring operations

* Added a test for removal of keys

* Added some docs

* Fixed some docs

* Added general options
2016-10-17 10:48:04 -07:00
Christian Winther
43a11000b0 initial work on datadog telemetry 2016-10-15 10:49:33 +02:00
Alex Dadgar
8ac55269a3 Merge pull request #1803 from hashicorp/b-vault-parse
Fix Vault Config parsing of booleans
2016-10-11 13:47:46 -07:00
Alex Dadgar
9ff2bf0bff Fix Vault parsing of booleans 2016-10-10 18:04:39 -07:00
Alex Dadgar
3a4bb56cf7 Skip SIGPIPE 2016-10-10 15:12:56 -07:00
Michael Schurter
0f46069211 Merge pull request #1767 from hashicorp/f-docker-volumes-logging
Support Docker Volumes and Logging
2016-10-07 12:10:59 -07:00
Michael Schurter
fe1e3c792f Put docker volume support behind conf flag
Also add tests and fix bug with logging driver configuration.
2016-10-03 15:02:50 -07:00
Alex Dadgar
bcb1a2e216 Do not allow path to escape the alloc dir for the FS commands 2016-10-03 14:58:44 -07:00
Michael Schurter
95af8374f0 Merge pull request #1735 from hashicorp/b-bootstrap-flapping
Retry all servers on RPC call failure
2016-09-27 16:33:15 -07:00
Michael Schurter
6b9be92dea Fix agent server set test
Test asserted endpoint appendend servers, but the new/desired behavior
is for the endpoint to set/overwrite servers.
2016-09-26 11:57:06 -07:00
Michael Schurter
64ac9b9359 Retry all servers on RPC call failure
rpcproxy is refactored into serverlist which prioritizes good servers
over servers in a remote DC or who have had a failure.

Registration, heartbeating, and alloc status updating will retry faster
when new servers are discovered.

Consul discovery will be retried more quickly when no servers are
available (eg on startup or an outage).
2016-09-23 11:44:48 -07:00
Diptanu Choudhury
dd3af85114 Adding a snapshot endpoint on the client (#1730) 2016-09-21 21:28:12 -07:00
Robert Neumayer
5b0c04d84b Fix typo
Telementry -> Telemetry
2016-09-11 09:46:05 +02:00
Diptanu Choudhury
df102f921c Removing warn msg 2016-09-04 17:22:49 -07:00
Alex Dadgar
e2c179821e Vault config flags 2016-09-01 15:41:07 -07:00
Michael Schurter
5f04e2a398 Merge pull request #1668 from hashicorp/b-fix-consul-updates
Fix old services not getting removed from consul on update
2016-08-31 17:17:09 -07:00
Michael Schurter
ff21ded331 Query consul without helpers in test to be safe 2016-08-31 14:14:17 -07:00
Diptanu Choudhury
2176115957 Merge pull request #1670 from hashicorp/b-telemetry-config
Merging telemetry configs
2016-08-31 11:47:50 -07:00