Michael Schurter
b9bd1b0e95
Merge pull request #2399 from multani/sockaddr-template
...
Add support for late binding to IP addresses using go-sockaddr/template
2017-05-11 17:25:03 -07:00
Michael Schurter
cc11d9a563
Add new gc_max_allocs tuneable
...
More than gc_max_allocs may be running on a node, but terminal allocs
will be garbage collected to try to keep the total number below the
limit.
2017-05-11 17:18:02 -07:00
Alex Dadgar
bfebe1afdc
rename cpu_total_compute and docs
2017-03-14 14:15:49 -07: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
Jonathan Ballet
a61b70bd75
Default to private IP advertise address in non-dev mode
2017-03-13 23:01:11 +01:00
Jonathan Ballet
02af50f832
Parse template before splitting host/port
...
Ref: a33af1ca0b (r105444568)
2017-03-13 21:40:37 +01: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
Jonathan Ballet
a33af1ca0b
Add support for late binding to IP addresses using go-sockaddr/template
2017-02-26 23:28:23 +01:00
Alex Dadgar
ea79a1475f
Fix detection of missing port
2017-02-16 13:52:39 -08:00
David Bresson
a49759f1b8
avoid nil pointer dereference
2017-02-03 08:39:57 -08:00
Diptanu Choudhury
9d44247b11
Merging GC related config values
2017-02-02 13:38:11 -08:00
Alex Dadgar
d212d40b18
Fix Consul Config Merging/Copying
...
This PR fixes config merging/copying code.
Fixes https://github.com/hashicorp/nomad/issues/2264
2017-02-02 11:12:07 -08:00
Diptanu Choudhury
6b0a1ebb58
Making the GC related fields tunable
2017-01-31 15:51:20 -08:00
Diptanu Choudhury
6d669fb48e
Moved functions to helper from structs
2017-01-18 15:55:14 -08:00
Jorge Marey
a39cebb744
Add option to set nodename instead of hostname on telemetry values
2016-12-21 09:53:29 +01:00
Michael Schurter
ec4a0d2a22
Don't require serf advertise address for clients
2016-12-02 11:07:00 -08:00
Michael Schurter
4eb30022b2
Use net.JoinHostPort instead of fmt.Sprintf
...
Using fmt.Sprintf breaks IPv6 addresses.
2016-11-28 10:38:54 -08:00
Alex Dadgar
5d4e0f18bc
Updated AWS speeds and network_speed now overrides
...
This PR:
* Makes AWS network speeds more granular
* Makes `network_speed` an override and not a default
* Adds a default of 1000 MBits if no network link speed is detected.
Fixes #1985
2016-11-15 13:55:51 -08:00
Michael Schurter
fa67fb6a71
Merge pull request #1955 from hashicorp/b-fix-default-advertise
...
Choose safer default advertise address
2016-11-09 16:03:17 -08:00
Michael Schurter
778dfeffc4
Fix comment
2016-11-09 15:51:00 -08:00
matt maier
e607c6f329
Update Circonus integration expose Check Display Name and Check Tags
...
configuration options.
2016-11-09 15:12:30 -05:00
Michael Schurter
1304ba8b2d
Addresses are just addresses - no ports
...
Store address+port in an unexported field for ease-of-use
2016-11-09 11:49:55 -08:00
Michael Schurter
eb89fd2793
Fix int pointer formatting and server config test
2016-11-08 16:02:20 -08:00
Michael Schurter
5cc435ab3e
Move config normalization into config.go to ease testing
2016-11-08 15:44:10 -08:00
Michael Schurter
4e7587de17
Choose safer default advertise address
...
* -dev mode defaults bind & advertise to localhost
* Normal mode defaults bind to 0.0.0.0 & advertise to the resolved
hostname. If the hostname resolves to localhost it will refuse to
start and advertise must be manually set.
2016-11-08 11:17:16 -08:00
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
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
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
Diptanu Choudhury
11c1583467
Implemented TLS support for http and rpc
2016-10-23 22:22:00 -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
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
Diptanu Choudhury
3c39195771
Merging telemetry configs
2016-08-31 11:24:01 -07:00
Alex Dadgar
9ab0de1877
Parse Vault Config
2016-08-17 16:23:29 -07:00
Diptanu Choudhury
6811e084f4
Merge pull request #1518 from pubnub/feature/chroot-map-rebase
...
Add config field to specify chroot mapping for exec driver
2016-08-10 17:00:03 -07:00
Jay Oster
1876fc2b10
Add config field to specify chroot mapping for exec driver
...
- Same format as used by the internal chroot mapping
- Map: source_path -> dest_path
- Example HCL:
client {
chroot_env {
"/etc" = "/etc"
"/lib" = "/lib"
"/opt/projects/foo/bin" = "/usr/bin"
}
}
2016-08-03 17:17:17 -07:00
Diptanu Choudhury
3593649e18
Allow operators to opt into publishing node and alloc metrics
2016-08-01 19:52:20 -07:00
matt maier
28e5e63f03
Change circonus_broker_search_tag to circonus_broker_select_tag to match option in consul
2016-07-22 15:16:14 -04:00
matt maier
d92dd0dc5a
Circonus integration for telemetry metrics
2016-07-22 12:33:10 -04:00
Sean Chittenden
7dc7fcf052
Create config.DefaultConsulConfig()
2016-06-16 20:41:05 -07:00
Diptanu Choudhury
f10df99e5d
Removed the stats block from client configuration
2016-06-16 21:30:29 +01:00
Alex Dadgar
d8e79759fc
Document consul configuration
2016-06-14 15:21:57 -07:00
Sean Chittenden
f1a40c0deb
Disambiguate auto_join from auto_register, rename reg to auto_advertise.
...
Provide an option that describes the value to the user vs the
operation performed by the software. Momentarily introducing
`auto_join`
2016-06-14 12:11:38 -07:00
Sean Chittenden
61a36a6d54
Commit miss, bump to 5s
2016-06-10 15:54:39 -04:00
Sean Chittenden
6b8a9b435c
Update the nomad_server_service default from nomad-server to just nomad.
2016-06-10 15:50:11 -04:00