{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14516","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14516/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14516/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14516/events","html_url":"https://github.com/kubernetes/kubernetes/issues/14516","id":108204389,"number":14516,"title":"RFC: Inert deployments","user":{"login":"ironcladlou","id":298299,"avatar_url":"https://avatars.githubusercontent.com/u/298299?v=3","gravatar_id":"","url":"https://api.github.com/users/ironcladlou","html_url":"https://github.com/ironcladlou","followers_url":"https://api.github.com/users/ironcladlou/followers","following_url":"https://api.github.com/users/ironcladlou/following{/other_user}","gists_url":"https://api.github.com/users/ironcladlou/gists{/gist_id}","starred_url":"https://api.github.com/users/ironcladlou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironcladlou/subscriptions","organizations_url":"https://api.github.com/users/ironcladlou/orgs","repos_url":"https://api.github.com/users/ironcladlou/repos","events_url":"https://api.github.com/users/ironcladlou/events{/privacy}","received_events_url":"https://api.github.com/users/ironcladlou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/app-config-deployment","name":"area/app-config-deployment","color":"fb6420"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P2","name":"priority/P2","color":"fbca04"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/ux","name":"team/ux","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-24T20:09:27Z","updated_at":"2015-09-25T12:46:24Z","closed_at":null,"body":"The deployment design (#1743) implicitly supports a deployment triggering use case known as \"config change triggering\" in OpenShift: when a new deployment state is observed, the cluster works to realize the new state as soon as possible. There is one functional gap in this design: users sometimes need to temporarily disable a deployment. This could be accomplished by allowing deployments to be \"inert\". Some uses for inert deployments:\r\n\r\n* Provides a way for the deployment to exist in the system awaiting external human processes/validations\r\n* Provides a safe way to prepare a deployment resource without iterative changes being rolled out\r\n* A safety switch to prevent a deployment which you don't want to happen\r\n\r\nTechnically these use cases are satisfied by simply deleting the deployment resource and recreating it when ready, but that places a burden on the user to preserve the old state until it's ready to be recreated."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/143209501","html_url":"https://github.com/kubernetes/kubernetes/issues/14516#issuecomment-143209501","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14516","id":143209501,"user":{"login":"ironcladlou","id":298299,"avatar_url":"https://avatars.githubusercontent.com/u/298299?v=3","gravatar_id":"","url":"https://api.github.com/users/ironcladlou","html_url":"https://github.com/ironcladlou","followers_url":"https://api.github.com/users/ironcladlou/followers","following_url":"https://api.github.com/users/ironcladlou/following{/other_user}","gists_url":"https://api.github.com/users/ironcladlou/gists{/gist_id}","starred_url":"https://api.github.com/users/ironcladlou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironcladlou/subscriptions","organizations_url":"https://api.github.com/users/ironcladlou/orgs","repos_url":"https://api.github.com/users/ironcladlou/repos","events_url":"https://api.github.com/users/ironcladlou/events{/privacy}","received_events_url":"https://api.github.com/users/ironcladlou/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T12:46:24Z","updated_at":"2015-09-25T12:46:24Z","body":">It's not obvious to me what this has to do specifically with config change triggering. \r\n\r\nInert deployments combined with the inherent design of the deployment controller seem to provide config change trigger functionality without needing to introduce the concept of a \"config change trigger\" as defined in OpenShift."}}