Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max in flight #3907

Merged
merged 7 commits into from
Jul 30, 2024
Merged

Max in flight #3907

merged 7 commits into from
Jul 30, 2024

Conversation

evanfarrar
Copy link
Member

* A short explanation of the proposed change:
** This exposes a new option for the deployment resource that
* An explanation of the use cases your change solves
** Currently, rolling deploys deploy one instance at a time, but if an app has many instances this can take quite a while

  • Links to any other associated PRs
    ** there is a CLI feature in progress, will link when it is a PR

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

@evanfarrar evanfarrar closed this Jul 30, 2024
@evanfarrar evanfarrar reopened this Jul 30, 2024
@@ -218,6 +305,23 @@ module VCAP::CloudController
subject.scale
end.not_to(change(RouteMappingModel, :count))
end

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# when max_in_flight is greater than original_web_process_instance_count

Copy link
Contributor

@pivotalgeorge pivotalgeorge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deployment spec change

spec/request/deployments_spec.rb Outdated Show resolved Hide resolved
@Samze Samze requested a review from pivotalgeorge July 30, 2024 22:43
Copy link
Contributor

@pivotalgeorge pivotalgeorge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for having a pair of pair of eyes on this with me @Samze !
Looks good to me with the deployment spec coverage

@Samze Samze merged commit 2329550 into main Jul 30, 2024
15 checks passed
@Samze Samze deleted the max_in_flight branch July 30, 2024 23:21
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Jul 30, 2024
Changes in cloud_controller_ng:

- Max in flight
    PR: cloudfoundry/cloud_controller_ng#3907
    Author: Evan Farrar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants