-
Notifications
You must be signed in to change notification settings - Fork 813
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
feat: Add API Changes and Validation for FleetAutoscaler Schedule/Chain Policy #3893
Conversation
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: 99f0d925-62e5-40d8-868c-2af977a2639c To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: 15027c58-7f05-4218-b801-76f104d6c3a2 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: 26a4d2b4-abea-4328-bffb-f128aadb8f9c To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: 38d660c9-ccaf-4710-a905-d79ff9be47fa To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: 0ccf923c-db32-4bb0-a121-6efd9a59b395 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: ef7af827-f7ad-4fa4-a652-1287643af60e To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: 0234a3cc-4be4-43f1-9d52-077a5e6048f8 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: 62bff435-1774-4603-a5cd-d1f9e5d5ae48 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: e47c7e0f-5f7e-4989-b546-f623430502b2 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: f70f3a5f-d706-47cd-bb98-ddd1a7712835 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: f824a578-619d-4b1f-940c-912236f38ff2 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
1 similar comment
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: e3b65bd9-2a12-4e75-8f09-e452865f9031 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: ef93cb37-d59c-4c86-97ef-0c8e7dc0ee44 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Failed 😱 Build Id: 673473f1-754c-4746-897b-938dd7a3e44d To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
/gcbrun |
Build Succeeded 👏 Build Id: 1630e701-345d-4af6-855d-4cb67e63765b 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:
|
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Build Succeeded 👏 Build Id: 6ae36be4-dc10-41f5-a048-efb8b4e74840 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:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there!
…erty and Tests to take RFC3339 Strings for readability
Build Failed 😭 Build Id: 71fce39f-c63d-41b1-bb12-b6dd7368db2b Status: CANCELLED To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😭 Build Id: e58704d1-7f2d-41ae-b458-b0a07c25b5f3 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: e58704d1-7f2d-41ae-b458-b0a07c25b5f3 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
f848641
to
56a08d9
Compare
Build Succeeded 🥳 Build Id: 6db1e57e-16f5-4ac7-bd03-30b483065097 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:
|
…denotation aand only including the contents
56a08d9
to
a86aa34
Compare
Build Failed 😭 Build Id: a561462e-dedc-4529-a940-a9af4b076764 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 🥳 Build Id: f1915da8-fd32-44e7-9e48-d6165f7fd164 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:
|
Build Succeeded 🥳 Build Id: e35db689-5bcf-4e28-ab21-c0a372085a01 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:
|
Build Succeeded 🥳 Build Id: 2aec90b5-0be1-4a90-b5c8-b31d78367381 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:
|
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [agones](https://agones.dev) ([source](https://github.com/googleforgames/agones)) | minor | `1.42.0` -> `1.43.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>googleforgames/agones (agones)</summary> ### [`v1.43.0`](https://github.com/googleforgames/agones/releases/tag/v1.43.0) [Compare Source](https://github.com/googleforgames/agones/compare/v1.42.0...v1.43.0) This is the 1.43.0 release of Agones. In this release, we updated the supported Kubernetes version, added a new scheduled autoscaler, as well as Unity support for Counters and Lists.. - **Kubernetes 1.30 Support** With this release, the Kubernetes support matrix for Agones is now 1.28, 1.29 and 1.30. - **Alpha support for ScheduledAutoscaler** This provides the ability to have Fleet autoscaler scheduling with the feature flag `ScheduledAutoscaler`, to allow you to schedule what level of autoscaling you would like on a schedule or between dates, giving you more control over your autoscaling needs. - **Unity SDK: Counters and Lists** We now have support for `GameServer` [Counters and Lists](https://agones.dev/site/docs/guides/counters-and-lists/) with our Unity SDK! - **New Helm Installation Configuration Options** Two new installation options! We made the parameters that control how fast we scale up and down `GameServers` configurable, so you can see how fast your Kubernetes control plane really is when spinning up lots of `GameServer` instances. We also have new Helm configuration options that allow the use of the host network for the Agones controller and extensions for AWS EKS when using Cilium. - **Beta support for Passthrough PortPolicy on GKE Autopilot** We’ve graduated Passthrough Port Policy support from Alpha to Beta on GKE Autopilot, which you can now enable using the feature flag `AutopilotPassthroughPort`. <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed ##### Breaking changes - Revert "Update Supported Kubernetes to 1.28, 1.29, 1.30 ([#​3933](https://github.com/googleforgames/agones/issues/3933))" by [@​gongmax](https://github.com/gongmax) in [https://github.com/googleforgames/agones/pull/3952](https://github.com/googleforgames/agones/pull/3952) ##### Implemented enhancements - Add Option to Use Host Network and Configure Ports by [@​Orza](https://github.com/Orza) in [https://github.com/googleforgames/agones/pull/3895](https://github.com/googleforgames/agones/pull/3895) - Graduate Passthrough Port Policy to Beta on Autopilot by [@​vicentefb](https://github.com/vicentefb) in [https://github.com/googleforgames/agones/pull/3916](https://github.com/googleforgames/agones/pull/3916) - Agones Unity SDK development setup instructions + Agones Unity SDK Ready test by [@​aallbrig](https://github.com/aallbrig) in [https://github.com/googleforgames/agones/pull/3887](https://github.com/googleforgames/agones/pull/3887) - feat: Add API Changes and Validation for FleetAutoscaler Schedule/Chain Policy by [@​indexjoseph](https://github.com/indexjoseph) in [https://github.com/googleforgames/agones/pull/3893](https://github.com/googleforgames/agones/pull/3893) - feat: Adds autoscaling logic for new Chain and Schedule policies by [@​indexjoseph](https://github.com/indexjoseph) in [https://github.com/googleforgames/agones/pull/3929](https://github.com/googleforgames/agones/pull/3929) - Adds basic framework for the in place Agones upgrades test controller by [@​igooch](https://github.com/igooch) in [https://github.com/googleforgames/agones/pull/3956](https://github.com/googleforgames/agones/pull/3956) - \[Performance] - Added a new metric inside the allocator to track the success retry rate inside the retry loop by [@​vicentefb](https://github.com/vicentefb) in [https://github.com/googleforgames/agones/pull/3927](https://github.com/googleforgames/agones/pull/3927) - Make the parameters that limits the number of GameServers to add configurable by [@​vicentefb](https://github.com/vicentefb) in [https://github.com/googleforgames/agones/pull/3950](https://github.com/googleforgames/agones/pull/3950) - feat: Adds e2e tests for chain/schedule policy and bump ScheduledAutoscaler to Alpha by [@​indexjoseph](https://github.com/indexjoseph) in [https://github.com/googleforgames/agones/pull/3946](https://github.com/googleforgames/agones/pull/3946) - Implement CountsAndLists for Unity SDK + Tests by [@​ZeroParticle](https://github.com/ZeroParticle) in [https://github.com/googleforgames/agones/pull/3883](https://github.com/googleforgames/agones/pull/3883) ##### Fixed bugs - Resolves `make site-server` issue [#​3885](https://github.com/googleforgames/agones/issues/3885) by [@​aallbrig](https://github.com/aallbrig) in [https://github.com/googleforgames/agones/pull/3914](https://github.com/googleforgames/agones/pull/3914) ##### Other - Preparation for Release v1.43.0 by [@​kamaljeeti](https://github.com/kamaljeeti) in [https://github.com/googleforgames/agones/pull/3910](https://github.com/googleforgames/agones/pull/3910) - Introduce external resource(s) on multiplayer game programming to docs by [@​aallbrig](https://github.com/aallbrig) in [https://github.com/googleforgames/agones/pull/3884](https://github.com/googleforgames/agones/pull/3884) - Added line of code to update failure count details inside runscenario by [@​vicentefb](https://github.com/vicentefb) in [https://github.com/googleforgames/agones/pull/3915](https://github.com/googleforgames/agones/pull/3915) - updated golang upgrade template by [@​ashutosji](https://github.com/ashutosji) in [https://github.com/googleforgames/agones/pull/3902](https://github.com/googleforgames/agones/pull/3902) - Changes for GitHub/Cloud Build app integration by [@​zmerlynn](https://github.com/zmerlynn) in [https://github.com/googleforgames/agones/pull/3918](https://github.com/googleforgames/agones/pull/3918) - Meta: Contributor role by [@​markmandel](https://github.com/markmandel) in [https://github.com/googleforgames/agones/pull/3922](https://github.com/googleforgames/agones/pull/3922) - Fix allocator metrics endpoint by [@​vicentefb](https://github.com/vicentefb) in [https://github.com/googleforgames/agones/pull/3921](https://github.com/googleforgames/agones/pull/3921) - Meta: Contributor => Collaborator by [@​markmandel](https://github.com/markmandel) in [https://github.com/googleforgames/agones/pull/3928](https://github.com/googleforgames/agones/pull/3928) - Rewrite agones-bot, commit to Agones repo by [@​zmerlynn](https://github.com/zmerlynn) in [https://github.com/googleforgames/agones/pull/3923](https://github.com/googleforgames/agones/pull/3923) - Small cleanup of incorrect comment in features.go file by [@​igooch](https://github.com/igooch) in [https://github.com/googleforgames/agones/pull/3944](https://github.com/googleforgames/agones/pull/3944) - Update Supported Kubernetes to 1.28, 1.29, 1.30 by [@​ashutosji](https://github.com/ashutosji) in [https://github.com/googleforgames/agones/pull/3933](https://github.com/googleforgames/agones/pull/3933) - remove ctx within the condition func by [@​peterzhongyi](https://github.com/peterzhongyi) in [https://github.com/googleforgames/agones/pull/3959](https://github.com/googleforgames/agones/pull/3959) - Reapply "Update Supported Kubernetes to 1.28, 1.29, 1.30 ([#​3933](https://github.com/googleforgames/agones/issues/3933))" ([#​3](https://github.com/googleforgames/agones/issues/3)… by [@​gongmax](https://github.com/gongmax) in [https://github.com/googleforgames/agones/pull/3961](https://github.com/googleforgames/agones/pull/3961) - change kubernetes API version to fix broken CI by [@​peterzhongyi](https://github.com/peterzhongyi) in [https://github.com/googleforgames/agones/pull/3962](https://github.com/googleforgames/agones/pull/3962) - docs(godot): add Agones x Godot third party example by [@​andresromerodev](https://github.com/andresromerodev) in [https://github.com/googleforgames/agones/pull/3938](https://github.com/googleforgames/agones/pull/3938) - Link Unity Netcode for Gameobjects example in documentation by [@​mbychkowski](https://github.com/mbychkowski) in [https://github.com/googleforgames/agones/pull/3937](https://github.com/googleforgames/agones/pull/3937) - Docs: Use k8s-api-version for links by [@​markmandel](https://github.com/markmandel) in [https://github.com/googleforgames/agones/pull/3963](https://github.com/googleforgames/agones/pull/3963) #### New Contributors - [@​Orza](https://github.com/Orza) made their first contribution in [https://github.com/googleforgames/agones/pull/3895](https://github.com/googleforgames/agones/pull/3895) **Full Changelog**: googleforgames/agones@v1.42.0...v1.43.0 Images available with this release: - [us-docker.pkg.dev/agones-images/release/agones-controller:1.43.0](https://us-docker.pkg.dev/agones-images/release/agones-controller:1.43.0) - [us-docker.pkg.dev/agones-images/release/agones-sdk:1.43.0](https://us-docker.pkg.dev/agones-images/release/agones-sdk:1.43.0) - [us-docker.pkg.dev/agones-images/release/agones-ping:1.43.0](https://us-docker.pkg.dev/agones-images/release/agones-ping:1.43.0) - [us-docker.pkg.dev/agones-images/release/agones-allocator:1.43.0](https://us-docker.pkg.dev/agones-images/release/agones-allocator:1.43.0) - [us-docker.pkg.dev/agones-images/examples/allocation-endpoint-proxy:0.9](https://us-docker.pkg.dev/agones-images/examples/allocation-endpoint-proxy:0.9) - [us-docker.pkg.dev/agones-images/examples/autoscaler-webhook:0.14](https://us-docker.pkg.dev/agones-images/examples/autoscaler-webhook:0.14) - [us-docker.pkg.dev/agones-images/examples/cpp-simple-server:0.18](https://us-docker.pkg.dev/agones-images/examples/cpp-simple-server:0.18) - [us-docker.pkg.dev/agones-images/examples/crd-client:0.17](https://us-docker.pkg.dev/agones-images/examples/crd-client:0.17) - [us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.10](https://us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.10) - [us-docker.pkg.dev/agones-images/examples/rust-simple-server:0.13](https://us-docker.pkg.dev/agones-images/examples/rust-simple-server:0.13) - [us-docker.pkg.dev/agones-images/examples/simple-game-server:0.34](https://us-docker.pkg.dev/agones-images/examples/simple-game-server:0.34) - [us-docker.pkg.dev/agones-images/examples/supertuxkart-example:0.14](https://us-docker.pkg.dev/agones-images/examples/supertuxkart-example:0.14) - [us-docker.pkg.dev/agones-images/examples/unity-simple-server:0.3](https://us-docker.pkg.dev/agones-images/examples/unity-simple-server:0.3) - [us-docker.pkg.dev/agones-images/examples/xonotic-example:2.0](https://us-docker.pkg.dev/agones-images/examples/xonotic-example:2.0) Helm chart available with this release: - <a href="https://agones.dev/chart/stable/agones-1.43.0.tgz" data-proofer-ignore> <code>helm install agones agones/agones --version 1.43.0</code></a> > Make sure to add our stable helm repository using `helm repo add agones https://agones.dev/chart/stable` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ny4xIiwidXBkYXRlZEluVmVyIjoiMzguNTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvaGVsbSIsInR5cGUvbWlub3IiXX0=-->
What type of PR is this?
/kind feature
What this PR does / Why we need it:
Followup of #3880
fleetautoscaler.go
file and tests for validation of schedule policy when being applied.fleetautoscaler.go
file and tests for validation of the chain policy when being applied.Which issue(s) this PR fixes:
Towards #3008