Alex Dadgar
49c2d4f775
Scheduler uses allocated resources
2018-10-02 17:08:25 -07:00
Alex Dadgar
9c6de4bb20
plugin dir parsing
2018-08-30 13:43:09 -07:00
Alex Dadgar
94a21a44e0
Plugin config parsing
2018-08-29 17:06:01 -07:00
Chelsea Holland Komlo
0bb13c0f04
fix up test failure due to keyloader instantiated on tls config during parsing
2018-08-15 00:59:29 -04:00
Alex Dadgar
d83443932f
Merge pull request #4277 from hashicorp/f-retry-join-clients
...
Add go-discover support to Nomad clients
2018-06-01 16:57:40 +00:00
Alex Dadgar
09b90e4944
Actually disable the schedulers
2018-05-31 13:11:11 -07:00
Alex Dadgar
2dde49e2bf
Improve validation/defaulting, handle start-join
...
This commit:
* Improves how we combine the old retry-* fields and the new stanza and
how it is validated
* Handles the new stanza setting start_join
* Fixes integration test to not bind to the standard port and instead be
randomized.
* Simplifies parsing of the old retry_interval
* Fixes the errors from retry join being masked
* Flags get parsed into new server_join stanza
2018-05-31 10:53:26 -07:00
Chelsea Holland Komlo
94cf42ec81
update config parse test
...
documentation fixes
2018-05-31 10:50:04 -07:00
Chelsea Holland Komlo
fa1d2de5df
RetryInterval should be a time.Duration
2018-05-31 10:50:04 -07:00
Chelsea Holland Komlo
02b89ae0f4
update server_join naming and improve logging
2018-05-31 10:50:03 -07:00
Chelsea Holland Komlo
1a854c444e
add server join info to server and client
2018-05-31 10:50:03 -07:00
Chelsea Holland Komlo
25896ddf3c
add support for tls PreferServerCipherSuites
...
add further tests for tls configuration
2018-05-25 13:20:00 -04:00
Preetha Appan
09fa5f5850
Fix compilation fail in test after rebase
2018-03-28 11:54:34 -05:00
Mildred Ki'Lya
d31105c69e
Allow to specify total memory on agent configuration
...
Allow to set the total memory of an agent in its configuration file. This
can be used in case the automatic detection doesn't work or in specific
environments when memory overcommit (using swap for example) can be
desirable.
2018-03-27 15:46:18 -05:00
Alex Dadgar
1ac3798ae0
Allow separate enterprise config overlay
2018-03-22 13:53:08 -07:00
James Rasell
dda9207b06
Update Consul check params from using health-check to check.
2018-03-20 16:03:58 +01:00
James Rasell
2439310951
Allow Nomads Consul health checks to be configurable.
...
This change allows the client HTTP and the server HTTP, Serf and
RPC health check names within Consul to be configurable with the
defaults as previous. The configuration can be done via either a
config file or using CLI flags.
Closes #3988
2018-03-19 19:37:56 +01:00
Kyle Havlovitz
2c873adba4
Refactor redundancy_zone/upgrade_version out of client meta
2018-01-29 20:03:38 -08:00
Kyle Havlovitz
c2d0c11f9e
Add autopilot functionality based on Consul's autopilot
2017-12-18 14:29:41 -08:00
Alex Dadgar
53dbc4f127
remove atlas
2017-11-02 11:27:21 -07:00
Chelsea Holland Komlo
5e85b5a090
add rpc_upgrade_mode as config option for tls upgrades
2017-11-01 15:19:52 -05:00
Alex Dadgar
a9e3a41407
Enable more linters
2017-09-26 15:26:33 -07:00
Alex Dadgar
ddc2efa4ac
sync
2017-09-19 10:08:23 -05:00
Chelsea Holland Komlo
59a891cb27
enabling prometheus metrics should be a config option
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
1df5310c6e
tagged metrics config options should be on telemetry config
...
better api example, add telemetry documentation
2017-09-06 15:25:36 +00:00
Chelsea Holland Komlo
a1e81abf40
parse config for metrics fields
2017-09-05 14:13:34 +00:00
Armon Dadgar
44fe0afc9f
Passthrough replication token for token/policy replication
2017-09-04 13:05:53 -07:00
Armon Dadgar
428aea5094
Address @dadgar feedback
2017-09-04 13:04:45 -07:00
Armon Dadgar
9fdea05804
agent: Adding ACL block configuration
2017-09-04 13:04:45 -07:00
Alex Dadgar
a73e945067
More parallel
2017-07-20 09:36:34 -07:00
Alex Dadgar
bb45b95bc4
Allow tuning of heartbeat ttls
...
This PR allows tuning of heartbeat TTLs. An example of very aggressive
settings is as follows:
```
server {
heartbeat_grace = "1s"
min_heartbeat_ttl = "1s"
max_heartbeats_per_second = 200.0
}
```
2017-07-19 09:38:35 -07:00
Alex Dadgar
86e49b97d9
Add config options
2017-07-07 12:05:56 -07:00
Michael Schurter
79b7cfd506
Fix no_host_uuid parsing
...
Need to pointerify it to default to true since we can't tell false from
unset if it's not a pointer.
2017-07-03 17:41:20 -07:00
Michael Schurter
b8de3608fb
Default no_host_uuid to true instead of false
...
The host UUID isn't unique in many virtualized cases and of dubious
value even when it is univerally unique. Default to a random UUID.
2017-06-23 16:23:01 -07:00
Michael Schurter
f2476cfa67
Fix config parsing test
...
Went overboard before I realized there's only one test case.
2017-05-30 11:39:26 -07:00
Pete Wildsmith
b16409ac54
update test
2017-04-30 15:40:04 +01:00
Pete Wildsmith
6ca05757ee
fix config parse test
2017-04-26 21:13:54 +01:00
Alex Dadgar
36dc330737
Various fixes
...
This PR:
* Uses Go 1.8 executable lookup
* Stores any err message from stats init method
* Allows overriding of Cpu Compute for hosts where it can't be detected
2017-03-14 12:56:31 -07:00
Alex Dadgar
701537e9c5
Limit parallelism during garbage collection
...
This PR introduces a parallelism limit during garbage collection. This
is used to avoid large resource usage spikes if garbage collecting many
allocations at once.
2017-03-10 16:27:00 -08:00
Alex Dadgar
b6991b3357
Allow random UUID
2017-02-27 13:42:37 -08:00
Alex Dadgar
e2d2911d06
Allow specification of eval/job gc threshold
2017-02-27 11:58:10 -08:00
Diptanu Choudhury
6b0a1ebb58
Making the GC related fields tunable
2017-01-31 15:51:20 -08:00
Alex Dadgar
7bd018eec1
Merge pull request #2226 from hashicorp/b-vault
...
Improve Vault integration and validation
2017-01-23 14:59:41 -08:00
Michael Schurter
d1c45dfc9c
Fix tests
2017-01-20 17:04:52 -08:00
Alex Dadgar
5fb01bf152
Check capabilities, allow creation against role
...
Check the capabilities of the Vault token to ensure it is valid and also
allow targetting of a role that the token is not from.
2017-01-19 13:40:32 -08:00
Jorge Marey
a39cebb744
Add option to set nodename instead of hostname on telemetry values
2016-12-21 09:53:29 +01:00
Alex Dadgar
0e47a66391
Add to valid configs fields
2016-10-27 11:29:12 -07:00
Diptanu Choudhury
b2bbd63d87
Fixed a bunch of TLS related failures
2016-10-26 14:08:46 -07:00
Diptanu Choudhury
15b2cc5d8c
Changed the way TLS config is parsed
2016-10-24 13:56:19 -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