{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/323","labels_url":"https://api.github.com/repos/docker/swarm/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/323/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/323/events","html_url":"https://github.com/docker/swarm/issues/323","id":55724764,"number":323,"title":"Swarm can not unregister node manually","user":{"login":"resouer","id":1701782,"avatar_url":"https://avatars.githubusercontent.com/u/1701782?v=3","gravatar_id":"","url":"https://api.github.com/users/resouer","html_url":"https://github.com/resouer","followers_url":"https://api.github.com/users/resouer/followers","following_url":"https://api.github.com/users/resouer/following{/other_user}","gists_url":"https://api.github.com/users/resouer/gists{/gist_id}","starred_url":"https://api.github.com/users/resouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resouer/subscriptions","organizations_url":"https://api.github.com/users/resouer/orgs","repos_url":"https://api.github.com/users/resouer/repos","events_url":"https://api.github.com/users/resouer/events{/privacy}","received_events_url":"https://api.github.com/users/resouer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-28T07:52:09Z","updated_at":"2015-01-29T22:18:51Z","closed_at":"2015-01-29T22:18:51Z","body":"Currently, we can not unregister or remove a node from a cluster. Although filter will make sure unhealthy node will not be served, but we really need to remove some nodes, for example it has failed or been destroyed. There's also complain from group.\r\n\r\nSo I think we should have this function in swarm. But that requires refactor of discovery interface.\r\nI'm happy to give this a shot if this makes sense. "}}