{"action":"created","issue":{"url":"https://api.github.com/repos/pweil-/origin/issues/16","labels_url":"https://api.github.com/repos/pweil-/origin/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/pweil-/origin/issues/16/comments","events_url":"https://api.github.com/repos/pweil-/origin/issues/16/events","html_url":"https://github.com/pweil-/origin/pull/16","id":57204011,"number":16,"title":"namespace aware proxier and lb","user":{"login":"pweil-","id":5230419,"avatar_url":"https://avatars.githubusercontent.com/u/5230419?v=3","gravatar_id":"","url":"https://api.github.com/users/pweil-","html_url":"https://github.com/pweil-","followers_url":"https://api.github.com/users/pweil-/followers","following_url":"https://api.github.com/users/pweil-/following{/other_user}","gists_url":"https://api.github.com/users/pweil-/gists{/gist_id}","starred_url":"https://api.github.com/users/pweil-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pweil-/subscriptions","organizations_url":"https://api.github.com/users/pweil-/orgs","repos_url":"https://api.github.com/users/pweil-/repos","events_url":"https://api.github.com/users/pweil-/events{/privacy}","received_events_url":"https://api.github.com/users/pweil-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-10T17:07:19Z","updated_at":"2015-02-10T17:22:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pweil-/origin/pulls/16","html_url":"https://github.com/pweil-/origin/pull/16","diff_url":"https://github.com/pweil-/origin/pull/16.diff","patch_url":"https://github.com/pweil-/origin/pull/16.patch"},"body":"This is just to show you what I've done that seems to be working and gather feedback if this is not a feasable solution.  I need to clean it up and put it into an actual k8s request and so some in depth testing but this allows me to have create the services with the same name and curl them both\r\n\r\n\r\n```\r\n[vagrant@openshiftdev ~]$ osc get -n ns1 services && osc get -n ns2 services\r\nNAME                LABELS                            SELECTOR            IP                  PORT\r\ndatabase            template=ruby-helloworld-sample   name=database       172.30.17.125       5434\r\nNAME                LABELS                            SELECTOR            IP                  PORT\r\ndatabase            template=ruby-helloworld-sample   name=database       172.30.17.200       5434\r\n[vagrant@openshiftdev ~]$ osc get -n ns1 pods && osc get -n ns2 pods\r\nPOD                 IP                  CONTAINER(S)               IMAGE(S)            HOST                           LABELS                                                                                          STATUS\r\ndatabase-1-r4y5g    172.17.0.28         ruby-helloworld-database   mysql               openshiftdev.local/127.0.0.1   deployment=database-1,deploymentconfig=database,name=database,template=ruby-helloworld-sample   Running\r\nPOD                 IP                  CONTAINER(S)               IMAGE(S)            HOST                           LABELS                                                                                          STATUS\r\ndatabase-1-wgqmy    172.17.0.29         ruby-helloworld-database   mysql               openshiftdev.local/127.0.0.1   deployment=database-1,deploymentconfig=database,name=database,template=ruby-helloworld-sample   Running\r\n\r\n[vagrant@openshiftdev ~]$ curl 172.30.17.125:5434\r\n5.6.23\u0002y{}%<?gh�\u0002�\u0015TL_x`Uk;%B`<mysql_native_password!\u0001��\u0004#08S01Got packets out of order\r\n\r\n[vagrant@openshiftdev ~]$ curl 172.30.17.200:5434\r\n5.6.23\u0002e'0\\\\=X$�\u0002�\u0015H|[2(mqp\\^Dtmysql_native_password!\u0001��\u0004#08S01Got packets out of order[vagrant@openshiftdev ~]$ \r\n[vagrant@openshiftdev ~]$ \r\n\r\n[vagrant@openshiftdev ~]$ sudo iptables -t nat -L\r\nChain PREROUTING (policy ACCEPT)\r\ntarget     prot opt source               destination         \r\nDOCKER     all  --  anywhere             anywhere             ADDRTYPE match dst-type LOCAL\r\nKUBE-PORTALS-CONTAINER  all  --  anywhere             anywhere            \r\n\r\nChain INPUT (policy ACCEPT)\r\ntarget     prot opt source               destination         \r\n\r\nChain OUTPUT (policy ACCEPT)\r\ntarget     prot opt source               destination         \r\nDOCKER     all  --  anywhere            !loopback/8           ADDRTYPE match dst-type LOCAL\r\nKUBE-PORTALS-HOST  all  --  anywhere             anywhere            \r\n\r\nChain POSTROUTING (policy ACCEPT)\r\ntarget     prot opt source               destination         \r\nMASQUERADE  all  --  172.17.0.0/16        anywhere            \r\n\r\nChain DOCKER (2 references)\r\ntarget     prot opt source               destination         \r\n\r\nChain KUBE-PORTALS-CONTAINER (1 references)\r\ntarget     prot opt source               destination         \r\nREDIRECT   tcp  --  anywhere             172.30.17.2          /* default:kubernetes */ tcp dpt:https redir ports 43305\r\nREDIRECT   tcp  --  anywhere             172.30.17.1          /* default:kubernetes-ro */ tcp dpt:http redir ports 40680\r\nREDIRECT   tcp  --  anywhere             172.30.17.125        /* ns1:database */ tcp dpt:sgi-arrayd redir ports 57244\r\nREDIRECT   tcp  --  anywhere             172.30.17.200        /* ns2:database */ tcp dpt:sgi-arrayd redir ports 48135\r\n\r\nChain KUBE-PORTALS-HOST (1 references)\r\ntarget     prot opt source               destination         \r\nDNAT       tcp  --  anywhere             172.30.17.2          /* default:kubernetes */ tcp dpt:https to:10.0.2.15:43305\r\nDNAT       tcp  --  anywhere             172.30.17.1          /* default:kubernetes-ro */ tcp dpt:http to:10.0.2.15:40680\r\nDNAT       tcp  --  anywhere             172.30.17.125        /* ns1:database */ tcp dpt:sgi-arrayd to:10.0.2.15:57244\r\nDNAT       tcp  --  anywhere             172.30.17.200        /* ns2:database */ tcp dpt:sgi-arrayd to:10.0.2.15:48135\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/pweil-/origin/issues/comments/73741901","html_url":"https://github.com/pweil-/origin/pull/16#issuecomment-73741901","issue_url":"https://api.github.com/repos/pweil-/origin/issues/16","id":73741901,"user":{"login":"pmorie","id":366488,"avatar_url":"https://avatars.githubusercontent.com/u/366488?v=3","gravatar_id":"","url":"https://api.github.com/users/pmorie","html_url":"https://github.com/pmorie","followers_url":"https://api.github.com/users/pmorie/followers","following_url":"https://api.github.com/users/pmorie/following{/other_user}","gists_url":"https://api.github.com/users/pmorie/gists{/gist_id}","starred_url":"https://api.github.com/users/pmorie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmorie/subscriptions","organizations_url":"https://api.github.com/users/pmorie/orgs","repos_url":"https://api.github.com/users/pmorie/repos","events_url":"https://api.github.com/users/pmorie/events{/privacy}","received_events_url":"https://api.github.com/users/pmorie/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T17:22:06Z","updated_at":"2015-02-10T17:22:06Z","body":"@ncdc I don't think there's a reason for the upstream proxier to use the custom config stuff -- except that that custom config predates the reflector.  We should def open an upstream issue for this.\r\n\r\n@pweil- I assume this is not meant to land, since it includes a patch to Godep'd upstream code.  Confirm/deny?"}}