{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/flux/issues/32","repository_url":"https://api.github.com/repos/weaveworks/flux","labels_url":"https://api.github.com/repos/weaveworks/flux/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/flux/issues/32/comments","events_url":"https://api.github.com/repos/weaveworks/flux/issues/32/events","html_url":"https://github.com/weaveworks/flux/issues/32","id":140370860,"number":32,"title":"Add edge balancer to swarm tutorial","user":{"login":"amouat","id":246775,"avatar_url":"https://avatars.githubusercontent.com/u/246775?v=3","gravatar_id":"","url":"https://api.github.com/users/amouat","html_url":"https://github.com/amouat","followers_url":"https://api.github.com/users/amouat/followers","following_url":"https://api.github.com/users/amouat/following{/other_user}","gists_url":"https://api.github.com/users/amouat/gists{/gist_id}","starred_url":"https://api.github.com/users/amouat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amouat/subscriptions","organizations_url":"https://api.github.com/users/amouat/orgs","repos_url":"https://api.github.com/users/amouat/repos","events_url":"https://api.github.com/users/amouat/events{/privacy}","received_events_url":"https://api.github.com/users/amouat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-12T10:26:31Z","updated_at":"2016-04-06T17:46:48Z","closed_at":null,"body":"The swarm tutorial launches curl in a container to connect to the service end-point. It would be nice if you took this one step further and added the edge balancer, so that users could connect from the host:\r\n\r\n    docker run -p 8080:80 -d -e ETCD_ADDRESS -e SERVICE=httpd weaveworks/flux-edgebal\r\n\r\nYou could also update the image from httpd to weaveworks/hello-world and connect via the browser as per the normal tutorial. This would have the advantage of showing that all nodes are load-balanced. There is a slight complication with which VM is exposed though.\r\n\r\nPersonally, I wasn't overly concerned with the monitoring or UI stuff, I just needed a quick & easy solution to load-balancing a group of images on swarm. The tutorial was great after my coffee kicked and I managed to follow it correctly, but it felt like it was missing the final steps. Alternatively, I guess you could just point users to the normal tutorial at the end."},"comment":{"url":"https://api.github.com/repos/weaveworks/flux/issues/comments/206485255","html_url":"https://github.com/weaveworks/flux/issues/32#issuecomment-206485255","issue_url":"https://api.github.com/repos/weaveworks/flux/issues/32","id":206485255,"user":{"login":"mjlodge","id":2354066,"avatar_url":"https://avatars.githubusercontent.com/u/2354066?v=3","gravatar_id":"","url":"https://api.github.com/users/mjlodge","html_url":"https://github.com/mjlodge","followers_url":"https://api.github.com/users/mjlodge/followers","following_url":"https://api.github.com/users/mjlodge/following{/other_user}","gists_url":"https://api.github.com/users/mjlodge/gists{/gist_id}","starred_url":"https://api.github.com/users/mjlodge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjlodge/subscriptions","organizations_url":"https://api.github.com/users/mjlodge/orgs","repos_url":"https://api.github.com/users/mjlodge/repos","events_url":"https://api.github.com/users/mjlodge/events{/privacy}","received_events_url":"https://api.github.com/users/mjlodge/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T17:46:48Z","updated_at":"2016-04-06T17:46:48Z","body":"Thanks -- we need to put Flux guides on the main site, alongside the other guides we have for Net and Scope."}}