{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments/78393347","id":78393347,"diff_hunk":"@@ -0,0 +1,112 @@\n+[[getting-traffic-into-cluster]]\n+= Getting Traffic Into The Cluster\n+{product-author}\n+{product-version]\n+:data-uri:\n+:icons:\n+:experimental:\n+:toc: macro\n+:toc-title:\n+:prewrap!:\n+\n+toc::[]\n+\n+ifdef::openshift-origin,openshift-enterprise,openshift-dedicated[]\n+== Overview\n+There are many ways to access the cluster. This section describes some\n+commonly used approaches.\n+\n+The recommendation is:\n+\n+- When possible use the Router,\n+- otherwise for TCP/UDP configure the service to provide access.\n+\n+The admin configures DNS records to point to IP addresses in the cluster\n+that are exposed outside the cluster.  These addresses are commonly the\n+IP addresses of nodes, Virtual IP addresses (VRRP) or Service NodePort\n+addreses, Service externalIPs, Service ingressIP, etc..  The admin must\n+make sure the routing tables permit the request to reach the IP address\n+and iptables accept the packets as well.\n+\n+The xref:../admin_guide/high_availability.adoc#[High Availability] section\n+describes how to make this highly available using replicated services.\n+\n+- xref:../dev_guide/getting_traffic_into_cluster.adoc#using-a-router[Using a router] to serve HTTP/HTTPS(SNI)/TLS (SNI)\n+- xref:../dev_guide/getting_traffic_into_cluster.adoc#using-tcp[Service NodePort] and VIP\n+- xref:../dev_guide/getting_traffic_into_cluster.adoc#pod-network-to-outside[Access pod network with a load balancer]\n+\n+You can also use the wildcard DNS for the router + the nodeport\n+\n+endif::[]\n+\n+\n+[[using-a-router]]\n+== Using a Router\n+\n+This is the most common way to access the cluster. A router is configured\n+to accept external reuqests and proxy them based on the configured routes.\n+This is limited to HTTP/HTTPS(SNI)/TLS(SNI) which covers web applications.\n+\n+Setup router nodes (either TCP load balance or ipfailover VRRP setup) in\n+an HA config.  When asking for nodeports, use the router nodes with their\n+VIPs (VRRP) or with a range TCP load balancer (cloud, F5, ingerssIP) as\n+the destination IP.\n+\n+Since the router listens on ports 80 and 443 the number of routers is\n+limited to the number of nodes that have ports 80 and 443 available.\n+\n+The router IP can be the node's IP or a VRRP provided VIP\n+(xref:../admin_guide/high_availability.adoc#[virtual IP]).\n+\n+A set of routes can be created in the various projects. The overall\n+set of routes is available to the set of routers. Each router selects","path":"dev_guide/getting_traffic_into_cluster.adoc","position":62,"original_position":62,"commit_id":"b1aadf12f94f3982da1f9b8aca31982cd8fe4b86","original_commit_id":"b1aadf12f94f3982da1f9b8aca31982cd8fe4b86","user":{"login":"knobunc","id":10033853,"avatar_url":"https://avatars.githubusercontent.com/u/10033853?v=3","gravatar_id":"","url":"https://api.github.com/users/knobunc","html_url":"https://github.com/knobunc","followers_url":"https://api.github.com/users/knobunc/followers","following_url":"https://api.github.com/users/knobunc/following{/other_user}","gists_url":"https://api.github.com/users/knobunc/gists{/gist_id}","starred_url":"https://api.github.com/users/knobunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knobunc/subscriptions","organizations_url":"https://api.github.com/users/knobunc/orgs","repos_url":"https://api.github.com/users/knobunc/repos","events_url":"https://api.github.com/users/knobunc/events{/privacy}","received_events_url":"https://api.github.com/users/knobunc/received_events","type":"User","site_admin":false},"body":"Worth mentioning the router sharding that allows an admin or a user to isolate (depending on where the label is).  I think you wrote good docs on that before, just link over to them.","created_at":"2016-09-12T15:20:38Z","updated_at":"2016-09-12T15:20:38Z","html_url":"https://github.com/openshift/openshift-docs/pull/2827#discussion_r78393347","pull_request_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/2827","_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments/78393347"},"html":{"href":"https://github.com/openshift/openshift-docs/pull/2827#discussion_r78393347"},"pull_request":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/2827"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-docs/pulls/2827","id":84882978,"html_url":"https://github.com/openshift/openshift-docs/pull/2827","diff_url":"https://github.com/openshift/openshift-docs/pull/2827.diff","patch_url":"https://github.com/openshift/openshift-docs/pull/2827.patch","issue_url":"https://api.github.com/repos/openshift/openshift-docs/issues/2827","number":2827,"state":"open","locked":false,"title":"Document how to get traffic into the cluster","user":{"login":"pecameron","id":13967482,"avatar_url":"https://avatars.githubusercontent.com/u/13967482?v=3","gravatar_id":"","url":"https://api.github.com/users/pecameron","html_url":"https://github.com/pecameron","followers_url":"https://api.github.com/users/pecameron/followers","following_url":"https://api.github.com/users/pecameron/following{/other_user}","gists_url":"https://api.github.com/users/pecameron/gists{/gist_id}","starred_url":"https://api.github.com/users/pecameron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecameron/subscriptions","organizations_url":"https://api.github.com/users/pecameron/orgs","repos_url":"https://api.github.com/users/pecameron/repos","events_url":"https://api.github.com/users/pecameron/events{/privacy}","received_events_url":"https://api.github.com/users/pecameron/received_events","type":"User","site_admin":false},"body":"This describes how to get traffic into the cluster. It is a high level\r\ndiscussion with links to detailed material.\r\n\r\nSigned-off-by: Phil Cameron <pcameron@redhat.com>","created_at":"2016-09-12T14:38:11Z","updated_at":"2016-09-12T15:20:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"05c72862769d0b467e8bceae9f389de180bcda51","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/2827/commits","review_comments_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/2827/comments","review_comment_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/openshift-docs/issues/2827/comments","statuses_url":"https://api.github.com/repos/openshift/openshift-docs/statuses/b1aadf12f94f3982da1f9b8aca31982cd8fe4b86","head":{"label":"pecameron:gettraffic","ref":"gettraffic","sha":"b1aadf12f94f3982da1f9b8aca31982cd8fe4b86","user":{"login":"pecameron","id":13967482,"avatar_url":"https://avatars.githubusercontent.com/u/13967482?v=3","gravatar_id":"","url":"https://api.github.com/users/pecameron","html_url":"https://github.com/pecameron","followers_url":"https://api.github.com/users/pecameron/followers","following_url":"https://api.github.com/users/pecameron/following{/other_user}","gists_url":"https://api.github.com/users/pecameron/gists{/gist_id}","starred_url":"https://api.github.com/users/pecameron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecameron/subscriptions","organizations_url":"https://api.github.com/users/pecameron/orgs","repos_url":"https://api.github.com/users/pecameron/repos","events_url":"https://api.github.com/users/pecameron/events{/privacy}","received_events_url":"https://api.github.com/users/pecameron/received_events","type":"User","site_admin":false},"repo":{"id":60121047,"name":"openshift-docs","full_name":"pecameron/openshift-docs","owner":{"login":"pecameron","id":13967482,"avatar_url":"https://avatars.githubusercontent.com/u/13967482?v=3","gravatar_id":"","url":"https://api.github.com/users/pecameron","html_url":"https://github.com/pecameron","followers_url":"https://api.github.com/users/pecameron/followers","following_url":"https://api.github.com/users/pecameron/following{/other_user}","gists_url":"https://api.github.com/users/pecameron/gists{/gist_id}","starred_url":"https://api.github.com/users/pecameron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecameron/subscriptions","organizations_url":"https://api.github.com/users/pecameron/orgs","repos_url":"https://api.github.com/users/pecameron/repos","events_url":"https://api.github.com/users/pecameron/events{/privacy}","received_events_url":"https://api.github.com/users/pecameron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pecameron/openshift-docs","description":"OpenShift Documentation","fork":true,"url":"https://api.github.com/repos/pecameron/openshift-docs","forks_url":"https://api.github.com/repos/pecameron/openshift-docs/forks","keys_url":"https://api.github.com/repos/pecameron/openshift-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pecameron/openshift-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pecameron/openshift-docs/teams","hooks_url":"https://api.github.com/repos/pecameron/openshift-docs/hooks","issue_events_url":"https://api.github.com/repos/pecameron/openshift-docs/issues/events{/number}","events_url":"https://api.github.com/repos/pecameron/openshift-docs/events","assignees_url":"https://api.github.com/repos/pecameron/openshift-docs/assignees{/user}","branches_url":"https://api.github.com/repos/pecameron/openshift-docs/branches{/branch}","tags_url":"https://api.github.com/repos/pecameron/openshift-docs/tags","blobs_url":"https://api.github.com/repos/pecameron/openshift-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pecameron/openshift-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pecameron/openshift-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/pecameron/openshift-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pecameron/openshift-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/pecameron/openshift-docs/languages","stargazers_url":"https://api.github.com/repos/pecameron/openshift-docs/stargazers","contributors_url":"https://api.github.com/repos/pecameron/openshift-docs/contributors","subscribers_url":"https://api.github.com/repos/pecameron/openshift-docs/subscribers","subscription_url":"https://api.github.com/repos/pecameron/openshift-docs/subscription","commits_url":"https://api.github.com/repos/pecameron/openshift-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/pecameron/openshift-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/pecameron/openshift-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/pecameron/openshift-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/pecameron/openshift-docs/contents/{+path}","compare_url":"https://api.github.com/repos/pecameron/openshift-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pecameron/openshift-docs/merges","archive_url":"https://api.github.com/repos/pecameron/openshift-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pecameron/openshift-docs/downloads","issues_url":"https://api.github.com/repos/pecameron/openshift-docs/issues{/number}","pulls_url":"https://api.github.com/repos/pecameron/openshift-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/pecameron/openshift-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/pecameron/openshift-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pecameron/openshift-docs/labels{/name}","releases_url":"https://api.github.com/repos/pecameron/openshift-docs/releases{/id}","deployments_url":"https://api.github.com/repos/pecameron/openshift-docs/deployments","created_at":"2016-05-31T20:27:24Z","updated_at":"2016-05-31T20:27:25Z","pushed_at":"2016-09-12T14:36:34Z","git_url":"git://github.com/pecameron/openshift-docs.git","ssh_url":"git@github.com:pecameron/openshift-docs.git","clone_url":"https://github.com/pecameron/openshift-docs.git","svn_url":"https://github.com/pecameron/openshift-docs","homepage":"https://docs.openshift.org/latest/welcome/index.html","size":15000,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openshift:master","ref":"master","sha":"7ba4bdbe0131608d90c6f11f70aec63a4cf86f1c","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":21740844,"name":"openshift-docs","full_name":"openshift/openshift-docs","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/openshift-docs","description":"OpenShift Documentation","fork":false,"url":"https://api.github.com/repos/openshift/openshift-docs","forks_url":"https://api.github.com/repos/openshift/openshift-docs/forks","keys_url":"https://api.github.com/repos/openshift/openshift-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/openshift-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/openshift-docs/teams","hooks_url":"https://api.github.com/repos/openshift/openshift-docs/hooks","issue_events_url":"https://api.github.com/repos/openshift/openshift-docs/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/openshift-docs/events","assignees_url":"https://api.github.com/repos/openshift/openshift-docs/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/openshift-docs/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/openshift-docs/tags","blobs_url":"https://api.github.com/repos/openshift/openshift-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/openshift-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/openshift-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/openshift-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/openshift-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/openshift-docs/languages","stargazers_url":"https://api.github.com/repos/openshift/openshift-docs/stargazers","contributors_url":"https://api.github.com/repos/openshift/openshift-docs/contributors","subscribers_url":"https://api.github.com/repos/openshift/openshift-docs/subscribers","subscription_url":"https://api.github.com/repos/openshift/openshift-docs/subscription","commits_url":"https://api.github.com/repos/openshift/openshift-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/openshift-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/openshift-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/openshift-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/openshift-docs/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/openshift-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/openshift-docs/merges","archive_url":"https://api.github.com/repos/openshift/openshift-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/openshift-docs/downloads","issues_url":"https://api.github.com/repos/openshift/openshift-docs/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/openshift-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/openshift-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/openshift-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/openshift-docs/labels{/name}","releases_url":"https://api.github.com/repos/openshift/openshift-docs/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/openshift-docs/deployments","created_at":"2014-07-11T15:14:42Z","updated_at":"2016-09-09T07:21:34Z","pushed_at":"2016-09-12T14:38:11Z","git_url":"git://github.com/openshift/openshift-docs.git","ssh_url":"git@github.com:openshift/openshift-docs.git","clone_url":"https://github.com/openshift/openshift-docs.git","svn_url":"https://github.com/openshift/openshift-docs","homepage":"https://docs.openshift.org/latest/welcome/index.html","size":25012,"stargazers_count":52,"watchers_count":52,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":254,"mirror_url":null,"open_issues_count":217,"forks":254,"open_issues":217,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/2827"},"html":{"href":"https://github.com/openshift/openshift-docs/pull/2827"},"issue":{"href":"https://api.github.com/repos/openshift/openshift-docs/issues/2827"},"comments":{"href":"https://api.github.com/repos/openshift/openshift-docs/issues/2827/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/2827/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/2827/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/openshift-docs/statuses/b1aadf12f94f3982da1f9b8aca31982cd8fe4b86"}}}}
{"actor":{"display_login":"knobunc"}}