{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/975","labels_url":"https://api.github.com/repos/mesosphere/marathon/issues/975/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/975/comments","events_url":"https://api.github.com/repos/mesosphere/marathon/issues/975/events","html_url":"https://github.com/mesosphere/marathon/pull/975","id":53972985,"number":975,"title":"Implement upgradeStrategy.maximumUpgradeCapacity in the TaskReplaceActor","user":{"login":"sttts","id":730123,"avatar_url":"https://avatars.githubusercontent.com/u/730123?v=3","gravatar_id":"","url":"https://api.github.com/users/sttts","html_url":"https://github.com/sttts","followers_url":"https://api.github.com/users/sttts/followers","following_url":"https://api.github.com/users/sttts/following{/other_user}","gists_url":"https://api.github.com/users/sttts/gists{/gist_id}","starred_url":"https://api.github.com/users/sttts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttts/subscriptions","organizations_url":"https://api.github.com/users/sttts/orgs","repos_url":"https://api.github.com/users/sttts/repos","events_url":"https://api.github.com/users/sttts/events{/privacy}","received_events_url":"https://api.github.com/users/sttts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-10T22:03:18Z","updated_at":"2015-01-12T15:24:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mesosphere/marathon/pulls/975","html_url":"https://github.com/mesosphere/marathon/pull/975","diff_url":"https://github.com/mesosphere/marathon/pull/975.diff","patch_url":"https://github.com/mesosphere/marathon/pull/975.patch"},"body":"From the documentation:\r\n\r\n`maximumUpgradeCapacity` (Optional. Default: 2.0) - a number between 1 and 2 which is multiplied with the instance count. This is the maximum number of instances launched at any point of time during the upgrade process.\r\n\r\nThis allows to deploy rolling upgrades.\r\n\r\nFixes #689."},"comment":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/comments/69585792","html_url":"https://github.com/mesosphere/marathon/pull/975#issuecomment-69585792","issue_url":"https://api.github.com/repos/mesosphere/marathon/issues/975","id":69585792,"user":{"login":"sttts","id":730123,"avatar_url":"https://avatars.githubusercontent.com/u/730123?v=3","gravatar_id":"","url":"https://api.github.com/users/sttts","html_url":"https://github.com/sttts","followers_url":"https://api.github.com/users/sttts/followers","following_url":"https://api.github.com/users/sttts/following{/other_user}","gists_url":"https://api.github.com/users/sttts/gists{/gist_id}","starred_url":"https://api.github.com/users/sttts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttts/subscriptions","organizations_url":"https://api.github.com/users/sttts/orgs","repos_url":"https://api.github.com/users/sttts/repos","events_url":"https://api.github.com/users/sttts/events{/privacy}","received_events_url":"https://api.github.com/users/sttts/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T15:24:32Z","updated_at":"2015-01-12T15:24:32Z","body":"For my understanding \"capacity\" means a factor instead of the actual number. Because app.instances can grow while the upgradeStrategy should stay the same, using a \"capacity\" for these values makes sense.\r\n\r\nHow about \"maximumExtraCapacityForUpgrade\" ? A value between 0 and 1, by default equal to 1."}}