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

Revert: Make it possible to create a Fleet with 0 replicas #1226

Merged
merged 1 commit into from
Dec 11, 2019

Conversation

markmandel
Copy link
Member

This reverts some of the changes in #1168, which introduced a breaking change that defaulted Fleets to have 1 replica.

Due to the nature of Go, this also meant that if you attempted to create a Fleet with 0 replicas, it would change it to being 1 replica.

Implemented this fix to ensure there is no breaking change in the release and its also useful to be able to create Fleets with 0 replicas in them.

Also including an extra e2e test to make sure creating a Fleet with 0 replicas continues to function into the future.

This reverts some of the changes in googleforgames#1168, which introduced a breaking
change that defaulted Fleets to have 1 replica.

Due to the nature of Go, this also meant that if you attempted to
create a Fleet with 0 replicas, it would change it to being 1 replica.

Implemented this fix to ensure there is no breaking change in the release
and its also useful to be able to create Fleets with 0 replicas in them.

Also including an extra e2e test to make sure creating a Fleet with 0
replicas continues to function into the future.
@markmandel markmandel added kind/bug These are bugs. area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc labels Dec 10, 2019
@markmandel markmandel added this to the 1.2.0 milestone Dec 10, 2019
@markmandel
Copy link
Member Author

@aLekSer do you see any issue with this change?

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 04fb38a7-fa2f-45d8-8e6b-4d42dbb001af

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1226/head:pr_1226 && git checkout pr_1226
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.2.0-335d01d

@markmandel
Copy link
Member Author

Thanks for the quick approval.

Going to wait on @aLekSer 's feedback before merging, and restarting the release process.

@aLekSer
Copy link
Collaborator

aLekSer commented Dec 11, 2019

I think it would be useful. Thanks for fixing this issue.

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: markmandel, pooneh-m, roberthbailey

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [markmandel,pooneh-m,roberthbailey]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@roberthbailey roberthbailey merged commit 1746635 into googleforgames:master Dec 11, 2019
@markmandel markmandel deleted the bug/fleet-zero branch December 11, 2019 14:34
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
…games#1226)

This reverts some of the changes in googleforgames#1168, which introduced a breaking
change that defaulted Fleets to have 1 replica.

Due to the nature of Go, this also meant that if you attempted to
create a Fleet with 0 replicas, it would change it to being 1 replica.

Implemented this fix to ensure there is no breaking change in the release
and its also useful to be able to create Fleets with 0 replicas in them.

Also including an extra e2e test to make sure creating a Fleet with 0
replicas continues to function into the future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/bug These are bugs. lgtm size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants