Commit Graph

844 Commits

Author SHA1 Message Date
Thimo 3f05f82bc6 Fix spelling in README 2014-12-05 12:56:45 +01:00
Andrea Luzzardi 06949c5532 Add a note about swarm node setup in the README. 2014-12-04 16:37:44 -08:00
Andrea Luzzardi 172ca9d5aa Improve formatting of discovery README. 2014-12-04 12:44:40 -08:00
Andrea Luzzardi d2b6522ce9 Add a README file for discovery explaining the API. 2014-12-04 12:35:30 -08:00
Andrea Luzzardi 6604d92c41 Add build status to the README file. 2014-12-04 10:48:59 -08:00
Andrea Luzzardi 45d5740b07 Add travis-ci.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-12-04 09:31:07 -08:00
Andrea Luzzardi 2e7d972755 Cluster: Match NodeName/ContainerId as well as NodeId/ContainerId.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-12-03 15:10:11 -08:00
Victor Vieux b8584f839d Update README.md 2014-12-03 23:45:35 +01:00
Victor Vieux f8245da596 fix tests 2014-12-03 12:56:29 +00:00
Victor Vieux f3f4ab5153 Update README.md 2014-12-03 13:51:09 +01:00
Victor Vieux ff2acaeb46 Update README.md 2014-12-03 13:47:12 +01:00
Victor Vieux d94a949934 Update README.md 2014-12-03 13:45:18 +01:00
Victor Vieux 94ea6a43ee Update README.md 2014-12-03 13:44:04 +01:00
Victor Vieux 42909c9daf update for dockerclient 2014-12-03 12:28:05 +00:00
Solomon Hykes 23db3553ec s/swarmd/swarm/ 2014-12-03 13:23:18 +01:00
Solomon Hykes 5eb33460e6 Clearer explanation in README 2014-12-03 13:22:37 +01:00
Solomon Hykes ecd2508ea0 Make title shorter 2014-12-03 13:19:16 +01:00
Solomon Hykes 204ac80a33 Updated README 2014-12-03 13:18:03 +01:00
Victor Vieux a1dcc3ef7a smaller logo 2014-12-03 11:47:55 +01:00
Andrea Luzzardi e23ecfdf94 Merge branch 'master' into future 2014-12-03 01:27:04 -08:00
Andrea Luzzardi f5827052a4 Port filtering: Fixed a race condition.
Port filtering used to rely on NetworkSettings, however, those are not
populated until the container is started. While stopped, the filter was
unaware of the port being used, resulting in a race condition.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-12-02 17:46:22 -08:00
Andrea Luzzardi ad5040c9f4 Set the container status to pending if the underlying host is not healthy
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-12-02 17:46:22 -08:00
Victor Vieux accf600c32 Update README.md 2014-12-02 16:22:51 -06:00
Victor Vieux f4e0020ee6 add logo 2014-12-02 16:19:15 -06:00
Solomon Hykes 6336a56f05 New 'swarm' implementation by @vieux and @aluzzardi.
* Focus on native compatibility with Docker remote API
    * Full-featured "batteries included" scheduler with bin packing and resource management
    * Bring back pluggable backends once the user experience is awesome
    * The primary form factor is the command-line, not a library (hence the rename)
    * Move machine management (Rackspace, Azure, EC2, SSH, Openstack etc) to a separate project, for clarity.
    * Move libchan-based service composition abstraction into the libchan repo, for clarity.
    * Aim for native Docker integration in the mid-long term

TLDR: more focus, new code, new team, ship real things early and often.

Swarm is back!

Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Andrea Luzzardi <al@docker.com>
Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-11-26 16:25:56 -08:00
Solomon Hykes 2cff50a98b Merge pull request #110 from erikh/remove-unused-import
Remove unused import
2014-11-26 16:11:50 -08:00
Victor Vieux f7fed9a7bd add tests for events 2014-11-25 02:14:29 +00:00
Victor Vieux 0872d4f549 add test 2014-11-25 01:43:01 +00:00
Andrea Luzzardi cf65a010d6 Health filter: Only schedule containers on healthy nodes.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 17:07:26 -08:00
Andrea Luzzardi 24985d2e4f Node: API to add/remove/cleanup the internal containers state.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 16:10:49 -08:00
Andrea Luzzardi 7a07b63104 Node: Basic health checking.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 16:10:48 -08:00
Andrea Luzzardi 622eb9339e Node: Apply a request timeout when communicating with nodes.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 16:10:48 -08:00
Victor Vieux 3e930e0e9c add host labels 2014-11-21 23:33:18 +00:00
Victor Vieux f502698aed add more infos to events 2014-11-21 22:37:43 +00:00
Victor Vieux 8635f0fb4d update demo with 'node' 2014-11-21 22:18:09 +00:00
Andrea Luzzardi 4f3c15d9fe Label filter: Support for node pinning by name or id.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 14:13:40 -08:00
Andrea Luzzardi 7d930b8809 label filter: Ensure constraints are evaluated as logical ANDs.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 14:13:40 -08:00
Andrea Luzzardi 5251670529 Rename attribute filter file to label.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 14:13:40 -08:00
Andrea Luzzardi 1dead64e11 Rename attributes to labels.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 14:13:40 -08:00
Victor Vieux bf04e484f9 add contrib folder 2014-11-21 22:11:36 +00:00
Victor Vieux 0b13dce1c5 add demo script 2014-11-21 19:47:08 +00:00
Victor Vieux f40ec59495 speed up refresh 2014-11-21 19:11:03 +00:00
Victor Vieux 1f74cb5809 remove races 2014-11-21 01:36:30 +00:00
Victor Vieux dd05044b96 add version 2014-11-21 00:18:06 +00:00
Andrea Luzzardi f9986bbb02 manage cluster: Set a default overcommit ratio of 5%.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-20 16:19:05 -08:00
Andrea Luzzardi 8e3ded4916 Added resource overcommit support to the binpacking strategy.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-20 16:19:05 -08:00
Victor Vieux a64cf5821c fix list cluster 2014-11-20 23:59:53 +00:00
Victor Vieux 80cc51c9be fix heartbeat 2014-11-20 23:56:42 +00:00
Andrea Luzzardi dacb3e2ef1 Fix tests for the NewNode API changes.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-20 15:56:12 -08:00
Victor Vieux 1476d3e8af fix hearbeat join 2014-11-20 23:00:50 +00:00