{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12236","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12236/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12236/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12236/events","html_url":"https://github.com/kubernetes/kubernetes/pull/12236","id":99087702,"number":12236,"title":"Adding a proposal for deployment","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/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":26,"created_at":"2015-08-05T00:09:07Z","updated_at":"2015-08-13T21:51:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/12236","html_url":"https://github.com/kubernetes/kubernetes/pull/12236","diff_url":"https://github.com/kubernetes/kubernetes/pull/12236.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/12236.patch"},"body":"Proposal as per discussion in https://github.com/GoogleCloudPlatform/kubernetes/issues/1743\r\n\r\ncc @bgrant0607 @smarterclayton @ironcladlou "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/130858955","html_url":"https://github.com/kubernetes/kubernetes/pull/12236#issuecomment-130858955","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12236","id":130858955,"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},"created_at":"2015-08-13T21:51:14Z","updated_at":"2015-08-13T21:51:14Z","body":"Yes thats a valid concern.\r\nDoes the same problem exist in openshift?\r\n\r\nWe can use \"<deploymentname>-<number>\" as rc name, where number is a monotonically increasing number. This number is not tied to the deployment generation, so that it works even when user deletes and recreates a deployment.\r\nFor ex: when user creates a deployment \"foo\" for the first time, we create an rc \"foo-1\". When user updates that deployment, we create a new rc \"foo-2\". Now, if user deletes and recreates the same deployment, it will adopt the existing foo-2 rc. However, if user deletes foo and creates a new deployment with name foo but a different template spec, then it will create a new rc foo-3.\r\nDoes this sound reasonable?"}}