{"action":"created","issue":{"url":"https://api.github.com/repos/deis/charts/issues/39","labels_url":"https://api.github.com/repos/deis/charts/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/deis/charts/issues/39/comments","events_url":"https://api.github.com/repos/deis/charts/issues/39/events","html_url":"https://github.com/deis/charts/pull/39","id":122383127,"number":39,"title":"feat(router): add service for router","user":{"login":"krancour","id":1821014,"avatar_url":"https://avatars.githubusercontent.com/u/1821014?v=3","gravatar_id":"","url":"https://api.github.com/users/krancour","html_url":"https://github.com/krancour","followers_url":"https://api.github.com/users/krancour/followers","following_url":"https://api.github.com/users/krancour/following{/other_user}","gists_url":"https://api.github.com/users/krancour/gists{/gist_id}","starred_url":"https://api.github.com/users/krancour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krancour/subscriptions","organizations_url":"https://api.github.com/users/krancour/orgs","repos_url":"https://api.github.com/users/krancour/repos","events_url":"https://api.github.com/users/krancour/events{/privacy}","received_events_url":"https://api.github.com/users/krancour/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/deis/charts/labels/awaiting%20review","name":"awaiting review","color":"e11d21"},{"url":"https://api.github.com/repos/deis/charts/labels/LGTM1","name":"LGTM1","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"krancour","id":1821014,"avatar_url":"https://avatars.githubusercontent.com/u/1821014?v=3","gravatar_id":"","url":"https://api.github.com/users/krancour","html_url":"https://github.com/krancour","followers_url":"https://api.github.com/users/krancour/followers","following_url":"https://api.github.com/users/krancour/following{/other_user}","gists_url":"https://api.github.com/users/krancour/gists{/gist_id}","starred_url":"https://api.github.com/users/krancour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krancour/subscriptions","organizations_url":"https://api.github.com/users/krancour/orgs","repos_url":"https://api.github.com/users/krancour/repos","events_url":"https://api.github.com/users/krancour/events{/privacy}","received_events_url":"https://api.github.com/users/krancour/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/deis/charts/milestones/1","html_url":"https://github.com/deis/charts/milestones/v2.0-alpha1","labels_url":"https://api.github.com/repos/deis/charts/milestones/1/labels","id":1441057,"number":1,"title":"v2.0-alpha1","description":"","creator":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":19,"state":"open","created_at":"2015-12-03T00:40:00Z","updated_at":"2015-12-15T22:35:26Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-12-15T22:35:19Z","updated_at":"2015-12-15T22:40:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/deis/charts/pulls/39","html_url":"https://github.com/deis/charts/pull/39","diff_url":"https://github.com/deis/charts/pull/39.diff","patch_url":"https://github.com/deis/charts/pull/39.patch"},"body":"This adds a service of `type: LoadBalancer` to the chart.  This is the _primary_ of two possible strategies for exposing the router(s) for ingress from outside the cluster.  `type: LoadBalancer` will compel k8s to create a load balancer external to the cluster where supported.  For instance, this usually works fine on GKE or most k8s distributions running on AWS.\r\n\r\nFor infrastructure with a k8s \"cloud provider,\" the functions that support this are implemented as no-ops, meaning there should be no harm from applying this on bare metal or Vagrant, for instance, where this service will simply have no effect.\r\n\r\nFor such cases, we'll have to document a secondary option for getting incoming traffic to the router.  I'm not sure where that documentation goes since charts don't seem to have their own docs.\r\n\r\nfwiw, the fallback option is to manually create a load balancer that pipes 80 -> 80, 443 -> 443, 2222 -> 2222, and 9090 -> 9090, with a healthcheck using HTTP on `9090:/healthz`.  Router instances take up those ports on any host they run on.  Just those instances will pass the healthcheck and will therefore be load balanced.  This is the same strategy that was used in Deis v1.x."},"comment":{"url":"https://api.github.com/repos/deis/charts/issues/comments/164920079","html_url":"https://github.com/deis/charts/pull/39#issuecomment-164920079","issue_url":"https://api.github.com/repos/deis/charts/issues/39","id":164920079,"user":{"login":"technosophos","id":89193,"avatar_url":"https://avatars.githubusercontent.com/u/89193?v=3","gravatar_id":"","url":"https://api.github.com/users/technosophos","html_url":"https://github.com/technosophos","followers_url":"https://api.github.com/users/technosophos/followers","following_url":"https://api.github.com/users/technosophos/following{/other_user}","gists_url":"https://api.github.com/users/technosophos/gists{/gist_id}","starred_url":"https://api.github.com/users/technosophos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technosophos/subscriptions","organizations_url":"https://api.github.com/users/technosophos/orgs","repos_url":"https://api.github.com/users/technosophos/repos","events_url":"https://api.github.com/users/technosophos/events{/privacy}","received_events_url":"https://api.github.com/users/technosophos/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T22:40:28Z","updated_at":"2015-12-15T22:40:28Z","body":"FWIW, charts will have their own docs soon. We just need to ship Helm 0.3"}}