{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/633","labels_url":"https://api.github.com/repos/docker/swarm/issues/633/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/633/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/633/events","html_url":"https://github.com/docker/swarm/issues/633","id":69029238,"number":633,"title":"Cluster driver specific flags","user":{"login":"vieux","id":1032519,"avatar_url":"https://avatars.githubusercontent.com/u/1032519?v=3","gravatar_id":"","url":"https://api.github.com/users/vieux","html_url":"https://github.com/vieux","followers_url":"https://api.github.com/users/vieux/followers","following_url":"https://api.github.com/users/vieux/following{/other_user}","gists_url":"https://api.github.com/users/vieux/gists{/gist_id}","starred_url":"https://api.github.com/users/vieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vieux/subscriptions","organizations_url":"https://api.github.com/users/vieux/orgs","repos_url":"https://api.github.com/users/vieux/repos","events_url":"https://api.github.com/users/vieux/events{/privacy}","received_events_url":"https://api.github.com/users/vieux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/swarm/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/docker/swarm/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2015-04-16T23:27:26Z","updated_at":"2015-05-13T00:52:30Z","closed_at":null,"body":"We need each cluster driver to install specific flags in swarm and I have 2 questions: \r\n\r\nCLI\r\n----\r\n\r\n* Should we do something simple like docker-machine did:\r\n`swarm --debug manage --tlsverify 1.2.3.4:2375`\r\n`swarm --debug manage --tlsverify -c mesos --mesos-user=root 1.2.3.4:5050`\r\n\r\n * Pros: easy to implement\r\n * Cons: `swarm manage --help` will display all the flags installed by all the drivers\r\n\r\n* Or more complicated like using subcommands:\r\n`swarm --debug manage --tlsverify swarm 1.2.3.4:2375`\r\n`swarm --debug manage --tlsverify mesos -user=root 1.2.3.4:5050`\r\n\r\n * Pros: the help will be cleaner we will have a help per driver.\r\n * Cons: Not sure `swarm --debug manage --tlsverify 1.2.3.4:2375` will be possible (no swarm) so we might have to change the cli\r\n\r\nSwarm only flag\r\n----\r\n\r\nI want to test this by moving a manage flag to be swarm only, I was thinking about `--overcommit` but @tnachen told me it could be useful with `mesos` so I am not sure. Maybe `--heartbeat` ?\r\n "},"comment":{"url":"https://api.github.com/repos/docker/swarm/issues/comments/101471446","html_url":"https://github.com/docker/swarm/issues/633#issuecomment-101471446","issue_url":"https://api.github.com/repos/docker/swarm/issues/633","id":101471446,"user":{"login":"vieux","id":1032519,"avatar_url":"https://avatars.githubusercontent.com/u/1032519?v=3","gravatar_id":"","url":"https://api.github.com/users/vieux","html_url":"https://github.com/vieux","followers_url":"https://api.github.com/users/vieux/followers","following_url":"https://api.github.com/users/vieux/following{/other_user}","gists_url":"https://api.github.com/users/vieux/gists{/gist_id}","starred_url":"https://api.github.com/users/vieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vieux/subscriptions","organizations_url":"https://api.github.com/users/vieux/orgs","repos_url":"https://api.github.com/users/vieux/repos","events_url":"https://api.github.com/users/vieux/events{/privacy}","received_events_url":"https://api.github.com/users/vieux/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T00:52:30Z","updated_at":"2015-05-13T00:52:30Z","body":"I opened a PR with @aluzzardi suggestion #774\r\n\r\nIt's very simple on purpose, when might refactor the code later if need."}}