{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11076","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11076/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11076/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11076/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11076","id":94385368,"number":11076,"title":"Updating apiserver to not return 500 when a service without an rc is proxied","user":{"login":"nikhiljindal","id":10199099,"avatar_url":"https://avatars.githubusercontent.com/u/10199099?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhiljindal","html_url":"https://github.com/nikhiljindal","followers_url":"https://api.github.com/users/nikhiljindal/followers","following_url":"https://api.github.com/users/nikhiljindal/following{/other_user}","gists_url":"https://api.github.com/users/nikhiljindal/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhiljindal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhiljindal/subscriptions","organizations_url":"https://api.github.com/users/nikhiljindal/orgs","repos_url":"https://api.github.com/users/nikhiljindal/repos","events_url":"https://api.github.com/users/nikhiljindal/events{/privacy}","received_events_url":"https://api.github.com/users/nikhiljindal/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":16,"created_at":"2015-07-10T20:29:06Z","updated_at":"2015-07-12T22:20:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/11076","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11076","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11076.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11076.patch"},"body":"Fixes https://github.com/GoogleCloudPlatform/kubernetes/issues/11069\r\n\r\nUpdating the code to return a 503 when user tries to proxy a service, which doesnt have an rc backing it.\r\n\r\nBefore:\r\n```\r\n{\r\n  \"kind\": \"Status\",\r\n  \"apiVersion\": \"v1\",\r\n  \"metadata\": {},\r\n  \"status\": \"Failure\",\r\n  \"message\": \"no endpoints available for \\\"frontend\\\"\",\r\n  \"code\": 500\r\n}\r\n```\r\n\r\nNow:\r\n```\r\n{\r\n  \"kind\": \"Status\",\r\n  \"apiVersion\": \"v1\",\r\n  \"metadata\": {},\r\n  \"status\": \"Failure\",\r\n  \"message\": \"no endpoints available for service \\\"frontend\\\"\",\r\n  \"reason\": \"ServiceUnavailable\",\r\n  \"code\": 503\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/120768677","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11076#issuecomment-120768677","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11076","id":120768677,"user":{"login":"a-robinson","id":7085343,"avatar_url":"https://avatars.githubusercontent.com/u/7085343?v=3","gravatar_id":"","url":"https://api.github.com/users/a-robinson","html_url":"https://github.com/a-robinson","followers_url":"https://api.github.com/users/a-robinson/followers","following_url":"https://api.github.com/users/a-robinson/following{/other_user}","gists_url":"https://api.github.com/users/a-robinson/gists{/gist_id}","starred_url":"https://api.github.com/users/a-robinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-robinson/subscriptions","organizations_url":"https://api.github.com/users/a-robinson/orgs","repos_url":"https://api.github.com/users/a-robinson/repos","events_url":"https://api.github.com/users/a-robinson/events{/privacy}","received_events_url":"https://api.github.com/users/a-robinson/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T22:20:50Z","updated_at":"2015-07-12T22:20:50Z","body":"Thanks for the explanation, @smarterclayton. SGTM"}}