Skip to content
This repository was archived by the owner on Feb 1, 2021. It is now read-only.

Commit 39939d7

Browse files
authored
Merge pull request #2853 from nishanttotla/remove-mesos-integration
Remove Mesos integration
2 parents 41f9fcc + c6fc529 commit 39939d7

File tree

108 files changed

+3
-84941
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+3
-84941
lines changed

cli/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ var (
129129

130130
flCluster = cli.StringFlag{
131131
Name: "cluster-driver, c",
132-
Usage: "cluster driver to use [swarm, mesos-experimental]",
132+
Usage: "cluster driver to use [swarm]",
133133
Value: "swarm",
134134
}
135135
flClusterOpt = cli.StringSliceFlag{

cli/help.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Run '{{.Name}} COMMAND --help' for more information on a command.
3232
3333
{{.Usage}}{{if $DISCOVERY}}
3434
35-
Arguments:
35+
Arguments:
3636
<discovery> discovery service to use [$SWARM_DISCOVERY]
3737
* token://<token>
3838
* consul://<ip>/<path>
@@ -45,13 +45,6 @@ Options:
4545
{{range .Flags}}{{.}}
4646
{{end}}{{if (eq .Name "manage")}}{{printf "\t * swarm.overcommit=0.05\tovercommit to apply on resources"}}
4747
{{printf "\t * swarm.createretry=0\tcontainer create retry count after initial failure"}}
48-
{{printf "\t * mesos.address=\taddress to bind on [$SWARM_MESOS_ADDRESS]"}}
49-
{{printf "\t * mesos.checkpointfailover=false\tcheckpointing allows a restarted slave to reconnect with old executors and recover status updates, at the cost of disk I/O [$SWARM_MESOS_CHECKPOINT_FAILOVER]"}}
50-
{{printf "\t * mesos.port=\tport to bind on [$SWARM_MESOS_PORT]"}}
51-
{{printf "\t * mesos.offertimeout=30s\ttimeout for offers [$SWARM_MESOS_OFFER_TIMEOUT]"}}
52-
{{printf "\t * mesos.offerrefusetimeout=5s\tseconds to consider unused resources refused [$SWARM_MESOS_OFFER_REFUSE_TIMEOUT]"}}
53-
{{printf "\t * mesos.tasktimeout=5s\ttimeout for task creation [$SWARM_MESOS_TASK_TIMEOUT]"}}
54-
{{printf "\t * mesos.user=\tframework user [$SWARM_MESOS_USER]"}}{{end}}{{ end }}
5548
`
5649

5750
}

cli/manage.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
"github.com/docker/leadership"
1616
"github.com/docker/swarm/api"
1717
"github.com/docker/swarm/cluster"
18-
"github.com/docker/swarm/cluster/mesos"
1918
"github.com/docker/swarm/cluster/swarm"
2019
"github.com/docker/swarm/scheduler"
2120
"github.com/docker/swarm/scheduler/filter"
@@ -286,9 +285,6 @@ func manage(c *cli.Context) {
286285
sched := scheduler.New(s, fs)
287286
var cl cluster.Cluster
288287
switch c.String("cluster-driver") {
289-
case "mesos-experimental":
290-
log.Warn("WARNING: the mesos driver is currently experimental, use at your own risks")
291-
cl, err = mesos.NewCluster(sched, tlsConfig, uri, c.StringSlice("cluster-opt"), engineOpts)
292288
case "swarm":
293289
cl, err = swarm.NewCluster(sched, tlsConfig, discovery, c.StringSlice("cluster-opt"), engineOpts)
294290
default:

cluster/mesos/README.md

Lines changed: 0 additions & 150 deletions
This file was deleted.

cluster/mesos/agent.go

Lines changed: 0 additions & 79 deletions
This file was deleted.

cluster/mesos/agent_test.go

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)