Commit graph

4800 commits

Author SHA1 Message Date
Alex Dadgar 92a6f0f8ba initial command implementation 2016-07-10 13:57:04 -04:00
Alex Dadgar e100fc4422 Set up for testing 2016-07-10 13:57:04 -04:00
Alex Dadgar 2f44a0a069 Flush and use correct buffer size 2016-07-10 13:57:04 -04:00
Alex Dadgar 51ae7ace25 initial tail impl 2016-07-10 13:57:04 -04:00
Armon Dadgar 75abbc74a5 nomad: modify forward RPC to hold when no known leader 2016-07-10 13:36:55 -04:00
Armon Dadgar 699c4fc68c nomad: Add RPCHoldTimeout to tune RPC hold interval 2016-07-10 13:35:48 -04:00
Sean Chittenden d4fe69ddf9
Update comments and pushdown a lock into the resource container 2016-07-10 00:12:59 -07:00
Sean Chittenden fc9cd8d4af
Push down the Linux-specific bits into resourceContainer 2016-07-10 00:06:53 -07:00
Sean Chittenden 6fc269d2a6
Move unit tests around into per-platform where appropriate. 2016-07-09 23:56:31 -07:00
Sean Chittenden a5dc6c2da9
Push the Client's cleanup of Cgroups down 2016-07-09 23:45:33 -07:00
Sean Chittenden 5dbc0bf382
Rename resourceContainer.cleanup() to executorCleanup()
Not to be confused with the imminent ClientCleanup().
2016-07-09 23:25:33 -07:00
Sean Chittenden 5f8f0a50ac
Begin cgroup pushdown into platform specific files 2016-07-09 23:01:14 -07:00
Sean Chittenden bdd7022fdc
Centralize the fingerprintrs.
Add platform specific fingerprinters per platform.

Requested by: @diptanu
2016-07-09 22:31:14 -07:00
Sean Chittenden 1e2e0ca050
Initialize the list of available fingerprinters per platform. 2016-07-09 00:22:42 -07:00
Diptanu Choudhury 5b39a5db40 Fixed a debug message 2016-07-09 00:12:53 -07:00
Diptanu Choudhury e5310b76a6 Merge pull request #1399 from hashicorp/b-exec-cleanup
WIP: Cleanup exec driver
2016-07-09 00:08:43 -07:00
Sean Chittenden 03c571c61b
Consolidate fingerprinters into a single map. 2016-07-08 23:37:14 -07:00
Diptanu Choudhury b4fe764f07 Added a test 2016-07-08 22:33:04 -07:00
Diptanu Choudhury 19f0867816 Fixed the validation logic for check timeout 2016-07-08 22:26:03 -07:00
Diptanu Choudhury 92deab0f3a Merge pull request #1396 from hashicorp/b-task-host-port
Fixed the host port environment variable
2016-07-08 22:14:49 -07:00
Sean Chittenden 7530b27014 Move all non-Linux Fingerprinter items to the default exec driver 2016-07-08 18:35:46 -07:00
Diptanu Choudhury 5d61fa01f1 Fixed tests 2016-07-08 18:27:51 -07:00
Diptanu Choudhury 3c4002c48b Fixed the client tests 2016-07-08 17:49:58 -07:00
Diptanu Choudhury 89d7512d1f Merge pull request #1395 from hashicorp/f-check-port
Allowing ports to be overriden in check definitions
2016-07-08 17:21:01 -07:00
Diptanu Choudhury 48b9684b1e Using net.JoinHostPort instead of handcrafting addrs 2016-07-08 16:45:14 -07:00
Diptanu Choudhury 1784d98182 Fixed the host port environment variable 2016-07-08 15:37:44 -07:00
Diptanu Choudhury b180223f4b Allowing ports to be overriden in check definitions 2016-07-08 14:14:25 -07:00
Diptanu Choudhury 57c042d904 Merge pull request #1394 from rsyabuta/d-update-attr
update docs to use the new hostname attribute
2016-07-08 11:13:13 -07:00
Ryan Yabuta d60fd0f2e8 update docs to use the new hostname attribute 2016-07-08 10:32:31 -07:00
Brian Shumate 9723ad005a First use of term
Expand first use of HashiCorp Configuration Language in this page, followed by the abbreviated form
2016-07-07 12:22:14 -04:00
Brian Shumate d4b8d812cb Minor clarification
Point out that the agent should be back up and running again before proceeding to the run a job step.
2016-07-07 10:52:57 -04:00
Diptanu Choudhury 6b0e9edcf6 Merge pull request #1390 from hashicorp/docs
Added an upgrade guide for the 0.4.0 release
2016-07-06 12:16:04 -07:00
Diptanu Choudhury 6ed042a7fb Update the sentence 2016-07-06 12:15:34 -07:00
Diptanu Choudhury 246d60ade2 Added an upgrade guide for the 0.4.0 release 2016-07-06 11:48:13 -07:00
Cameron Davison 921a6c889c remove the expected leading space, after the colon in syslog 2016-07-06 11:08:24 -05:00
Cameron Davison 07a9e15560 get into the hour minute second part of the time before looking for spaces, and then looking for the : seperator 2016-07-06 11:08:24 -05:00
Diptanu Choudhury 177b56fcfe Fixed the metric names for allocation metrics 2016-07-01 12:25:09 -07:00
Diptanu Choudhury 6fe6e1fbf1 Fixed typo 2016-07-01 12:20:51 -07:00
Diptanu Choudhury 5e9c1b9138 Replacing programs with processes 2016-07-01 12:11:16 -07:00
Diptanu Choudhury 4846d44498 Merge pull request #1379 from hashicorp/client-telemetry-docs
updated the telemetry docs page to reflect the statistics published b…
2016-07-01 12:02:43 -07:00
Diptanu Choudhury d03e178880 Changed the metric name for host cpu core and disk 2016-07-01 12:01:52 -07:00
Diptanu Choudhury 5abdc493c7 Fixed the docs related to allocation stats 2016-07-01 11:57:38 -07:00
Alex Dadgar 506ee78a31 Merge pull request #1380 from hashicorp/d-hcl-only
Document validate works on HCL only
2016-07-01 11:54:38 -07:00
Alex Dadgar 79bb4d7d8e Document HCL only 2016-07-01 11:51:53 -07:00
Diptanu Choudhury b8dc9ae644 Fixed the docs related to client host stats 2016-07-01 11:46:05 -07:00
Alex Dadgar 637c916df6 Merge pull request #1377 from nkvoll/patch-1
Update Nomad version used in Vagrant demo to 0.4.0
2016-07-01 11:19:48 -07:00
Alex Dadgar 328e433cf6 Merge pull request #1373 from hashicorp/d-operating-job
Documentation for operating a job
2016-07-01 11:18:58 -07:00
Diptanu Choudhury 0a009cafb6 updated the telemetry docs page to reflect the statistics published by the Nomad client 2016-07-01 10:55:13 -07:00
Njal Karevoll 6a2f35a205 Update Nomad version used in Vagrant demo to 0.4.0 2016-07-01 14:48:57 +02:00
Alex Dadgar b2ecda408a respond to comments 2016-06-30 13:32:33 -07:00