Commit Graph

377 Commits

Author SHA1 Message Date
Diptanu Choudhury
f385e33181 Setting a timeout in the docker client 2016-06-21 16:58:21 -07:00
Diptanu Choudhury
0b608e23ea Making SSL default 2016-06-21 16:41:14 -07:00
Michal Wieczorek
ff6a5aa799 Volume binds for windows containers 2016-06-20 21:46:33 +02:00
Sean Chittenden
9656a2045c Initialize the stats helpers before accessing them for the first time 2016-06-17 13:23:30 -07:00
Alex Dadgar
30edb676fa debug message when stopping container 2016-06-17 11:52:44 -07:00
Diptanu Choudhury
4ecba7c7c2 Changed the client options for docker volume selinux labels 2016-06-16 21:41:02 +01:00
Diptanu Choudhury
f3a805c6a5 Added documentation 2016-06-15 02:42:15 +02:00
Diptanu Choudhury
f091e2ec82 Added a client options for setting selinux options 2016-06-15 02:33:09 +02:00
Alex Dadgar
591104f848 Merge pull request #1260 from hashicorp/f-alloc-stats-struct
Allocation resources returned in a struct
2016-06-12 11:18:57 -07:00
Diptanu Choudhury
53a57cae79 Fix the calculation of total ticks for docker and exec 2016-06-12 18:08:35 +02:00
Alex Dadgar
1a7df4e7d2 Allocation resources returned in a struct 2016-06-11 21:04:10 -07:00
Diptanu Choudhury
b8fbdb78ca Using a different client for collecting stats and waiting on containers 2016-06-11 20:37:29 +02:00
Diptanu Choudhury
d1fdd27f86 Moving the clkspeed code to helper 2016-06-11 17:31:49 +02:00
Diptanu Choudhury
304403a2f8 Extracted a method for getting clock speed 2016-06-11 02:07:28 +02:00
Diptanu Choudhury
4ac1c673aa Implementing the total ticks per task for the docker driver 2016-06-10 23:33:25 +02:00
Alex Dadgar
693c8f9e42 Alloc-status only shows measured statistics and fixes to CPU calculations 2016-06-10 10:38:29 -07:00
Alex Dadgar
17af581d93 Annotate what is measured 2016-06-09 19:45:41 -07:00
Diptanu Choudhury
8c931a12ee Returning an error if stats collection hasn't started yet for a new docker container 2016-06-06 18:52:54 -07:00
Diptanu Choudhury
15e79c3783 Changing the api of the stats endpoints 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
03c9d94a2b Making the call to Stats on a go-routine 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
3a2cce2419 Simplified the docker stats collection 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
6132ccc230 Added pidstats in task resource usage struct 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
3192e318e9 Renamed CpuUsage to CpuStats 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
30cbfe1f71 Implemented cpu stats 2016-05-28 19:51:22 -07:00
Diptanu Choudhury
ea1370d426 Fixed implementation of the docker stats 2016-05-28 19:51:22 -07:00
Diptanu Choudhury
1cae57aee9 Add the Stats api to driverhandle 2016-05-28 19:42:34 -07:00
Daniel Kerwin
98b227fecf Add support for shm_size to docker driver. Required update of go-dockerclient
to more recent version (ba4298ecf4cfa216f1cce2befbf653359f62c722).
2016-05-27 12:30:04 +02:00
Sean Chittenden
29be52f762 Speling police 2016-05-15 09:41:34 -07:00
Ivo Verberk
e7efe615fd Docker labels configuration should be of type "array" in schema 2016-04-25 23:58:31 +02:00
Alex Dadgar
98aa9e6306 Timeout docker connections after 1 minute 2016-04-22 11:11:38 -07:00
Alex Dadgar
6b94f6b2b5 Remove unused field 2016-04-14 11:05:20 -07:00
Alex Dadgar
6e609fc60e changelog + docker GC cleanup 2016-04-14 10:52:38 -07:00
Alex Dadgar
3703ff4327 Merge pull request #1071 from hashicorp/b-docker-fix-gc
GC Docker containers and images after the container exits
2016-04-14 10:26:37 -07:00
Diptanu Choudhury
5bc6d3f3bd Fixing the API call of stopping container 2016-04-12 02:29:28 -07:00
Diptanu Choudhury
4d6a2dcda7 Removing container and image once the wait from docker api returns 2016-04-12 00:52:45 -04:00
Ivo Verberk
f68a57d272 Add interactive option to the Docker driver configuration schema 2016-04-10 12:20:01 +02:00
Ivo Verberk
51755c513f Implement configuration validation for all task drivers 2016-04-10 00:42:57 +02:00
Ivo Verberk
92bf6f1ad0 Add helper to validate raw configuration data 2016-04-10 00:42:43 +02:00
Paul Hinze
401b04529e client/docker: add interactive option
Equivalent to `docker run --interactive` - keeps STDIN open.

Also adds docs for both `tty` and `interactive` docker config.
2016-04-08 12:51:07 -05:00
Diptanu Choudhury
7a8c92cec6 Added the tty flag to the driverconfig 2016-04-06 09:54:45 -07:00
Diptanu Choudhury
d203d62684 Logging in fingerprinters only when state changes 2016-04-01 02:22:17 -07:00
Diptanu Choudhury
621ae065d9 Making driver fingerprinters run periodically and unblocking evals when node registration happens 2016-03-31 18:11:27 -07:00
Diptanu Choudhury
8760643621 Making the load a list of strings and added website docs 2016-03-30 17:23:29 -07:00
Diptanu Choudhury
3c8c789268 Simplified the logic of deciding how to create image 2016-03-30 15:45:17 -07:00
Diptanu Choudhury
be1482b553 Added docs 2016-03-30 15:26:51 -07:00
Diptanu Choudhury
b83c8da6b3 Added a test 2016-03-30 13:42:17 -07:00
Diptanu Choudhury
906bb77d9d Added ability to create image from archive 2016-03-30 13:09:32 -07:00
Diptanu Choudhury
1471f747f3 Added version to executor 2016-03-29 22:24:22 -07:00
Diptanu Choudhury
323975d500 Added the Version method to executor 2016-03-29 22:23:03 -07:00
Diptanu Choudhury
588666d0df Introducing ConsulContext 2016-03-24 15:57:16 -07:00