{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/contrib/pulls/comments/41349744","id":41349744,"diff_hunk":"@@ -15,6 +15,35 @@ This module will not help with the latter\n \n ## Overview\n \n+The image below roughly describes the service-loadbalancer alternative (compared with using NodePorts).\n+\n+```\n+                          +----------------------+                     \n+                          | haproxy load balancer|                     \n+                          +---------+------------+                     \n+                                    |                                  \n+                +-------------------+---------------+                  \n+                |                                   |                  \n+   +------------+----------------+     +-----------+--------------------+\n+   |kubelet role=loadbalancer (1)|     |kubelet role=loadbalancer (2)   |\n+   +----+------------------------+     +--------------------------------+\n+        |                                                       |\n+        |                                                       |\n+        | --tcpServices=postgresql:3333                         | --tcpServices=postgresql:3333  \n+        |                                                       |    \n+        |               +-----------------------------+         |    \n+        |               |   service for postgresql    |         |    \n+        |               +-----------------------------|         |    \n+        |                      |  targetPort=2222,port=3333     |    \n+        |           +------+-----------+    +----------------+  |    \n+        |           |                  |    |                |  |    \n+        +---------->| k1postgresql     |    | k2postgresql   | <-  ","path":"service-loadbalancer/README.md","position":26,"original_position":26,"commit_id":"4aded4a1091d4e7c510f3d63cfc6cdca70e06f9f","original_commit_id":"4aded4a1091d4e7c510f3d63cfc6cdca70e06f9f","user":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"body":"Since the tcp example is actually mysql it would help if you reworded this example to suit the example","created_at":"2015-10-07T04:08:44Z","updated_at":"2015-10-07T04:08:44Z","html_url":"https://github.com/kubernetes/contrib/pull/136#discussion_r41349744","pull_request_url":"https://api.github.com/repos/kubernetes/contrib/pulls/136","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/contrib/pulls/comments/41349744"},"html":{"href":"https://github.com/kubernetes/contrib/pull/136#discussion_r41349744"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/contrib/pulls/136"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/contrib/pulls/136","id":46558608,"html_url":"https://github.com/kubernetes/contrib/pull/136","diff_url":"https://github.com/kubernetes/contrib/pull/136.diff","patch_url":"https://github.com/kubernetes/contrib/pull/136.patch","issue_url":"https://api.github.com/repos/kubernetes/contrib/issues/136","number":136,"state":"open","locked":false,"title":"First take at a sv lb diagram","user":{"login":"jayunit100","id":826111,"avatar_url":"https://avatars.githubusercontent.com/u/826111?v=3","gravatar_id":"","url":"https://api.github.com/users/jayunit100","html_url":"https://github.com/jayunit100","followers_url":"https://api.github.com/users/jayunit100/followers","following_url":"https://api.github.com/users/jayunit100/following{/other_user}","gists_url":"https://api.github.com/users/jayunit100/gists{/gist_id}","starred_url":"https://api.github.com/users/jayunit100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayunit100/subscriptions","organizations_url":"https://api.github.com/users/jayunit100/orgs","repos_url":"https://api.github.com/users/jayunit100/repos","events_url":"https://api.github.com/users/jayunit100/events{/privacy}","received_events_url":"https://api.github.com/users/jayunit100/received_events","type":"User","site_admin":false},"body":"Heres a first take at a diagram for describing how this works for users.\r\nAlso hoping it will help clarify details which i may be missing.","created_at":"2015-10-01T18:24:16Z","updated_at":"2015-10-07T04:08:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f47db8796a47569fae99118c83b1ddc8047c327b","assignee":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/contrib/pulls/136/commits","review_comments_url":"https://api.github.com/repos/kubernetes/contrib/pulls/136/comments","review_comment_url":"https://api.github.com/repos/kubernetes/contrib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/contrib/issues/136/comments","statuses_url":"https://api.github.com/repos/kubernetes/contrib/statuses/4aded4a1091d4e7c510f3d63cfc6cdca70e06f9f","head":{"label":"jayunit100:service-loadbalancer.png","ref":"service-loadbalancer.png","sha":"4aded4a1091d4e7c510f3d63cfc6cdca70e06f9f","user":{"login":"jayunit100","id":826111,"avatar_url":"https://avatars.githubusercontent.com/u/826111?v=3","gravatar_id":"","url":"https://api.github.com/users/jayunit100","html_url":"https://github.com/jayunit100","followers_url":"https://api.github.com/users/jayunit100/followers","following_url":"https://api.github.com/users/jayunit100/following{/other_user}","gists_url":"https://api.github.com/users/jayunit100/gists{/gist_id}","starred_url":"https://api.github.com/users/jayunit100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayunit100/subscriptions","organizations_url":"https://api.github.com/users/jayunit100/orgs","repos_url":"https://api.github.com/users/jayunit100/repos","events_url":"https://api.github.com/users/jayunit100/events{/privacy}","received_events_url":"https://api.github.com/users/jayunit100/received_events","type":"User","site_admin":false},"repo":{"id":43512989,"name":"kubernetes-contrib-fork","full_name":"jayunit100/kubernetes-contrib-fork","owner":{"login":"jayunit100","id":826111,"avatar_url":"https://avatars.githubusercontent.com/u/826111?v=3","gravatar_id":"","url":"https://api.github.com/users/jayunit100","html_url":"https://github.com/jayunit100","followers_url":"https://api.github.com/users/jayunit100/followers","following_url":"https://api.github.com/users/jayunit100/following{/other_user}","gists_url":"https://api.github.com/users/jayunit100/gists{/gist_id}","starred_url":"https://api.github.com/users/jayunit100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayunit100/subscriptions","organizations_url":"https://api.github.com/users/jayunit100/orgs","repos_url":"https://api.github.com/users/jayunit100/repos","events_url":"https://api.github.com/users/jayunit100/events{/privacy}","received_events_url":"https://api.github.com/users/jayunit100/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jayunit100/kubernetes-contrib-fork","description":"This is a place for various components in the Kubernetes ecosystem that aren't part of the Kubernetes core.","fork":true,"url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork","forks_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/forks","keys_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/teams","hooks_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/hooks","issue_events_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/issues/events{/number}","events_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/events","assignees_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/assignees{/user}","branches_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/branches{/branch}","tags_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/tags","blobs_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/git/refs{/sha}","trees_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/statuses/{sha}","languages_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/languages","stargazers_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/stargazers","contributors_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/contributors","subscribers_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/subscribers","subscription_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/subscription","commits_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/commits{/sha}","git_commits_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/git/commits{/sha}","comments_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/comments{/number}","issue_comment_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/issues/comments{/number}","contents_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/contents/{+path}","compare_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/merges","archive_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/downloads","issues_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/issues{/number}","pulls_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/pulls{/number}","milestones_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/milestones{/number}","notifications_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/labels{/name}","releases_url":"https://api.github.com/repos/jayunit100/kubernetes-contrib-fork/releases{/id}","created_at":"2015-10-01T18:20:28Z","updated_at":"2015-10-01T18:21:05Z","pushed_at":"2015-10-06T18:18:28Z","git_url":"git://github.com/jayunit100/kubernetes-contrib-fork.git","ssh_url":"git@github.com:jayunit100/kubernetes-contrib-fork.git","clone_url":"https://github.com/jayunit100/kubernetes-contrib-fork.git","svn_url":"https://github.com/jayunit100/kubernetes-contrib-fork","homepage":"","size":6031,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"426604ce2381a6765627e288094b50c9fd14bde1","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":40686014,"name":"contrib","full_name":"kubernetes/contrib","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/contrib","description":"This is a place for various components in the Kubernetes ecosystem that aren't part of the Kubernetes core.","fork":false,"url":"https://api.github.com/repos/kubernetes/contrib","forks_url":"https://api.github.com/repos/kubernetes/contrib/forks","keys_url":"https://api.github.com/repos/kubernetes/contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/contrib/teams","hooks_url":"https://api.github.com/repos/kubernetes/contrib/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/contrib/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/contrib/events","assignees_url":"https://api.github.com/repos/kubernetes/contrib/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/contrib/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/contrib/tags","blobs_url":"https://api.github.com/repos/kubernetes/contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/contrib/languages","stargazers_url":"https://api.github.com/repos/kubernetes/contrib/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/contrib/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/contrib/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/contrib/subscription","commits_url":"https://api.github.com/repos/kubernetes/contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/contrib/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/contrib/merges","archive_url":"https://api.github.com/repos/kubernetes/contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/contrib/downloads","issues_url":"https://api.github.com/repos/kubernetes/contrib/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/contrib/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/contrib/releases{/id}","created_at":"2015-08-13T23:18:26Z","updated_at":"2015-10-05T13:45:52Z","pushed_at":"2015-10-07T01:18:07Z","git_url":"git://github.com/kubernetes/contrib.git","ssh_url":"git@github.com:kubernetes/contrib.git","clone_url":"https://github.com/kubernetes/contrib.git","svn_url":"https://github.com/kubernetes/contrib","homepage":"","size":7668,"stargazers_count":41,"watchers_count":41,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":30,"forks":51,"open_issues":30,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/contrib/pulls/136"},"html":{"href":"https://github.com/kubernetes/contrib/pull/136"},"issue":{"href":"https://api.github.com/repos/kubernetes/contrib/issues/136"},"comments":{"href":"https://api.github.com/repos/kubernetes/contrib/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/contrib/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/contrib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/contrib/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/contrib/statuses/4aded4a1091d4e7c510f3d63cfc6cdca70e06f9f"}}}}