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

fleet: Allow increasing the fleet replicas during a rolling update #3977

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

GonzaloSaez
Copy link

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking
/kind bug
/kind cleanup
/kind documentation

/kind feature

/kind hotfix
/kind release

What this PR does / Why we need it:

Addresses #3970 by adding an extra boolean option to the fleet strategy that allows scaling up the replica count based on the RollingUpdate settings when patching the fleet config. This allows fleets to behave a bit more like a Deployment when there is a redeployment. The new feature unblocks fleets that have all their replicas in Allocated state at the same time that a fleet update is requested. Previously, the new GameServerSet would get stuck until one of the fleet's GameServer was deleted/brought back to Ready state.

Which issue(s) this PR fixes:

Closes #3970

Special notes for your reviewer:

I'm not sure if this is a feature that the Agones maintainer want to support moving forward. This feature is useful for some of my use cases and it'd be difficult for me to maintain it ouside this repo. Happy to hear the opinions of others regarding this new functionality.

Copy link

google-cla bot commented Aug 31, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions bot added kind/feature New features for Agones size/M labels Aug 31, 2024
@agones-bot
Copy link
Collaborator

Build Failed 😭

Build Id: 5b824c81-d928-421c-a81a-0d1977863049

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😭

Build Id: 64243212-5c9f-4cdf-bc35-27cd5a566d28

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@gongmax
Copy link
Collaborator

gongmax commented Sep 27, 2024

Do you think #3762 fixes your use case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New features for Agones size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rolling updates do not progress if all game servers in the fleet are in the Allocated state
3 participants