{"action":"closed","number":11942,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/11942","id":41047521,"html_url":"https://github.com/kubernetes/kubernetes/pull/11942","diff_url":"https://github.com/kubernetes/kubernetes/pull/11942.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/11942.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/11942","number":11942,"state":"closed","locked":false,"title":"Rolling updater availability enhancements","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},"body":"This expands #10062 with a major refactor to the rolling updater to support the user-specified maximum unavailability and surge thresholds described in the deployments proposal (#12236).\r\n\r\nEssentially, users will be able to, via thresholds, express their intent to balance resource conservation and availability. It should be posssible to:\r\n\r\n1. Perform an in-place update without using any extra capacity, at the expense of availability.\r\n2. Use excess capacity to perform an update which ensures 100% availability throughout.\r\n3. A blend of 1 and 2: minimize unavailability, maximize rollout speed.\r\n\r\nAdditionally, readiness checking is incorporated so that progress is based on strong availability checks rather than blindly assuming that achieved replica counts represent available pods.","created_at":"2015-07-28T19:00:16Z","updated_at":"2015-09-01T22:25:56Z","closed_at":"2015-09-01T22:25:56Z","merged_at":null,"merge_commit_sha":"fd691ae3e62bc000fd8f0116a3fba5cecabce5cb","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/11942/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/11942/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/11942/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/da5e4d7bd52d8babfccebf4da2b78de8a27d30a6","head":{"label":"ironcladlou:rolling-update-availability","ref":"rolling-update-availability","sha":"da5e4d7bd52d8babfccebf4da2b78de8a27d30a6","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},"repo":{"id":20937083,"name":"kubernetes","full_name":"ironcladlou/kubernetes","owner":{"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},"private":false,"html_url":"https://github.com/ironcladlou/kubernetes","description":"Container Cluster Manager","fork":true,"url":"https://api.github.com/repos/ironcladlou/kubernetes","forks_url":"https://api.github.com/repos/ironcladlou/kubernetes/forks","keys_url":"https://api.github.com/repos/ironcladlou/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ironcladlou/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ironcladlou/kubernetes/teams","hooks_url":"https://api.github.com/repos/ironcladlou/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/ironcladlou/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/ironcladlou/kubernetes/events","assignees_url":"https://api.github.com/repos/ironcladlou/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/ironcladlou/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/ironcladlou/kubernetes/tags","blobs_url":"https://api.github.com/repos/ironcladlou/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ironcladlou/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ironcladlou/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/ironcladlou/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ironcladlou/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/ironcladlou/kubernetes/languages","stargazers_url":"https://api.github.com/repos/ironcladlou/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/ironcladlou/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/ironcladlou/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/ironcladlou/kubernetes/subscription","commits_url":"https://api.github.com/repos/ironcladlou/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/ironcladlou/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/ironcladlou/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/ironcladlou/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/ironcladlou/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/ironcladlou/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ironcladlou/kubernetes/merges","archive_url":"https://api.github.com/repos/ironcladlou/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ironcladlou/kubernetes/downloads","issues_url":"https://api.github.com/repos/ironcladlou/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/ironcladlou/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/ironcladlou/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/ironcladlou/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ironcladlou/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/ironcladlou/kubernetes/releases{/id}","created_at":"2014-06-17T19:38:11Z","updated_at":"2015-04-27T13:01:52Z","pushed_at":"2015-09-01T16:54:11Z","git_url":"git://github.com/ironcladlou/kubernetes.git","ssh_url":"git@github.com:ironcladlou/kubernetes.git","clone_url":"https://github.com/ironcladlou/kubernetes.git","svn_url":"https://github.com/ironcladlou/kubernetes","homepage":null,"size":101836,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"c949e94047342d306baaea2b92b7aad6ba60f9a9","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"kubernetes/kubernetes","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-09-01T21:37:30Z","pushed_at":"2015-09-01T22:25:12Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"http://kubernetes.io","size":371594,"stargazers_count":10005,"watchers_count":10005,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2438,"mirror_url":null,"open_issues_count":1691,"forks":2438,"open_issues":1691,"watchers":10005,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/11942"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/11942"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/11942"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/11942/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/11942/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/11942/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/da5e4d7bd52d8babfccebf4da2b78de8a27d30a6"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":80,"review_comments":110,"commits":1,"additions":1239,"deletions":878,"changed_files":6}}