Commit Graph

1010 Commits

Author SHA1 Message Date
Victor Vieux 0fca58b069 add Node back to inspect
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-06 16:40:55 -08:00
Victor Vieux e3e7ddb616 Merge pull request #432 from bacongobbler/patch-1
use Godep to install from source
2015-03-06 13:49:07 -08:00
Andrea Luzzardi 466242c8a9 Merge pull request #349 from vieux/pull_rmi
Add support for pull on all hosts (no change in docker run)
2015-03-06 11:56:32 -08:00
Victor Vieux 0e7f970d4d use a single callback
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-06 11:22:14 -08:00
Victor Vieux e0fa132ec9 add parallel
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-05 17:09:08 -08:00
Victor Vieux 7ad8a3705f add support for pull and rmi
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-05 17:09:08 -08:00
Andrea Luzzardi 342ef1fff2 Merge pull request #442 from vieux/cleanup2
Cleanup: Make swarm Node and Cluster functions private
2015-03-05 12:11:03 -08:00
Victor Vieux eccaf6e5eb Cleanup: Make swarm Node and Cluster functions private
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-05 11:53:40 -08:00
Andrea Luzzardi fe900c0c5c Merge pull request #444 from vieux/add_inspect_img
add inspect for images
2015-03-03 17:21:30 -08:00
Victor Vieux 426953c866 add inspect for images
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-03 16:30:31 -08:00
Andrea Luzzardi fd8ff48bec Merge pull request #443 from chanwit/bats-func-tests
Proposal: PoC for Bats integration tests
2015-03-03 16:18:41 -08:00
Andrea Luzzardi 2e65728d12 Merge pull request #423 from bfirsh/point-to-docs-in-readme
Point to documentation in the readme
2015-03-03 16:01:35 -08:00
Chanwit Kaewkasi 046f26f1b8 add Bats integration tests
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-03-04 03:13:30 +07:00
Andrea Luzzardi a25d0adf19 Merge pull request #439 from vieux/cleanup
cleanup: SwarmCluster -> Cluster && Node to node
2015-03-02 18:06:15 -08:00
Victor Vieux 0569f7d4dd swarm.Node -> swarm.node && some method now private
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-02 18:02:31 -08:00
Victor Vieux 92ab1e347c cleanup swarm scheduler code
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-02 17:55:06 -08:00
Andrea Luzzardi 3267a25bdc Merge pull request #441 from vieux/remove_force_refresh
remove proxyContainerAndForceRefresh
2015-03-02 17:51:36 -08:00
Victor Vieux e075c8fd46 remove proxyContainerAndForceRefresh
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-02 17:11:09 -08:00
Victor Vieux f8db6a6e67 Merge pull request #434 from mattva01/patch-1
Corrected typos in swarm scheduler docs
2015-02-28 15:27:55 -08:00
Matthew Gallagher 3c7e74c43e Corrected typos in swarm scheduler docs
Signed-off-by: Matthew Gallagher <mattva01@gmail.com>
2015-02-28 03:31:49 -05:00
Matthew Fisher f3defa3326 fix typo
Signed-off-by: Matthew Fisher <matthewf@opdemand.com>
2015-02-27 20:38:59 -08:00
Matthew Fisher f4485ba3d2 use Godep to install from source
Signed-off-by: Matthew Fisher <matthewf@opdemand.com>
2015-02-27 20:38:22 -08:00
Andrea Luzzardi 4087e022d6 Merge pull request #398 from bacongobbler/refactor-scores-to-weighted-node
refactor score to WeightedNode structure
2015-02-27 16:47:26 -08:00
Andrea Luzzardi db97473b40 Merge pull request #393 from vieux/mesos_poc
Proposal: Scheduler/Cluster Driver
2015-02-27 15:17:54 -08:00
Victor Vieux 8b7afe2c73 remove mesos.go to move it to it's own PR
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:25:50 -08:00
Victor Vieux a8885ab997 removed nodes.go
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:25:50 -08:00
Victor Vieux d8042f9677 add Node interface
Usable -> Total & Reserved -> Used

Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:25:50 -08:00
Victor Vieux 4bfeb4b640 move list of node to swarm only
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux 47e03120f5 remove Nodes(), add Images() and Images()
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux fa8a06685b remove events from the cluster interface
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux 6348fdd849 move discovery out of the cluster interface
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux ce98e66c63 cluster API instead of scheduler API
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux 126f550317 add SchedulerOptions
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux dd537dbe74 clean cut cluster - scheduler
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux 98a21bd373 initial mesos.go file full fo TODOs
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux eb88068f93 refactor code: move filter/ and strategy/ out of scheduler and create a simple
scheduler interface.

Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Andrea Luzzardi 6afdcb90bf Merge pull request #433 from vieux/update_dockerclient
update dockerclient
2015-02-27 14:18:56 -08:00
Victor Vieux 150940a67b update dockerclient
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:17:02 -08:00
Matthew Fisher 08b0ddbd14 refactor score to weightedNode structure
In many different scheduling strategies, a node is typically given
a certain weight based upon its values that are important to the
overall strategy. Exposing a weightedNode structure as well as a
new weightedNodeList type allows one to operate upon a set of nodes for
sorting purposes by assigning weights to each node and calling
sort.Sort() on a weightedNodeList.

Signed-off-by: Matthew Fisher <matthewf@opdemand.com>
2015-02-27 15:48:53 +00:00
Victor Vieux 4a18b36bbc Merge pull request #421 from bfirsh/add-beta-warning-to-docs
Add beta warning to docs
2015-02-26 17:13:27 -08:00
Ben Firshman 63658054ce Point to documentation in the readme
So the docs aren't duplicated in two places.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2015-02-26 16:13:52 +00:00
Ben Firshman 509a246a27 Add beta warning to docs
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2015-02-26 10:54:50 +00:00
Victor Vieux 621b83fc6f Merge pull request #420 from SvenDowideit/lets-use-the-right-repo-name
Spelling error in naming the image built
2015-02-25 17:40:44 -08:00
Victor Vieux 67ae35180c Merge pull request #418 from SvenDowideit/small-doc-tweaks
add an index and go make some small tweaks
2015-02-25 17:34:37 -08:00
Sven Dowideit c530cd1523 add an index and go make some small tweaks
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2015-02-26 11:19:14 +10:00
Sven Dowideit dec31d9cd8 Spelling error in naming the image built
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2015-02-26 09:51:30 +10:00
Victor Vieux 2acbea1149 Merge pull request #417 from frodenas/fix-createentries
Ignore empty addresses when creating discovery entries
2015-02-25 10:15:16 -08:00
Ferran Rodenas cecdd7df02 Ignore empty addresses when creating discovery entries
Signed-off-by: Ferran Rodenas <frodenas@gmail.com>
2015-02-24 22:10:31 -08:00
Andrea Luzzardi f326bc1f21 Merge pull request #416 from vieux/_manager_background
start the manager in bg
2015-02-24 12:01:05 -08:00
Victor Vieux a114c363b3 start the manager in bg
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-24 11:49:53 -08:00