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
Sean Chittenden
e6397da738
Centralize the creation of a consul/api.Config struct.
...
While documented, the consul.timeout parameter wasn't ever set
except one-off in the Consul fingerprinter.
2016-06-10 15:50:11 -04:00
Sean Chittenden
05bbbd2d55
Reconcile renamed structures during rebase
2016-06-10 15:50:11 -04:00
Sean Chittenden
092e07f334
Create a nomad/structs/config to break an import cycle.
...
Flattening and normalizing the various Consul config structures and
services has led to an import cycle. Break this by creating a new package
that is intended to be terminal in the import DAG.
2016-06-10 15:48:36 -04:00
Sean Chittenden
af72200cf4
Distill config.Config.ConsulConfig down to config.Config.Consul
...
The enclosed struct provides the necessary context
2016-06-10 15:48:36 -04:00
Diptanu Choudhury
c99733e8c7
Fixed the compilation on linux
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
bf6c034fec
Making the stats collection interval and number of data points to keep in memory configurable
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
6b0757c6c4
Merge pull request #1174 from hashicorp/f-config-consul-block
...
Using the auto-register flag
2016-05-18 04:16:38 +02:00
Dara Kong
4c6c3d0b41
Fix "http_api_response_headers" config not working
...
On startup, the agent starts with either a dev or default config. Extra
config files are merged into final config.
The HTTPAPIResponseHeaders config was missing from the merge logic
therefore it would always result in empty value (regardlesss of any
config files specified).
2016-05-16 20:57:54 -07:00
Diptanu Choudhury
25273db2c1
Using the auto-register flag
2016-05-16 18:23:01 +02:00
Sean Chittenden
29be52f762
Speling police
2016-05-15 09:41:34 -07:00
Diptanu Choudhury
b2c18168a4
Making Nomad register services with consul in dev mode
2016-05-13 10:19:49 -07:00
Diptanu Choudhury
a2237a6057
Implemented registering client and server services
2016-05-11 16:07:02 -07:00
Diptanu Choudhury
2c1611c8cc
Added parsing logic for config block
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
1e9fa644a4
removing interfaces from config
2016-04-07 13:25:38 -07:00
Diptanu Choudhury
c25be74061
Added a comment about iteration of ips in a network device
2016-03-20 23:22:16 -07:00
Diptanu Choudhury
fa52d4921c
Parsing interfaces from the config file
2016-03-18 22:05:57 -07:00
Diptanu Choudhury
c51db58509
Added an interfaces config
2016-03-18 13:50:29 -07:00
Alex Dadgar
4293811651
reserve resources on the node
2016-03-13 19:05:41 -07:00
Alex Dadgar
17d021e912
Get rid of individual network resources
2016-03-11 19:02:44 -08:00
Alex Dadgar
5f53f7382a
Custom parsing of Nomad config with validation + Reserved resources block (not used yet)
2016-03-11 18:24:58 -08:00
Diptanu Choudhury
4478238ff6
Fixed an issue around parsing client max and min ports
2016-03-09 12:25:30 -08:00
Alex Dadgar
88c590dede
agent: Configurable heartbeat
2016-03-04 15:44:12 -08:00
Alex Dadgar
c43c031a49
Make the client only reserve 512 ports.
2016-02-20 11:43:02 -08:00
Diptanu Choudhury
d43af22b2b
Merging the value of http advertise addr if user is providing one
2016-02-12 09:40:28 -08:00
Diptanu Choudhury
747d3202ca
Moving code to mount and unmount chroot into allocdir
2016-02-08 14:11:53 -08:00
Diptanu Choudhury
70f7b2d70f
Setting defaults for client max and min port
2016-02-08 13:29:53 -08:00
Diptanu Choudhury
90840eaf29
Added the advertise http option to the client
2016-01-27 12:53:24 -08:00
Diptanu Choudhury
6c32119ee7
Allow users to configure arbitrary headers in config
2016-01-22 11:00:43 -08:00
Ivo Verberk
ab9409184a
Shorten CLI identifiers
...
* Truncate all UUID identifiers to eight characters by default
* Refactor the node identifier to an auto-generated UUID
* Created and updated tests and mocks
2016-01-14 21:57:43 +01:00
Alex Dadgar
9f44780f89
User specifiable kill timeout and operator configurable max
2015-12-22 16:10:30 -08:00
Chris Hines
1668a4804e
Sort config files as documented.
2015-12-15 02:05:25 -05:00
Chris Hines
cacd8a78b3
Use minimum OS specific path.
...
This change ensures LoadConfig and LoadConfigDir report consistent paths to files and those paths use the appropriate path separator for the target OS. Note that LoadConfigDir constructs paths with filepath.Join, which calls filepath.Clean, which calls filepath.FromSlash.
2015-12-14 14:59:19 -05:00
Chris Bednarski
5bf8a1fff6
Move raw_exec enabled into the DevMode config block
2015-12-10 15:24:21 -08:00
Alex Dadgar
2e3fd73487
Merge pull request #527 from asteris-llc/master
...
Add cluster join command line options and configuration options
2015-12-09 13:14:00 -08:00
Chris Bednarski
dc23448c47
Merge pull request #536 from hashicorp/f-log-config-files
...
Log the list of config files loaded when starting the nomad agent
2015-12-09 12:18:46 -08:00
Alex Dadgar
33c9b79a6f
Merge pull request #526 from ChrisHines/windows-agent
...
command/agent: fix tests on Windows
2015-12-08 19:11:08 -08:00
Diptanu Choudhury
e74ea4c678
Merge pull request #548 from hooklift/x-code-clean-up
...
Cleans up some code.
2015-12-09 01:26:37 +01:00
Camilo Aguilar
f5dc92daa8
Addresses Go lint suggestions
2015-12-08 19:05:15 -05:00