{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/10405","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/10405/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/10405/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/10405/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/10405","id":91286712,"number":10405,"title":"Add a simple hostport-to-service proxy","user":{"login":"thockin","id":5595220,"avatar_url":"https://avatars.githubusercontent.com/u/5595220?v=3","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-26T15:58:48Z","updated_at":"2015-06-26T16:17:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/10405","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/10405","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/10405.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/10405.patch"},"body":"Example: a pod like the  below should\r\nproxy port 53 TCP and UDP to the main DNS service.\r\n\r\n```\r\napiVersion: v1beta3\r\nkind: Pod\r\nmetadata:\r\n  name: localhost-dns-proxy\r\nspec:\r\n  containers:\r\n  - name: proxy-udp\r\n    image: thockin/proxy-to-service:1.0\r\n    args: [ \"udp\", \"53\", \"kube-dns.default\" ]\r\n    ports:\r\n    - name: udp\r\n      protocol: UDP\r\n      containerPort: 53\r\n      hostPort: 53\r\n  - name: proxy-tcp\r\n    image: thockin/proxy-to-service:1.0\r\n    args: [ \"tcp\", \"53\", \"kube-dns.default\" ]\r\n    ports:\r\n    - name: tcp\r\n      protocol: TCP\r\n      containerPort: 53\r\n      hostPort: 53\r\n```"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/115744640","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/10405#issuecomment-115744640","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/10405","id":115744640,"user":{"login":"k8s-bot","id":12551979,"avatar_url":"https://avatars.githubusercontent.com/u/12551979?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-bot","html_url":"https://github.com/k8s-bot","followers_url":"https://api.github.com/users/k8s-bot/followers","following_url":"https://api.github.com/users/k8s-bot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-bot/subscriptions","organizations_url":"https://api.github.com/users/k8s-bot/orgs","repos_url":"https://api.github.com/users/k8s-bot/repos","events_url":"https://api.github.com/users/k8s-bot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-bot/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T16:17:22Z","updated_at":"2015-06-26T16:17:22Z","body":"GCE e2e build/test **passed** for commit cf18055c34cb4d623f943b4aeee3eeb8ca0d1aaa.\n* [Build Log](https://storage.cloud.google.com/kubernetes-jenkins/pr-logs/cf18055c34cb4d623f943b4aeee3eeb8ca0d1aaa/kubernetes-pull-build-test-e2e-gce/1131/build-log.txt)\n* [Test Artifacts](https://console.developers.google.com/storage/browser/kubernetes-jenkins/pr-logs/cf18055c34cb4d623f943b4aeee3eeb8ca0d1aaa/kubernetes-pull-build-test-e2e-gce/1131/_artifacts/)\n* [Internal Jenkins Results](http://goto.google.com/prkubekins/job/kubernetes-pull-build-test-e2e-gce//1131)\n"}}