Commit Graph

211 Commits

Author SHA1 Message Date
Chris Hines
780c960dfd Work around bugs in package net in Go < 1.6. 2015-12-02 13:57:40 -05:00
Ryan Uber
e7b5ec118f Merge pull request #520 from hashicorp/f-atlas
agent: apply merges for atlas config
2015-11-30 15:33:07 -08:00
Ryan Uber
3ddc16010d agent: apply merges for atlas config 2015-11-30 15:21:50 -08:00
Diptanu Choudhury
fe57034509 Updated the example nomad job spec to use task group name in the service name 2015-11-26 23:27:33 -08:00
Ryan Uber
47f8978fab website: document regions endpoint 2015-11-24 09:38:07 -08:00
Ryan Uber
0bee0eab6d nomad: testing region list 2015-11-23 22:27:07 -08:00
Ryan Uber
fa3d3474cc nomad: support listing regions 2015-11-23 22:27:03 -08:00
Alex Dadgar
48f4db09aa Register gob type and remove slicetype 2015-11-18 15:26:38 -08:00
Diptanu Choudhury
2ce78767a8 Autogenerating names of service 2015-11-17 16:05:03 -08:00
Diptanu Choudhury
01ef4469d9 Added the parsling logic for service blocks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
c9f10f75c4 Added the example for service block 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
a17ce1ee7b Merge pull request #415 from hashicorp/f-port-labels
Implemented Port Labeling and Driver Configurations
2015-11-16 22:37:21 -05:00
Alex Dadgar
57cc352610 fix arg check 2015-11-16 18:44:37 -08:00
Alex Dadgar
08d8ae3541 Review fixes 2015-11-16 18:37:38 -08:00
Alex Dadgar
5f34ae9ae8 Add docs 2015-11-16 18:36:13 -08:00
Alex Dadgar
d53aa72251 Get rid of incorrect length check 2015-11-16 18:21:51 -08:00
Alex Dadgar
1806c7ce22 Display task information 2015-11-16 18:09:00 -08:00
Diptanu Choudhury
e8236c0081 Fixed the parsing and encoding logic 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
fbb082cf31 Adding the port hcl object to example 2015-11-16 13:10:57 -08:00
Mitchell Hashimoto
0f37f829a3 command/agent: use new HCL API 2015-11-09 11:49:27 -08:00
Alex Dadgar
64be746d9b Merge pull request #380 from hashicorp/f-daemonize
Improve spawn-daemon and Nomad Client usage of it
2015-11-04 16:44:50 -08:00
Alex Dadgar
4958be618c Check if the PID is alive instead of heartbeating through modify time 2015-11-04 14:50:44 -08:00
Alex Dadgar
3576f48993 Create Spawn pkg that handles IPC with the spawn-daemon and update exec_linux to use that 2015-11-02 20:28:37 -08:00
Diptanu Choudhury
6a56218fb7 Fixed the restart policy syntax 2015-11-02 17:30:41 -08:00
Diptanu Choudhury
0d17430306 Fixed grammer of comment 2015-10-30 21:06:56 -07:00
Diptanu Choudhury
83695cb5d1 Added support for parsing restart blocks 2015-10-30 15:51:39 -07:00
Diptanu Choudhury
b514b2145c Setting the default network interface for dev mode only in Linux and Darwin 2015-10-29 17:03:54 -07:00
Alex Dadgar
56f5e53382 Merge pull request #362 from gregory-m/node-gc-conf
Configure Node GC Threshold
2015-10-29 15:45:57 -07:00
Alex Dadgar
82529305f3 Cleanup exec_linux, force cgroups, check for systemd and update the Open() api 2015-10-29 15:26:35 -07:00
Gregory Man
21879e22e0 Added node_gc_threshold configuration option
Close #333
2015-10-29 15:58:21 +02:00
Gregory Man
efada3bd28 Fix local interface name on OS X 2015-10-29 14:30:26 +02:00
Alex Dadgar
dc7cbcc3f0 Refactor spawn-daemon so it can be used by all OSes and make it write exit code to a file 2015-10-28 16:23:33 -07:00
Kenjiro Nakayama
b85f114dff Set default network interface rather than eth0 for non-dev mode, and use loopback device for dev mode by default 2015-10-28 02:03:48 +09:00
Gregory Man
09513e0147 Sort server-members output using name and tags 2015-10-23 21:33:18 +03:00
Abhishek Chanda
db2dd3b614 Show node attribute in node-status
Adds node attributes to the node-status command when a single
node ID is passed
2015-10-22 10:34:21 +00:00
Ivo Verberk
f9be8ede8f Fix vet warnings 2015-10-07 12:26:58 +02:00
Chris Bednarski
ac2bcc406d Merge pull request #203 from hashicorp/b-init-redis-port
Change to the default redis port and use docker port mapping
2015-10-06 00:36:38 -07:00
Alex Dadgar
d8f3bd26e6 Merges 2015-10-02 17:32:11 -07:00
Ryan Uber
222abf114e agent: test options config 2015-10-02 17:02:32 -07:00
Ryan Uber
62b3b01919 Merge branch 'parse-client-options' of https://github.com/carlosdp/nomad into b-options 2015-10-02 16:58:05 -07:00
Chris Bednarski
8c48fd183e Change to the default redis port and use docker port mapping 2015-10-02 16:35:24 -07:00
Antoine POPINEAU
e3bcf4490b Merge branch 'master' into dev/net-fingerprint 2015-10-02 09:38:35 +02:00
Antoine POPINEAU
256d390789 Renamed all instances of Iface to NetworkInterface. 2015-10-02 09:29:18 +02:00
Alex Dadgar
e9254c5f2d Don't enfoce that the agent can't be run as both server and client 2015-10-01 17:27:36 -07:00
Alex Dadgar
15a854be7a Use the known size of meta to initialize the map 2015-10-01 17:21:32 -07:00
Alex Dadgar
6c9732c356 Move declerations to top and use SplitN to be more flexible for Meta values 2015-10-01 17:19:52 -07:00
Alex Dadgar
c84fd2b292 Add parsing of client configuration from the commandline 2015-10-01 16:46:42 -07:00
Antoine POPINEAU
7fc3f83672 Client config param added to specify net iface to use for fingerprinting. Added a Golang-native method for determining the interface IP address. 2015-10-01 17:31:47 +02:00
Ryan Uber
3a3aa18bf8 command: test init 2015-09-30 14:21:50 -07:00
Ryan Uber
61f4e638b8 agent: return empty config for empty config dirs 2015-09-29 15:07:52 -07:00