{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13379","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13379/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13379/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13379/events","html_url":"https://github.com/kubernetes/kubernetes/pull/13379","id":104019857,"number":13379,"title":"Use unique service name for expose when --name is not specified","user":{"login":"hurf","id":4618015,"avatar_url":"https://avatars.githubusercontent.com/u/4618015?v=3","gravatar_id":"","url":"https://api.github.com/users/hurf","html_url":"https://github.com/hurf","followers_url":"https://api.github.com/users/hurf/followers","following_url":"https://api.github.com/users/hurf/following{/other_user}","gists_url":"https://api.github.com/users/hurf/gists{/gist_id}","starred_url":"https://api.github.com/users/hurf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hurf/subscriptions","organizations_url":"https://api.github.com/users/hurf/orgs","repos_url":"https://api.github.com/users/hurf/repos","events_url":"https://api.github.com/users/hurf/events{/privacy}","received_events_url":"https://api.github.com/users/hurf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"bgrant0607","id":7725777,"avatar_url":"https://avatars.githubusercontent.com/u/7725777?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrant0607","html_url":"https://github.com/bgrant0607","followers_url":"https://api.github.com/users/bgrant0607/followers","following_url":"https://api.github.com/users/bgrant0607/following{/other_user}","gists_url":"https://api.github.com/users/bgrant0607/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrant0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrant0607/subscriptions","organizations_url":"https://api.github.com/users/bgrant0607/orgs","repos_url":"https://api.github.com/users/bgrant0607/repos","events_url":"https://api.github.com/users/bgrant0607/events{/privacy}","received_events_url":"https://api.github.com/users/bgrant0607/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-08-31T09:39:47Z","updated_at":"2015-08-31T18:36:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13379","html_url":"https://github.com/kubernetes/kubernetes/pull/13379","diff_url":"https://github.com/kubernetes/kubernetes/pull/13379.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/13379.patch"},"body":"Use generate name instead of name.\r\n\r\nPartially fixes: #13178"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/136457833","html_url":"https://github.com/kubernetes/kubernetes/pull/13379#issuecomment-136457833","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13379","id":136457833,"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},"created_at":"2015-08-31T18:36:41Z","updated_at":"2015-08-31T18:36:41Z","body":"I agree with Clayton - Service is supposed to be less ephemeral than Pod.\nI think the current default name is the same as the exposed object, which\nseems correct\n\nOn Mon, Aug 31, 2015 at 6:23 AM, Clayton Coleman <notifications@github.com>\nwrote:\n\n> Do we want to encourage random names for services? Part of the point of a\n> service is to have a name that identifies the target pods. If the user is\n> incentivized to delete the service they expose because they don't like the\n> name, that means we aren't generating the name they need.\n>\n> I would recommend using the name of the thing they exposed if they don't\n> specify --name, and normalizing (truncating) it to match service reqts.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/kubernetes/kubernetes/pull/13379#issuecomment-136369562>\n> .\n>\n"}}