{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/598","labels_url":"https://api.github.com/repos/docker/swarm/issues/598/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/598/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/598/events","html_url":"https://github.com/docker/swarm/issues/598","id":67231686,"number":598,"title":"Multi-tenancy: Leader Election","user":{"login":"aluzzardi","id":179503,"avatar_url":"https://avatars.githubusercontent.com/u/179503?v=3","gravatar_id":"","url":"https://api.github.com/users/aluzzardi","html_url":"https://github.com/aluzzardi","followers_url":"https://api.github.com/users/aluzzardi/followers","following_url":"https://api.github.com/users/aluzzardi/following{/other_user}","gists_url":"https://api.github.com/users/aluzzardi/gists{/gist_id}","starred_url":"https://api.github.com/users/aluzzardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aluzzardi/subscriptions","organizations_url":"https://api.github.com/users/aluzzardi/orgs","repos_url":"https://api.github.com/users/aluzzardi/repos","events_url":"https://api.github.com/users/aluzzardi/events{/privacy}","received_events_url":"https://api.github.com/users/aluzzardi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/swarm/labels/area/multi%20tenancy","name":"area/multi tenancy","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/swarm/milestones/3","html_url":"https://github.com/docker/swarm/milestones/0.3.0","labels_url":"https://api.github.com/repos/docker/swarm/milestones/3/labels","id":1026388,"number":3,"title":"0.3.0","description":"","creator":{"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},"open_issues":0,"closed_issues":90,"state":"closed","created_at":"2015-03-17T23:46:40Z","updated_at":"2015-06-29T23:08:19Z","due_on":"2015-06-16T07:00:00Z","closed_at":"2015-06-29T23:08:19Z"},"comments":8,"created_at":"2015-04-08T22:14:31Z","updated_at":"2015-07-10T23:43:20Z","closed_at":"2015-05-27T22:26:39Z","body":"Currently, only a single Swarm manager is allowed per cluster. This means that if it goes down, it becomes temporarily impossible to schedule new containers on the cluster. Existing containers will continue to operate as usual.\r\n\r\nIn order to get multi-tenancy, multiple masters should be allowed per cluster. Only one master at a time will be operational, the others will be in stand-by and perform a leader-election once the primary becomes unavailable.\r\n\r\nIdeally, the user could send API requests to any of the managers - if the request lands on a manager that is not currently the master, it will forward it to the right instance.\r\n\r\nMulti-tenancy depends on #507 for both shared state and leader election.\r\n\r\n See #377"},"comment":{"url":"https://api.github.com/repos/docker/swarm/issues/comments/120551569","html_url":"https://github.com/docker/swarm/issues/598#issuecomment-120551569","issue_url":"https://api.github.com/repos/docker/swarm/issues/598","id":120551569,"user":{"login":"arun-gupta","id":113947,"avatar_url":"https://avatars.githubusercontent.com/u/113947?v=3","gravatar_id":"","url":"https://api.github.com/users/arun-gupta","html_url":"https://github.com/arun-gupta","followers_url":"https://api.github.com/users/arun-gupta/followers","following_url":"https://api.github.com/users/arun-gupta/following{/other_user}","gists_url":"https://api.github.com/users/arun-gupta/gists{/gist_id}","starred_url":"https://api.github.com/users/arun-gupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arun-gupta/subscriptions","organizations_url":"https://api.github.com/users/arun-gupta/orgs","repos_url":"https://api.github.com/users/arun-gupta/repos","events_url":"https://api.github.com/users/arun-gupta/events{/privacy}","received_events_url":"https://api.github.com/users/arun-gupta/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T23:43:20Z","updated_at":"2015-07-10T23:43:20Z","body":"Docs at https://docs.docker.com/swarm/install-w-machine/ say \"A single system in your network is known as your Docker Swarm manager.\" How can multiple Docker Swarm managers be configured?"}}