From a08d6c22742fe341a10fa25d3f157c99325fc38f Mon Sep 17 00:00:00 2001 From: Mark Mandel Date: Thu, 16 May 2019 09:49:04 +0900 Subject: [PATCH] Release 0.10.0 (#770) Updates to 0.10.0 full release. --- CHANGELOG.md | 21 ++++++- install/helm/agones/Chart.yaml | 4 +- install/helm/agones/values.yaml | 2 +- install/yaml/install.yaml | 48 +++++++-------- site/config.toml | 4 +- site/content/en/blog/releases/0.10.0-rc.md | 6 +- site/content/en/blog/releases/0.10.0.md | 58 +++++++++++++++++++ .../en/docs/Getting Started/create-fleet.md | 43 -------------- .../en/docs/Guides/Client SDKs/_index.md | 4 -- .../en/docs/Guides/Client SDKs/rest.md | 4 -- .../en/docs/Guides/Client SDKs/rust.md | 5 -- site/content/en/docs/Installation/helm.md | 4 +- site/content/en/docs/Reference/fleet.md | 2 - site/layouts/partials/navbar.html | 1 + 14 files changed, 113 insertions(+), 93 deletions(-) create mode 100755 site/content/en/blog/releases/0.10.0.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 30e9901bba..94a2fd89af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,24 @@ # Changelog -## [v0.10.0-rc](https://github.com/GoogleCloudPlatform/agones/tree/v0.10.0-rc) (2019-05-07) +## [v0.10.0](https://github.com/GoogleCloudPlatform/agones/tree/v0.10.0) (2019-05-15) + +[Full Changelog](https://github.com/GoogleCloudPlatform/agones/compare/v0.10.0-rc...v0.10.0) + +**Fixed bugs:** + +- Add secret list and watch permissions to RBAC rules [\#762](https://github.com/GoogleCloudPlatform/agones/pull/762) ([pooneh-m](https://github.com/pooneh-m)) + +**Closed issues:** + +- Release 0.10.0-rc [\#759](https://github.com/GoogleCloudPlatform/agones/issues/759) + +**Merged pull requests:** + +- Update examples list [\#767](https://github.com/GoogleCloudPlatform/agones/pull/767) ([markmandel](https://github.com/markmandel)) +- Update Fleet autoscaling documentation [\#764](https://github.com/GoogleCloudPlatform/agones/pull/764) ([markmandel](https://github.com/markmandel)) +- Bad copy paste on 0.10.0 rc release page [\#761](https://github.com/GoogleCloudPlatform/agones/pull/761) ([markmandel](https://github.com/markmandel)) + +## [v0.10.0-rc](https://github.com/GoogleCloudPlatform/agones/tree/v0.10.0-rc) (2019-05-08) [Full Changelog](https://github.com/GoogleCloudPlatform/agones/compare/v0.9.0...v0.10.0-rc) @@ -45,6 +63,7 @@ **Merged pull requests:** +- Release 0.10.0-rc [\#760](https://github.com/GoogleCloudPlatform/agones/pull/760) ([markmandel](https://github.com/markmandel)) - Add tests for gameServerCacheEntry in GameServerAllocation controller [\#754](https://github.com/GoogleCloudPlatform/agones/pull/754) ([markmandel](https://github.com/markmandel)) - Fix instructions to create AKS cluster [\#752](https://github.com/GoogleCloudPlatform/agones/pull/752) ([aLekSer](https://github.com/aLekSer)) - Deprecate Fleet Allocation. [\#750](https://github.com/GoogleCloudPlatform/agones/pull/750) ([markmandel](https://github.com/markmandel)) diff --git a/install/helm/agones/Chart.yaml b/install/helm/agones/Chart.yaml index 6dcd64daea..a5fe3026ec 100644 --- a/install/helm/agones/Chart.yaml +++ b/install/helm/agones/Chart.yaml @@ -15,8 +15,8 @@ # Declare variables to be passed into your templates. apiVersion: v1 -appVersion: "0.10.0-rc" -version: 0.10.0-rc +appVersion: "0.10.0" +version: 0.10.0 name: agones description: a library for hosting, running and scaling dedicated game servers on Kubernetes. keywords: diff --git a/install/helm/agones/values.yaml b/install/helm/agones/values.yaml index fe10b9ad8f..a75e390b31 100644 --- a/install/helm/agones/values.yaml +++ b/install/helm/agones/values.yaml @@ -97,7 +97,7 @@ agones: timeoutSeconds: 1 image: registry: gcr.io/agones-images - tag: 0.10.0-rc + tag: 0.10.0 controller: name: agones-controller pullPolicy: IfNotPresent diff --git a/install/yaml/install.yaml b/install/yaml/install.yaml index dd72c6a475..34aed68f5a 100644 --- a/install/yaml/install.yaml +++ b/install/yaml/install.yaml @@ -20,7 +20,7 @@ metadata: namespace: agones-system labels: app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller --- @@ -31,7 +31,7 @@ metadata: namespace: agones-system labels: app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller rules: @@ -72,7 +72,7 @@ metadata: namespace: agones-system labels: app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller subjects: @@ -136,7 +136,7 @@ metadata: namespace: default labels: app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller --- @@ -147,7 +147,7 @@ metadata: namespace: agones-system labels: app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller rules: @@ -165,7 +165,7 @@ metadata: namespace: default labels: app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller subjects: @@ -201,7 +201,7 @@ metadata: labels: component: crd app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller spec: @@ -396,7 +396,7 @@ metadata: labels: component: crd app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller spec: @@ -461,7 +461,7 @@ metadata: labels: component: crd app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller spec: @@ -545,7 +545,7 @@ metadata: labels: component: crd app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller spec: @@ -705,7 +705,7 @@ metadata: controller-tools.k8s.io: "1.0" component: crd app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller name: gameserverallocationpolicies.multicluster.agones.dev @@ -788,7 +788,7 @@ metadata: labels: component: crd app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller spec: @@ -978,7 +978,7 @@ metadata: labels: stable.agones.dev/role: controller app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller spec: @@ -1014,7 +1014,7 @@ metadata: labels: component: controller app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller spec: @@ -1059,7 +1059,7 @@ spec: serviceAccountName: agones-controller containers: - name: agones-controller - image: "gcr.io/agones-images/agones-controller:0.10.0-rc" + image: "gcr.io/agones-images/agones-controller:0.10.0" imagePullPolicy: IfNotPresent env: # minimum port that can be exposed to GameServer traffic @@ -1069,7 +1069,7 @@ spec: - name: MAX_PORT value: "8000" - name: SIDECAR_IMAGE # overwrite the GameServer sidecar image that is used - value: "gcr.io/agones-images/agones-sdk:0.10.0-rc" + value: "gcr.io/agones-images/agones-sdk:0.10.0" - name: ALWAYS_PULL_SIDECAR # set the sidecar imagePullPolicy to Always value: "false" - name: SIDECAR_CPU_REQUEST @@ -1139,7 +1139,7 @@ metadata: labels: component: ping app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller spec: @@ -1176,7 +1176,7 @@ spec: priorityClassName: agones-system containers: - name: agones-ping - image: "gcr.io/agones-images/agones-ping:0.10.0-rc" + image: "gcr.io/agones-images/agones-ping:0.10.0" imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -1200,7 +1200,7 @@ metadata: labels: component: ping app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller spec: @@ -1221,7 +1221,7 @@ metadata: labels: component: ping app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller spec: @@ -1256,7 +1256,7 @@ metadata: labels: component: controller app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller spec: @@ -1276,7 +1276,7 @@ metadata: labels: component: controller app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller webhooks: @@ -1320,7 +1320,7 @@ metadata: labels: component: controller app: agones - chart: agones-0.10.0-rc + chart: agones-0.10.0 release: agones-manual heritage: Tiller webhooks: @@ -1351,7 +1351,7 @@ metadata: namespace: agones-system labels: app: agones-manual - chart: "agones-0.10.0-rc" + chart: "agones-0.10.0" release: "agones-manual" heritage: "Tiller" type: Opaque diff --git a/site/config.toml b/site/config.toml index f3f91b0c34..5b623cc9ca 100644 --- a/site/config.toml +++ b/site/config.toml @@ -86,9 +86,9 @@ github_repo = "https://github.com/GoogleCloudPlatform/agones" gcs_engine_id = "002375903941309441958:rceiko9wfuw" # current release branch - could be rc -release_branch = "release-0.9.0" +release_branch = "release-0.10.0" # the main version. Never is rc. -release_version = "0.9.0" +release_version = "0.10.0" # User interface configuration [params.ui] diff --git a/site/content/en/blog/releases/0.10.0-rc.md b/site/content/en/blog/releases/0.10.0-rc.md index 43c48bcf1b..25ec1e0d2b 100755 --- a/site/content/en/blog/releases/0.10.0-rc.md +++ b/site/content/en/blog/releases/0.10.0-rc.md @@ -13,7 +13,7 @@ Great stuff in this release! **We are now in feature freeze until Tuesday, 14th of May. This means only docs, bug fixes and tests PRs will be merged during this time.** (Other PRs will be marked as "merge-after-release" and will be held until after that date) -Check the README for details on features, installation and usage. +Check the README for details on features, installation and usage. **Breaking changes:** @@ -37,7 +37,7 @@ Check the CHANGELOG for more details on changes. +See CHANGELOG for more details on changes. This software is currently alpha, and subject to change. Not to be used in production systems. @@ -52,7 +52,7 @@ Images available with this release: Helm chart available with this release: -- helm install agones/agones --version 0.10.0-rc +- helm install agones/agones --version 0.10.0-rc > Make sure to add our stable helm repository using `helm repo add https://agones.dev/chart/stable` diff --git a/site/content/en/blog/releases/0.10.0.md b/site/content/en/blog/releases/0.10.0.md new file mode 100755 index 0000000000..6ebbfbcbff --- /dev/null +++ b/site/content/en/blog/releases/0.10.0.md @@ -0,0 +1,58 @@ +--- +title: "0.10.0 - Unreal, Self Allocation and Performance Improvements" +linkTitle: "0.10.0" +date: 2019-05-13 +--- + +Great stuff in this release! + +- Unreal Server SDK! +- GameServers can self Allocate +- Faster Allocations + +As always, huge thanks to the team of people working on Agones! + +Check the README for details on features, installation and usage. + +**Breaking changes:** + +- Add status subresource for FleetAutoscaler [\#730](https://github.com/GoogleCloudPlatform/agones/pull/730) ([aLekSer](https://github.com/aLekSer)) +- Implement GameServerAlocation as API Extension [\#682](https://github.com/GoogleCloudPlatform/agones/pull/682) ([markmandel](https://github.com/markmandel)) + +**Implemented enhancements:** + +- Implementing cross cluster allocation request [\#757](https://github.com/GoogleCloudPlatform/agones/pull/757) ([pooneh-m](https://github.com/pooneh-m)) +- Rename APIServerEndpoint to AllocationEndpoint for multi-cluster allocation [\#755](https://github.com/GoogleCloudPlatform/agones/pull/755) ([pooneh-m](https://github.com/pooneh-m)) +- Implement multicluster allocation for local cluster allocation. [\#753](https://github.com/GoogleCloudPlatform/agones/pull/753) ([pooneh-m](https://github.com/pooneh-m)) +- Implementing cluster selector from multi-cluster allocation policies. [\#733](https://github.com/GoogleCloudPlatform/agones/pull/733) ([pooneh-m](https://github.com/pooneh-m)) +- Added Supersolid logo to the homepage [\#727](https://github.com/GoogleCloudPlatform/agones/pull/727) ([KamiShepard](https://github.com/KamiShepard)) +- Implementation of SDK.Allocate\(\) [\#721](https://github.com/GoogleCloudPlatform/agones/pull/721) ([markmandel](https://github.com/markmandel)) +- Add allocation policy CRD and schema definition. [\#698](https://github.com/GoogleCloudPlatform/agones/pull/698) ([pooneh-m](https://github.com/pooneh-m)) +- Helm support for Terraform [\#696](https://github.com/GoogleCloudPlatform/agones/pull/696) ([aLekSer](https://github.com/aLekSer)) +- Implement lacking functions in Rust SDK [\#693](https://github.com/GoogleCloudPlatform/agones/pull/693) ([thara](https://github.com/thara)) +- Terraform support to generate test cluster [\#670](https://github.com/GoogleCloudPlatform/agones/pull/670) ([aLekSer](https://github.com/aLekSer)) +- Lightweight library for implementing APIServer extensions [\#659](https://github.com/GoogleCloudPlatform/agones/pull/659) ([markmandel](https://github.com/markmandel)) +- Unreal Engine 4 Plugin [\#647](https://github.com/GoogleCloudPlatform/agones/pull/647) ([YannickLange](https://github.com/YannickLange)) + +Documentation: https://development.agones.dev/site/ + +See CHANGELOG for more details on changes. + +This software is currently alpha, and subject to change. Not to be used in production systems. + +Images available with this release: + +- [gcr.io/agones-images/agones-controller:0.10.0](https://gcr.io/agones-images/agones-controller:0.10.0) +- [gcr.io/agones-images/agones-sdk:0.10.0](https://gcr.io/agones-images/agones-sdk:0.10.0) +- [gcr.io/agones-images/agones-ping:0.10.0](https://gcr.io/agones-images/agones-ping:0.10.0) +- [gcr.io/agones-images/cpp-simple-server:0.5](https://gcr.io/agones-images/cpp-simple-server:0.5) +- [gcr.io/agones-images/udp-server:0.8](https://gcr.io/agones-images/udp-server:0.8) +- [gcr.io/agones-images/xonotic-example:0.5](https://gcr.io/agones-images/xonotic-example:0.5) + +Helm chart available with this release: + +- helm install agones/agones --version 0.10.0 + +> Make sure to add our stable helm repository using `helm repo add https://agones.dev/chart/stable` + + diff --git a/site/content/en/docs/Getting Started/create-fleet.md b/site/content/en/docs/Getting Started/create-fleet.md index 1fc4b6f806..79f31194f7 100644 --- a/site/content/en/docs/Getting Started/create-fleet.md +++ b/site/content/en/docs/Getting Started/create-fleet.md @@ -176,44 +176,6 @@ For the full details of the YAML file head to the [Fleet Specification Guide]({{ You should get back a response that looks like the following: -{{% feature expiryVersion="0.10.0" %}} -```yaml -apiVersion: stable.agones.dev/v1alpha1 -kind: GameServerAllocation -metadata: - creationTimestamp: 2018-12-31T22:52:41Z - generateName: simple-udp- - generation: 1 - name: simple-udp-czw2b - namespace: default - ownerReferences: - - apiVersion: stable.agones.dev/v1alpha1 - blockOwnerDeletion: true - controller: true - kind: GameServer - name: simple-udp-sdhzn-r4d6x - uid: b0ad460b-0d4e-11e9-9986-dcbf85d40d0b - resourceVersion: "4085" - selfLink: /apis/stable.agones.dev/v1alpha1/namespaces/default/gameserverallocations/simple-udp-czw2b - uid: c7547505-0d4e-11e9-9986-dcbf85d40d0b -spec: - metadata: {} - required: - matchLabels: - stable.agones.dev/fleet: simple-udp - scheduling: Packed -status: - address: 192.168.122.205 - gameServerName: simple-udp-sdhzn-r4d6x - nodeName: minikube - ports: - - name: default - port: 7623 - state: Allocated -``` -{{% /feature %}} - -{{% feature publishVersion="0.10.0" %}} ```yaml apiVersion: allocation.agones.dev/v1alpha1 kind: GameServerAllocation @@ -236,7 +198,6 @@ status: port: 7714 state: Allocated ``` -{{% /feature %}} If you look at the `status` section, there are several things to take note of. The `state` value will tell if a `GameServer` was allocated or not. If a `GameServer` could not be found, this will be set to `UnAllocated`. @@ -267,17 +228,13 @@ simple-udp-sdhzn-wng5k Ready 192.168.122.205 7709 minikube 53m simple-udp-sdhzn-wnhsw Ready 192.168.122.205 7478 minikube 52m ``` -{{% feature publishVersion="0.10.0" %}} > `GameServerAllocations` are create only and not stored for performance reasons, so you won't be able to list them after they have been created - but you can see their effects on `GameServers` -{{% /feature %}} #### FleetAllocation -{{% feature publishVersion="0.10.0" %}} > Fleet Allocation is **deprecated** in version 0.10.0, and will be removed in the 0.12.0 release. Migrate to using GameServer Allocation instead. -{{% /feature %}} We can do allocation of a GameServer for usage through a `FleetAllocation`, which will both return to us a `GameServer` (assuming one is available) and also move it to the `Allocated` state. diff --git a/site/content/en/docs/Guides/Client SDKs/_index.md b/site/content/en/docs/Guides/Client SDKs/_index.md index 34ab550dce..971bdd7123 100644 --- a/site/content/en/docs/Guides/Client SDKs/_index.md +++ b/site/content/en/docs/Guides/Client SDKs/_index.md @@ -106,8 +106,6 @@ specifically at the `message GameServer`. For language specific documentation, have a look at the respective source (linked above), and the {{< ghlink href="examples" >}}examples{{< /ghlink >}}. -{{% feature publishVersion="0.10.0" %}} - ### Allocate() With some matchmakers and game matching strategies, it can be important for game servers to mark themselves as `Allocated`. @@ -117,8 +115,6 @@ For those scenarios, this SDK functionality exists. as it gives Agones control over how packed `GameServers` are scheduled within a cluster, whereas with `Allocate()` you relinquish control to an external service which likely doesn't have as much information as Agones. -{{% /feature %}} - ## Writing your own SDK If there isn't a SDK for the language and platform you are looking for, you have several options: diff --git a/site/content/en/docs/Guides/Client SDKs/rest.md b/site/content/en/docs/Guides/Client SDKs/rest.md index 0e64cd66b1..b1281887f4 100644 --- a/site/content/en/docs/Guides/Client SDKs/rest.md +++ b/site/content/en/docs/Guides/Client SDKs/rest.md @@ -149,8 +149,6 @@ Response: {"result":{"object_meta":{"name":"local","namespace":"default","uid":"1234","resource_version":"v1","generation":"1","creation_timestamp":"1533766607","annotations":{"annotation":"true"},"labels":{"islocal":"true"}},"status":{"state":"Ready","address":"127.0.0.1","ports":[{"name":"default","port":7777}]}}} ``` -{{% feature publishVersion="0.10.0" %}} - ### Allocate With some matchmakers and game matching strategies, it can be important for game servers to mark themselves as `Allocated`. @@ -165,5 +163,3 @@ relinquish control to an external service which likely doesn't have as much info ```bash $ curl -d "{}" -H "Content-Type: application/json" -X POST http://localhost:59358/allocate ``` - -{{% /feature %}} \ No newline at end of file diff --git a/site/content/en/docs/Guides/Client SDKs/rust.md b/site/content/en/docs/Guides/Client SDKs/rust.md index 40a2afb39b..c25fabb1b4 100644 --- a/site/content/en/docs/Guides/Client SDKs/rust.md +++ b/site/content/en/docs/Guides/Client SDKs/rust.md @@ -54,8 +54,6 @@ if sdk.shutdown().is_err() { } ``` -{{% feature publishVersion="0.10.0" %}} - To [set a Label]({{< relref "_index.md#setlabel-key-value" >}}) on the backing `GameServer` call `sdk.set_label(key, value)`. ```rust @@ -87,7 +85,4 @@ sdk.watch_gameserver(|gameserver| { })?; ``` -{{% /feature %}} - - For more information, please read the [SDK Overview]({{< relref "_index.md" >}}), check out {{< ghlink href="sdks/rust/src/sdk.rs" >}}agones sdk implementation{{< /ghlink >}} and also look at the {{< ghlink href="examples/rust-simple" >}}Rust example{{< / >}}. diff --git a/site/content/en/docs/Installation/helm.md b/site/content/en/docs/Installation/helm.md index 098adac4c9..6750d54d87 100644 --- a/site/content/en/docs/Installation/helm.md +++ b/site/content/en/docs/Installation/helm.md @@ -102,6 +102,7 @@ The following tables lists the configurable parameters of the Agones chart and t | --------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ---------------------- | | `agones.rbacEnabled` | Creates RBAC resources. Must be set for any cluster configured with RBAC | `true` | | `agones.registerWebhooks` | Registers the webhooks used for the admission controller | `true` | +| `agones.registerApiService` | Registers the apiservice(s) used for the Kubernetes API extension | `true` | | `agones.registerServiceAccounts` | Attempts to create service accounts for the controllers | `true` | | `agones.createPriorityClass` | Attempts to create priority classes for the controllers | `true` | | `agones.priorityClassName` | Name of the priority classes to create | `agones-system` | @@ -161,12 +162,11 @@ The following tables lists the configurable parameters of the Agones chart and t | `gameservers.minPort` | Minimum port to use for dynamic port allocation | `7000` | | `gameservers.maxPort` | Maximum port to use for dynamic port allocation | `8000` | -{{% feature publishVersion="0.10.0" %}} +{{% feature publishVersion="0.11.0" %}} **New Configuration Features:** | Parameter | Description | Default | | --------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ---------------------- | -| `agones.registerApiService` | Registers the apiservice(s) used for the Kubernetes API extension | `true` | {{% /feature %}} diff --git a/site/content/en/docs/Reference/fleet.md b/site/content/en/docs/Reference/fleet.md index 986c436d3d..659e31a238 100644 --- a/site/content/en/docs/Reference/fleet.md +++ b/site/content/en/docs/Reference/fleet.md @@ -144,10 +144,8 @@ The `spec` field is the actual `GameServerAllocation` specification and it is co # Fleet Allocation Specification -{{% feature publishVersion="0.10.0" %}} > Fleet Allocation is **deprecated** in version 0.10.0, and will be removed in the 0.12.0 release. Migrate to using GameServer Allocation instead. -{{% /feature %}} A `FleetAllocation` is used to allocate a `GameServer` out of an existing `Fleet` diff --git a/site/layouts/partials/navbar.html b/site/layouts/partials/navbar.html index 5c07ca025f..e369322b0d 100644 --- a/site/layouts/partials/navbar.html +++ b/site/layouts/partials/navbar.html @@ -27,6 +27,7 @@