Commit graph

1801 commits

Author SHA1 Message Date
Alex Dadgar fbc5eee001 Merge pull request #287 from hashicorp/f-system-scheduler
Add System Scheduler that runs tasks on every node
2015-10-16 17:21:45 -07:00
Alex Dadgar fd77180d64 Merge pull request #291 from hashicorp/d-rkt-volume-mounts-blocked
Document that Rkt doesn't support task directory mounting
2015-10-16 17:07:53 -07:00
Alex Dadgar a087f6223c Merge pull request #297 from achanda/jvm_opts_fix
Actually append jvm opts to the CLI
2015-10-16 17:07:05 -07:00
Alex Dadgar d9b78ffdfe Remove base nodes from stack constructors 2015-10-16 17:05:23 -07:00
Alex Dadgar 1a1febba4f Unit tests for the refactor scheduler methods 2015-10-16 16:35:55 -07:00
Abhishek Chanda 9e541450c2 Actually append jvm opts to the CLI
- Also adds a test
2015-10-16 22:45:16 +00:00
Alex Dadgar bdfe7e0887 Validate task group count on system scheduler 2015-10-16 14:15:01 -07:00
Alex Dadgar 1ec921a3c2 Refactor task group constraint logic in generic/system stack 2015-10-16 14:00:51 -07:00
Chris Bednarski ec3aef58ab Merge pull request #296 from hashicorp/remove-defaultclient
Remove usage of http.DefaultClient
2015-10-16 13:57:36 -07:00
Jeff Mitchell 50c2955f54 Remove usage of http.DefaultClient 2015-10-16 16:56:43 -04:00
Alex Dadgar 4de4292536 Merge pull request #293 from achanda/jvm_opts
Support passing options to the JVM in java driver
2015-10-16 13:37:53 -07:00
Abhishek Chanda 603526c341 Add docs for jvm_options 2015-10-16 12:44:43 -07:00
Abhishek Chanda dfbdb10fcb No need to pass jvm_options initially 2015-10-16 12:44:43 -07:00
Abhishek Chanda ab1a8f3532 Some minor style cleanups 2015-10-16 12:44:33 -07:00
Abhishek Chanda 6ab97078e5 Support passing options to the JVM in java driver
Closes #292
2015-10-16 12:44:33 -07:00
Alex Dadgar ab9acb9edf diffResult stores values not pointers 2015-10-16 11:43:09 -07:00
Alex Dadgar 406e135ce8 Add negative test to DriverIterator, increase system scheduler attempts, and fix evictAndPlace status message 2015-10-16 11:36:26 -07:00
Alex Dadgar cadc738fa0 Fix broken test 2015-10-16 10:11:31 -07:00
Alex Dadgar f185701d6d Rkt driver clears task environment variables 2015-10-15 18:19:13 -07:00
Alex Dadgar 384a622c59 Add clearing to environment variables 2015-10-15 18:13:05 -07:00
Alex Dadgar 9c7c88176a Rename from bug to issue 2015-10-15 17:56:36 -07:00
Alex Dadgar fe9c0f46bf Document that Rkt doesn't support task directory mounting 2015-10-15 17:55:26 -07:00
Alex Dadgar 668b103332 Merge pull request #290 from hashicorp/f-docker-alloc-mount
Mount task_local and alloc dir to docker containers
2015-10-15 17:47:32 -07:00
Alex Dadgar c7fd8993c1 Change two helper functions to be methods 2015-10-15 17:47:14 -07:00
Alex Dadgar a0d9f8dd33 Remove debug lines 2015-10-15 17:30:40 -07:00
Alex Dadgar 75d158e3d5 Documentation 2015-10-15 17:28:25 -07:00
Alex Dadgar 2f6a279d09 Docker alloc dir tests and test fixes 2015-10-15 16:59:08 -07:00
Alex Dadgar 1d15f6eda6 Bind alloc dir and task local dir to docker containers and parse args correctly 2015-10-15 16:40:07 -07:00
Alex Dadgar 70c39bd5a4 Add diffSystemAlloc which gives richer information which node to place a system allocation 2015-10-15 13:14:44 -07:00
Alex Dadgar 5e5690cdca Merge pull request #286 from achanda/version
Trim extra newline from kernel version
2015-10-15 09:54:43 -07:00
Abhishek Chanda 953bd8b53f Trim extra newline from kernel version 2015-10-15 00:54:21 -07:00
Alex Dadgar 65fd28d7d1 Refactor shared code between schedulers 2015-10-14 18:39:44 -07:00
Alex Dadgar 692efe513d Use valid driver values in test 2015-10-14 18:39:44 -07:00
Alex Dadgar 494244ed06 System scheduler and system stack 2015-10-14 18:39:44 -07:00
Chris Bednarski bf3b036573 Merge pull request #279 from hashicorp/edit-this-page
Add "Edit this page" link everywhere except /
2015-10-14 17:13:28 -07:00
Alex Dadgar bcee9e1cd7 Merge pull request #280 from achanda/docker-gofmt
Run gofmt on the docker driver
2015-10-14 11:32:16 -07:00
Seth Vargo 2cc0c5830e Merge pull request #282 from hashicorp/demo-vim
Install vim in demos
2015-10-14 11:57:12 -04:00
Jack Pearkes c9e4b94d60 Install vim in demos
I'm probably not the only one that reached for `vim` during the getting started guide. Super minor but might safe some apt-get'ing.

![](https://dl.dropboxusercontent.com/s/mg38fo0k82lxdlv/2015-10-14%20at%205.49%20PM.png)
2015-10-14 17:50:03 +02:00
Abhishek Chanda dbe9fa9f27 Run gofmt on the docker driver 2015-10-13 23:21:16 +00:00
Sam Handler 72fcbbb337 website: add 'Edit this page' link everywhere but index 2015-10-13 17:52:44 -04:00
Sam Handler 0e4ffe0d2f website: bundle update middleman-hashicorp 2015-10-13 17:51:50 -04:00
Sam Handler b6f50a5c66 website: add github_slug to config.rb 2015-10-13 17:51:01 -04:00
Sam Handler 5bc18fb3a7 website: add makefile and update README 2015-10-13 17:50:23 -04:00
Alex Dadgar 1b52202482 Merge pull request #267 from achanda/docs
Some docs update
2015-10-13 14:45:36 -07:00
Armon Dadgar b86c4cf0fc Merge pull request #274 from hashicorp/f-cache-constraint
scheduler: adding regexp and version constraint cache
2015-10-13 14:44:14 -07:00
Abhishek Chanda 0af5f1390f Clarify that container is an invalid option 2015-10-13 13:31:56 -07:00
Alex Dadgar d5e503d07a Merge pull request #275 from achanda/docker_config
Do not default to a network mode
2015-10-13 13:05:07 -07:00
Abhishek Chanda 36dc8a5a18 Do not default to a network mode
Makes the driver error out when a wrong or un-supported
network_mode is used
2015-10-13 10:57:21 -07:00
Armon Dadgar 931a113cb5 scheduler: adding regexp and version constraint cache 2015-10-12 20:15:07 -07:00
Alex Dadgar 76ec48bfce Merge pull request #215 from Carevoyance/gce_fingerprint
Add GCE fingerprinting functionality
2015-10-12 16:14:32 -07:00