Commit Graph

594 Commits

Author SHA1 Message Date
Joe Abbey 2ec4f7f180 [WIP] Docker Cluster (#1126)
Co-Authored-By: Chris Girard <chris.girard@docker.com>
2019-06-06 08:17:28 -04:00
Misty Stanley-Jones ad063c8987 Move swarm docs to swarm subdirectory 2016-09-28 14:54:30 -07:00
Dongluo Chen dcaaa5570a Merge pull request #2436 from dongluochen/rescheduleWithOverlay
Reschedule containers with global network
2016-08-18 14:41:03 -07:00
Nishant Totla 5e2ae22513 Merge pull request #2444 from dongluochen/containerRefresh
Listen to health_status events
2016-08-17 16:20:43 -07:00
Dong Chen c3b9a533bc Reschedule with overlay network
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-08-17 11:41:08 -07:00
Allen Sun 26811e6a09 Merge pull request #2407 from xianlubird/bug/schedule-log
Fix scheduler detail log improper effect when container name is empty
2016-08-06 11:05:21 +08:00
Dong Chen c9d614ffe1 Listen to health_status events.
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-08-05 13:48:25 -07:00
xianlubird 2164f0283d Fix scheduler detail log improper effect when container name is empty
Signed-off-by: Xianlu <xianlu.cxl@alibaba-inc.com>
2016-08-02 11:06:49 +08:00
Allen Sun a5a7ed4526 Merge pull request #2244 from ezrasilvera/mesosCheckNameFix
Check unique container name on create and rename for Mesos cluster
2016-08-02 10:17:12 +08:00
Nishant Totla 0d05ee2354 Merge pull request #2206 from nishanttotla/http-client-create
Creating http client in swarm
2016-07-28 01:14:19 -07:00
Nishant Totla b88763773b
Adding case for updating client version, for Docker 1.12
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-07-22 16:34:20 -07:00
Nishant Totla 0f188a3787
Creating http client in swarm
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-07-22 16:29:20 -07:00
Doron Podoleanu bd74d1dc46 Ignoring gone Engine removing the network from the rest
Signed-off-by: Doron Podoleanu <doronp@il.ibm.com>

Use exported var

Signed-off-by: Doron Podoleanu <doronp@il.ibm.com>

Verify global scope before iteration on all engines

Signed-off-by: Doron Podoleanu <doronp@il.ibm.com>
2016-07-21 16:07:42 +03:00
Dong Chen 3982f039a2 Add healthcheck info to CLI.
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-07-19 18:33:43 -07:00
Dongluo Chen ef0aa2aeb2 Merge pull request #2423 from nishanttotla/engine-api-update-interface
Updating engine-api to latest, with a new client interface
2016-07-19 18:31:07 -07:00
Nishant Totla 62b0b29aa6
Adding new client interface in Swarm
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-07-19 16:56:09 -07:00
Alexandre Beslic 584c6bee65 Merge pull request #2400 from xianlubird/bug/refresh-network
Remove refresh network when creating container
2016-07-19 13:24:18 -07:00
allencloud c8e39ae954 refresh single volume when event emitted
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-07-13 12:05:07 +08:00
Dongluo Chen 165868e33a Merge pull request #2331 from allencloud/update-min-engine-version-swarm-supports
update min docker engine's version swarm supports
2016-07-12 17:37:51 -07:00
Ezra Silvera 3baf3e68e9 Fix double RLock in Mesos cluster
Signed-off-by: Ezra Silvera <ezra@il.ibm.com>

format

Signed-off-by: Ezra Silvera <ezra@il.ibm.com>
2016-07-12 12:17:46 -04:00
Ezra Silvera 265c55023c Check in pending tasks as well
Signed-off-by: Ezra Silvera <ezra@il.ibm.com>
2016-07-12 10:55:00 -04:00
Ezra Silvera eac4981da8 check unique container name
Signed-off-by: Ezra Silvera <ezra@il.ibm.com>
2016-07-12 10:55:00 -04:00
allencloud 0b544c93f7 update min docker engine's version swarm supports
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-07-12 09:51:39 +08:00
Dongluo Chen 5a6da69f6c Merge pull request #2163 from xianlubird/feature/rescheduler
fix issue #2162 add removeDuplicateContainers behaviour for every node when it's added.
2016-07-11 16:58:30 -07:00
xianlubird d1694cbab0 fix issue #2162 add removeDuplicateContainers behaviour for every node when it's added.
Signed-off-by: Xianlu <xianlu.cxl@alibaba-inc.com>
2016-07-07 13:22:10 +08:00
allencloud 7b7937cef1 consider system's difference between swarm and engine
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-07-07 13:02:28 +08:00
xianlubird e361f64180 Remove refresh network when creating container
Signed-off-by: Xianlu <xianlu.cxl@alibaba-inc.com>
2016-07-07 11:48:38 +08:00
Sun Hongliang c1100ab3a2 change the way of producing engine label
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-07-07 11:30:02 +08:00
allencloud baa3ca60d8 remove unnecessary err check and make some check better
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-07-05 11:06:57 +08:00
allencloud 3f2946107d in network event, just refresh the single network to improve performance
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-07-01 11:00:54 +08:00
allencloud d382fbd883 support daemon events for swarm
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-06-29 10:01:13 +08:00
Xian Chaobo a34785e489 Merge pull request #2303 from xianlubird/bug/concurrent_network
Fix network Uniq method concurrent map writes problem
2016-06-20 19:03:58 +08:00
NanXiao a897e53dcc Fix typo in cluster/swarm/cluster.go
Signed-off-by: NanXiao <nan@chinadtrace.org>
2016-06-17 19:40:55 +08:00
Doron Podoleanu 6d5638b95b Create in engine.go renamed to CreateContainer (#2283)
* Create in engine.go renamed to CreateContainer

Signed-off-by: Doron Podoleanu <doronp@il.ibm.com>
2016-06-15 16:56:03 -07:00
Dongluo Chen b3205ca161 Merge pull request #2288 from nishanttotla/refactoring-img-handling
Refactoring code around image ref generation
2016-06-14 14:34:20 -07:00
NanXiao 5f0e652d29 Edited cluster/cluster.go
Signed-off-by: NanXiao <nan@chinadtrace.org>
2016-06-13 17:47:09 +08:00
Xian Chaobo 453d71753e Merge pull request #2144 from allencloud/show-container-status-of-node-in-docker-info
show container status of each node in docker info
2016-06-06 10:32:27 -05:00
Allen Sun d9abab6ca9 Merge pull request #2261 from allencloud/remove-engine-in-volume-create-response
remove engine details in POST /volumes/create API
2016-06-04 11:48:14 +08:00
Dongluo Chen 416a781b64 Merge pull request #2281 from xianlubird/feature/scheduler_log
Add scheduler detail log for node
2016-06-03 10:41:37 -07:00
allencloud f62cd8c9aa fix typos
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-06-02 17:00:22 +08:00
xianlubird 61f3441d07 Add scheduler detail log for node info
Signed-off-by: Xianlu <xianlu.cxl@alibaba-inc.com>
2016-06-02 09:27:55 +08:00
xianlubird c4886bd006 Fix network uniq method concurrent map writes problem
Signed-off-by: Xianlu <xianlu.cxl@alibaba-inc.com>
2016-05-31 11:10:45 +08:00
allencloud d7241f3682 remove engine details in POST /volumes/create API
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-05-29 15:12:14 +08:00
Alexandre Beslic 13c9e87a9f Merge pull request #2262 from allencloud/remove-refreshVolumes-not-used
remove unused refreshVolumes in cluster.go
2016-05-27 14:10:41 -07:00
Nishant Totla e782541d99
Refactoring code around image ref generation
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-05-26 10:37:39 -07:00
Nishant Totla 89277806cb
Fixing RegistryAuth for image pulls
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-05-25 17:48:14 -07:00
Nishant Totla 46ba8763be
Updating unit tests for updated engine-api
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-05-25 16:53:02 -07:00
Nishant Totla 82f1bfe0ec
Changing relevant function calls for updated engine-api
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-05-25 15:47:06 -07:00
allencloud 7d5ef9016d remove not used refreshVolumes in cluster.go
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-05-23 00:35:37 +08:00
fugr ae824704e5 fix missing handle 'update' event massage.
Signed-off-by: fugr <fugr2012@gmail.com>
2016-05-14 19:13:56 +08:00