From 635f80e192d1e9ad49ce45a731d42c44c86e6377 Mon Sep 17 00:00:00 2001 From: Alexey Kremsa Date: Tue, 11 Feb 2020 18:04:06 +0300 Subject: [PATCH 1/7] Updated simple udp updated simple-tcp simple-tcp updated allocator-service --- build/includes/minikube.mk | 4 ++++ examples/allocator-service/Dockerfile | 2 +- examples/crd-client/create-gs.yaml | 2 +- examples/crd-client/main.go | 2 +- examples/fleet.yaml | 2 +- examples/gameserver.yaml | 2 +- examples/simple-tcp/Dockerfile | 2 +- examples/simple-tcp/gameserver.yaml | 3 ++- examples/simple-udp/Dockerfile | 2 +- examples/simple-udp/dev-gameserver.yaml | 2 +- examples/simple-udp/fleet-distributed.yaml | 2 +- examples/simple-udp/fleet.yaml | 2 +- examples/simple-udp/gameserver-passthrough.yaml | 2 +- examples/simple-udp/gameserver.yaml | 2 +- examples/simple-udp/gameserverset.yaml | 2 +- pkg/util/webhooks/webhooks_test.go | 2 +- site/config.toml | 2 +- site/content/en/blog/releases/1.1.0-rc.md | 2 +- site/content/en/blog/releases/1.1.0.md | 2 +- site/content/en/blog/releases/1.2.0-rc.md | 2 +- site/content/en/blog/releases/1.2.0.md | 2 +- site/content/en/blog/releases/1.3.0-rc.md | 2 +- site/content/en/blog/releases/1.3.0.md | 2 +- site/content/en/docs/Reference/fleet.md | 2 +- site/content/en/docs/Reference/gameserver.md | 2 +- 25 files changed, 29 insertions(+), 24 deletions(-) diff --git a/build/includes/minikube.mk b/build/includes/minikube.mk index 5fe7d8a96d..bed26fc08b 100644 --- a/build/includes/minikube.mk +++ b/build/includes/minikube.mk @@ -54,6 +54,10 @@ minikube-push: minikube-agones-profile $(MAKE) minikube-transfer-image TAG=$(ping_tag) $(MAKE) minikube-transfer-image TAG=$(allocator_tag) +minikube-push-simple-udp: minikube-agones-profile + $(MAKE) minikube-transfer-image TAG=gcr.io/agones-images/udp-server:0.18 + + # Installs the current development version of Agones into the Kubernetes cluster. # Use this instead of `make install`, as it disables PullAlways on the install.yaml minikube-install: minikube-agones-profile diff --git a/examples/allocator-service/Dockerfile b/examples/allocator-service/Dockerfile index b226ae5ee4..72acfc2b00 100644 --- a/examples/allocator-service/Dockerfile +++ b/examples/allocator-service/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # Gather dependencies and build the executable -FROM golang:1.10.3 as builder +FROM golang:1.13.7 as builder WORKDIR /go/src/agones.dev # TODO: Clone from the latest release branch instead of from the master branch. diff --git a/examples/crd-client/create-gs.yaml b/examples/crd-client/create-gs.yaml index 1ec30ffb82..d0ab4e89db 100644 --- a/examples/crd-client/create-gs.yaml +++ b/examples/crd-client/create-gs.yaml @@ -28,5 +28,5 @@ spec: imagePullPolicy: Always env: - name: GAMESERVER_IMAGE - value: "gcr.io/agones-images/udp-server:0.17" + value: "gcr.io/agones-images/udp-server:0.18" restartPolicy: Never diff --git a/examples/crd-client/main.go b/examples/crd-client/main.go index ee29458be1..83410091dd 100644 --- a/examples/crd-client/main.go +++ b/examples/crd-client/main.go @@ -32,7 +32,7 @@ import ( const ( gameServerImage = "GAMESERVER_IMAGE" - defaultImage = "gcr.io/agones-images/udp-server:0.17" + defaultImage = "gcr.io/agones-images/udp-server:0.18" ) func main() { diff --git a/examples/fleet.yaml b/examples/fleet.yaml index ba01da2db6..699e6a4149 100644 --- a/examples/fleet.yaml +++ b/examples/fleet.yaml @@ -74,4 +74,4 @@ spec: spec: containers: - name: simple-udp - image: gcr.io/agones-images/udp-server:0.17 \ No newline at end of file + image: gcr.io/agones-images/udp-server:0.18 \ No newline at end of file diff --git a/examples/gameserver.yaml b/examples/gameserver.yaml index 2cf1b3b7a7..c1ba3012ce 100644 --- a/examples/gameserver.yaml +++ b/examples/gameserver.yaml @@ -85,5 +85,5 @@ spec: spec: containers: - name: simple-udp - image: gcr.io/agones-images/udp-server:0.17 + image: gcr.io/agones-images/udp-server:0.18 imagePullPolicy: Always diff --git a/examples/simple-tcp/Dockerfile b/examples/simple-tcp/Dockerfile index e792d546a7..f2036fbeb2 100644 --- a/examples/simple-tcp/Dockerfile +++ b/examples/simple-tcp/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # build -FROM golang:1.11.5 as builder +FROM golang:1.13.7 as builder WORKDIR /go/src/simple-tcp COPY examples/simple-tcp/main.go . diff --git a/examples/simple-tcp/gameserver.yaml b/examples/simple-tcp/gameserver.yaml index 51b80bd330..cfe91c1537 100644 --- a/examples/simple-tcp/gameserver.yaml +++ b/examples/simple-tcp/gameserver.yaml @@ -16,6 +16,7 @@ apiVersion: "agones.dev/v1" kind: GameServer metadata: generateName: "simple-tcp-" + name: simple-tcp spec: ports: - name: default @@ -26,7 +27,7 @@ spec: spec: containers: - name: simple-tcp - image: gcr.io/agones-images/tcp-server:0.3 + image: gcr.io/agones-images/tcp-server:0.4 resources: requests: memory: "32Mi" diff --git a/examples/simple-udp/Dockerfile b/examples/simple-udp/Dockerfile index 563bfe78ea..fd1da44af9 100644 --- a/examples/simple-udp/Dockerfile +++ b/examples/simple-udp/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # build -FROM golang:1.11.5 as builder +FROM golang:1.13.7 as builder WORKDIR /go/src/simple-udp COPY examples/simple-udp/main.go . diff --git a/examples/simple-udp/dev-gameserver.yaml b/examples/simple-udp/dev-gameserver.yaml index 37fd33e43b..323bd5d7bb 100644 --- a/examples/simple-udp/dev-gameserver.yaml +++ b/examples/simple-udp/dev-gameserver.yaml @@ -31,4 +31,4 @@ spec: spec: containers: - name: simple-udp - image: gcr.io/agones-images/udp-server:0.17 + image: gcr.io/agones-images/udp-server:0.18 diff --git a/examples/simple-udp/fleet-distributed.yaml b/examples/simple-udp/fleet-distributed.yaml index 09b03c7ace..42939ee964 100644 --- a/examples/simple-udp/fleet-distributed.yaml +++ b/examples/simple-udp/fleet-distributed.yaml @@ -32,7 +32,7 @@ spec: spec: containers: - name: simple-udp - image: gcr.io/agones-images/udp-server:0.17 + image: gcr.io/agones-images/udp-server:0.18 resources: requests: memory: "32Mi" diff --git a/examples/simple-udp/fleet.yaml b/examples/simple-udp/fleet.yaml index 56c9a35b0a..cc8d5f1e28 100644 --- a/examples/simple-udp/fleet.yaml +++ b/examples/simple-udp/fleet.yaml @@ -27,7 +27,7 @@ spec: spec: containers: - name: simple-udp - image: gcr.io/agones-images/udp-server:0.17 + image: gcr.io/agones-images/udp-server:0.18 resources: requests: memory: "64Mi" diff --git a/examples/simple-udp/gameserver-passthrough.yaml b/examples/simple-udp/gameserver-passthrough.yaml index 2c57670dbd..57c98d8352 100644 --- a/examples/simple-udp/gameserver-passthrough.yaml +++ b/examples/simple-udp/gameserver-passthrough.yaml @@ -24,7 +24,7 @@ spec: spec: containers: - name: simple-udp - image: gcr.io/agones-images/udp-server:0.17 + image: gcr.io/agones-images/udp-server:0.18 env: - name: "PASSTHROUGH" value: "TRUE" diff --git a/examples/simple-udp/gameserver.yaml b/examples/simple-udp/gameserver.yaml index 331f18b1a4..06f14cb2d7 100644 --- a/examples/simple-udp/gameserver.yaml +++ b/examples/simple-udp/gameserver.yaml @@ -25,7 +25,7 @@ spec: spec: containers: - name: simple-udp - image: gcr.io/agones-images/udp-server:0.17 + image: gcr.io/agones-images/udp-server:0.18 resources: requests: memory: "32Mi" diff --git a/examples/simple-udp/gameserverset.yaml b/examples/simple-udp/gameserverset.yaml index 2354914357..e588a9e2d1 100644 --- a/examples/simple-udp/gameserverset.yaml +++ b/examples/simple-udp/gameserverset.yaml @@ -31,4 +31,4 @@ spec: spec: containers: - name: simple-udp - image: gcr.io/agones-images/udp-server:0.17 \ No newline at end of file + image: gcr.io/agones-images/udp-server:0.18 \ No newline at end of file diff --git a/pkg/util/webhooks/webhooks_test.go b/pkg/util/webhooks/webhooks_test.go index 86a3edadc1..a8165e17e3 100644 --- a/pkg/util/webhooks/webhooks_test.go +++ b/pkg/util/webhooks/webhooks_test.go @@ -163,7 +163,7 @@ func TestWebHookFleetValidationHandler(t *testing.T) { "template": { "spec": { "containers": [{ - "image": "gcr.io/agones-images/udp-server:0.17", + "image": "gcr.io/agones-images/udp-server:0.18", "name": false }] } diff --git a/site/config.toml b/site/config.toml index 70f9fea483..057221c6d0 100644 --- a/site/config.toml +++ b/site/config.toml @@ -91,7 +91,7 @@ release_branch = "release-1.3.0" release_version = "1.3.0" # example tag -example_image_tag = "gcr.io/agones-images/udp-server:0.17" +example_image_tag = "gcr.io/agones-images/udp-server:0.18" # User interface configuration [params.ui] diff --git a/site/content/en/blog/releases/1.1.0-rc.md b/site/content/en/blog/releases/1.1.0-rc.md index 5a31f9d7ab..a8fcfe0a49 100755 --- a/site/content/en/blog/releases/1.1.0-rc.md +++ b/site/content/en/blog/releases/1.1.0-rc.md @@ -59,7 +59,7 @@ Images available with this release: - [gcr.io/agones-images/rust-simple-server:0.5](https://gcr.io/agones-images/rust-simple-server:0.5) - [gcr.io/agones-images/unity-simple-server:0.2](https://gcr.io/agones-images/unity-simple-server:0.2) - [gcr.io/agones-images/udp-server:0.15](https://gcr.io/agones-images/udp-server:0.15) -- [gcr.io/agones-images/tcp-server:0.1](https://gcr.io/agones-images/tcp-server:0.1) +- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4) - [gcr.io/agones-images/xonotic-example:0.6](https://gcr.io/agones-images/xonotic-example:0.6) Helm chart available with this release: diff --git a/site/content/en/blog/releases/1.1.0.md b/site/content/en/blog/releases/1.1.0.md index 6a57cab1fc..59177e6ccb 100755 --- a/site/content/en/blog/releases/1.1.0.md +++ b/site/content/en/blog/releases/1.1.0.md @@ -65,7 +65,7 @@ Images available with this release: - [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6) - [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3) - [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17) -- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3) +- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4) - [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7) Helm chart available with this release: diff --git a/site/content/en/blog/releases/1.2.0-rc.md b/site/content/en/blog/releases/1.2.0-rc.md index 11e5f45d99..d6798e9daa 100755 --- a/site/content/en/blog/releases/1.2.0-rc.md +++ b/site/content/en/blog/releases/1.2.0-rc.md @@ -50,7 +50,7 @@ Images available with this release: - [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6) - [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3) - [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17) -- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3) +- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4) - [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7) Helm chart available with this release: diff --git a/site/content/en/blog/releases/1.2.0.md b/site/content/en/blog/releases/1.2.0.md index 9a22a9765c..87c3e946e3 100755 --- a/site/content/en/blog/releases/1.2.0.md +++ b/site/content/en/blog/releases/1.2.0.md @@ -48,7 +48,7 @@ Images available with this release: - [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6) - [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3) - [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17) -- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3) +- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4) - [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7) Helm chart available with this release: diff --git a/site/content/en/blog/releases/1.3.0-rc.md b/site/content/en/blog/releases/1.3.0-rc.md index 8b54ea2c17..5eb118b783 100755 --- a/site/content/en/blog/releases/1.3.0-rc.md +++ b/site/content/en/blog/releases/1.3.0-rc.md @@ -59,7 +59,7 @@ Images available with this release: - [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6) - [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3) - [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17) -- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3) +- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4) - [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7) Helm chart available with this release: diff --git a/site/content/en/blog/releases/1.3.0.md b/site/content/en/blog/releases/1.3.0.md index 681299aa13..4db79e387b 100755 --- a/site/content/en/blog/releases/1.3.0.md +++ b/site/content/en/blog/releases/1.3.0.md @@ -55,7 +55,7 @@ Images available with this release: - [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6) - [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3) - [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17) -- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3) +- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4) - [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7) Helm chart available with this release: diff --git a/site/content/en/docs/Reference/fleet.md b/site/content/en/docs/Reference/fleet.md index ba72b5d938..b6b3c761d2 100644 --- a/site/content/en/docs/Reference/fleet.md +++ b/site/content/en/docs/Reference/fleet.md @@ -67,7 +67,7 @@ spec: spec: containers: - name: simple-udp - image: gcr.io/agones-images/udp-server:0.17 + image: gcr.io/agones-images/udp-server:0.18 ``` Since Agones defines a new diff --git a/site/content/en/docs/Reference/gameserver.md b/site/content/en/docs/Reference/gameserver.md index 7b07536327..e5a3962979 100644 --- a/site/content/en/docs/Reference/gameserver.md +++ b/site/content/en/docs/Reference/gameserver.md @@ -74,7 +74,7 @@ spec: spec: containers: - name: simple-udp - image: gcr.io/agones-images/udp-server:0.17 + image: gcr.io/agones-images/udp-server:0.18 imagePullPolicy: Always ``` From ddfe1baa2231480ca5c01b3bae3406ca81950765 Mon Sep 17 00:00:00 2001 From: Alexey Kremsa Date: Thu, 13 Feb 2020 15:39:15 +0300 Subject: [PATCH 2/7] updated rust-simple --- examples/rust-simple/Dockerfile | 2 +- examples/rust-simple/README.md | 2 +- examples/rust-simple/gameserver.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/rust-simple/Dockerfile b/examples/rust-simple/Dockerfile index d06cc64917..56473851ae 100644 --- a/examples/rust-simple/Dockerfile +++ b/examples/rust-simple/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM rust:1.36.0 as builder +FROM rust:1.41.0 as builder RUN useradd -m build # Rust SDK depends on https://github.com/pingcap/grpc-rs and it requires CMake and Go diff --git a/examples/rust-simple/README.md b/examples/rust-simple/README.md index 505d62b1f2..5f709d442b 100644 --- a/examples/rust-simple/README.md +++ b/examples/rust-simple/README.md @@ -37,7 +37,7 @@ $ make run-image You will see the following output: ``` -docker run --network=host gcr.io/agones-images/rust-simple-server:0.4 +docker run --network=host gcr.io/agones-images/rust-simple-server:0.7 Rust Game Server has started! Creating SDK instance Setting a label diff --git a/examples/rust-simple/gameserver.yaml b/examples/rust-simple/gameserver.yaml index fa10438941..5840fe041f 100644 --- a/examples/rust-simple/gameserver.yaml +++ b/examples/rust-simple/gameserver.yaml @@ -26,5 +26,5 @@ spec: spec: containers: - name: rust-simple - image: gcr.io/agones-images/rust-simple-server:0.6 - imagePullPolicy: Always + image: gcr.io/agones-images/rust-simple-server:0.7 + imagePullPolicy: IfNotPresent From 9f5f355c6b2610c600b9b07fdbe07172ecdf4c41 Mon Sep 17 00:00:00 2001 From: Alexey Kremsa Date: Fri, 14 Feb 2020 16:34:05 +0300 Subject: [PATCH 3/7] updated autoscaler-webhook --- examples/autoscaler-webhook/Dockerfile | 2 +- examples/autoscaler-webhook/autoscaler-service-tls.yaml | 2 +- examples/autoscaler-webhook/autoscaler-service.yaml | 4 ++-- test/e2e/fleetautoscaler_test.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/autoscaler-webhook/Dockerfile b/examples/autoscaler-webhook/Dockerfile index 78b45375e4..cdc43391da 100644 --- a/examples/autoscaler-webhook/Dockerfile +++ b/examples/autoscaler-webhook/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # Gather dependencies and build the executable -FROM golang:1.11.5 as builder +FROM golang:1.13.7 as builder WORKDIR /go/src/autoscaler-webhook COPY examples/autoscaler-webhook/main.go . diff --git a/examples/autoscaler-webhook/autoscaler-service-tls.yaml b/examples/autoscaler-webhook/autoscaler-service-tls.yaml index 050555eb03..ad61e0660b 100644 --- a/examples/autoscaler-webhook/autoscaler-service-tls.yaml +++ b/examples/autoscaler-webhook/autoscaler-service-tls.yaml @@ -54,7 +54,7 @@ spec: secretName: autoscalersecret containers: - name: autoscaler-webhook - image: gcr.io/agones-images/autoscaler-webhook:0.2 + image: gcr.io/agones-images/autoscaler-webhook:0.3 imagePullPolicy: Always volumeMounts: - mountPath: /home/service/certs diff --git a/examples/autoscaler-webhook/autoscaler-service.yaml b/examples/autoscaler-webhook/autoscaler-service.yaml index b145943b49..2e0bc7b88c 100644 --- a/examples/autoscaler-webhook/autoscaler-service.yaml +++ b/examples/autoscaler-webhook/autoscaler-service.yaml @@ -50,8 +50,8 @@ spec: #serviceAccount: autoscaler-webhook containers: - name: autoscaler-webhook - image: gcr.io/agones-images/autoscaler-webhook:0.2 - imagePullPolicy: Always + image: gcr.io/agones-images/autoscaler-webhook:0.3 + imagePullPolicy: IfNotPresent ports: - name: autoscaler containerPort: 8000 diff --git a/test/e2e/fleetautoscaler_test.go b/test/e2e/fleetautoscaler_test.go index b554a673ad..5ab9eaa150 100644 --- a/test/e2e/fleetautoscaler_test.go +++ b/test/e2e/fleetautoscaler_test.go @@ -642,7 +642,7 @@ func defaultAutoscalerWebhook() (*corev1.Pod, *corev1.Service) { }, Spec: corev1.PodSpec{ Containers: []corev1.Container{{Name: "webhook", - Image: "gcr.io/agones-images/autoscaler-webhook:0.2", + Image: "gcr.io/agones-images/autoscaler-webhook:0.3", ImagePullPolicy: corev1.PullAlways, Ports: []corev1.ContainerPort{{ ContainerPort: 8000, From 0d2534981312788d20c2935cdc40a8cdc35d6ed6 Mon Sep 17 00:00:00 2001 From: Alexey Kremsa Date: Mon, 17 Feb 2020 15:30:54 +0300 Subject: [PATCH 4/7] Updated xonotic --- examples/xonotic/Dockerfile | 2 +- examples/xonotic/fleet.yaml | 2 +- examples/xonotic/gameserver.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/xonotic/Dockerfile b/examples/xonotic/Dockerfile index a4767d18e9..cc7b826dc8 100644 --- a/examples/xonotic/Dockerfile +++ b/examples/xonotic/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # build -FROM golang:1.11.5 as builder +FROM golang:1.13.7 as builder WORKDIR /go/src/xonotic RUN apt-get update && apt-get install -y unzip curl diff --git a/examples/xonotic/fleet.yaml b/examples/xonotic/fleet.yaml index 7d7ba2dd27..83e6447e12 100644 --- a/examples/xonotic/fleet.yaml +++ b/examples/xonotic/fleet.yaml @@ -35,4 +35,4 @@ spec: spec: containers: - name: xonotic - image: gcr.io/agones-images/xonotic-example:0.7 + image: gcr.io/agones-images/xonotic-example:0.8 diff --git a/examples/xonotic/gameserver.yaml b/examples/xonotic/gameserver.yaml index 318f4276b6..e84eb84940 100644 --- a/examples/xonotic/gameserver.yaml +++ b/examples/xonotic/gameserver.yaml @@ -24,5 +24,5 @@ spec: spec: containers: - name: xonotic - image: gcr.io/agones-images/xonotic-example:0.7 + image: gcr.io/agones-images/xonotic-example:0.8 # imagePullPolicy: Always # add for development From 7b4962ff64613ea05b2cc85dc305ae616b72ff56 Mon Sep 17 00:00:00 2001 From: Alexey Kremsa Date: Mon, 17 Feb 2020 16:19:25 +0300 Subject: [PATCH 5/7] Updated cpp-simple --- examples/cpp-simple/Dockerfile | 2 +- examples/cpp-simple/fleet.yaml | 2 +- examples/cpp-simple/gameserver.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/cpp-simple/Dockerfile b/examples/cpp-simple/Dockerfile index ff31c18c4a..3bf7783a08 100644 --- a/examples/cpp-simple/Dockerfile +++ b/examples/cpp-simple/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM gcc:8 as builder +FROM gcc:9 as builder WORKDIR /project diff --git a/examples/cpp-simple/fleet.yaml b/examples/cpp-simple/fleet.yaml index 4c03d0033d..a391b7a4a0 100644 --- a/examples/cpp-simple/fleet.yaml +++ b/examples/cpp-simple/fleet.yaml @@ -30,5 +30,5 @@ spec: spec: containers: - name: cpp-simple - image: gcr.io/agones-images/cpp-simple-server:0.11 + image: gcr.io/agones-images/cpp-simple-server:0.12 # imagePullPolicy: Always # add for development \ No newline at end of file diff --git a/examples/cpp-simple/gameserver.yaml b/examples/cpp-simple/gameserver.yaml index 0386e783dd..81e36ce368 100644 --- a/examples/cpp-simple/gameserver.yaml +++ b/examples/cpp-simple/gameserver.yaml @@ -27,5 +27,5 @@ spec: spec: containers: - name: cpp-simple - image: gcr.io/agones-images/cpp-simple-server:0.11 + image: gcr.io/agones-images/cpp-simple-server:0.12 imagePullPolicy: Always # add for development \ No newline at end of file From 5d65b31be806c32f8f5148c944c30d9a07ba6785 Mon Sep 17 00:00:00 2001 From: Alexey Kremsa Date: Wed, 19 Feb 2020 14:22:15 +0300 Subject: [PATCH 6/7] Updated crd-client and alpine Reverted imagePullPolicy back reverted md files back minor fix minor fixes removed redundant name field from metadata --- build/Makefile | 2 +- examples/allocator-service/Dockerfile | 2 +- examples/autoscaler-webhook/Dockerfile | 2 +- examples/autoscaler-webhook/autoscaler-service.yaml | 2 +- examples/crd-client/Dockerfile | 4 ++-- examples/crd-client/create-gs.yaml | 2 +- examples/rust-simple/gameserver.yaml | 2 +- examples/simple-tcp/Dockerfile | 2 +- examples/simple-tcp/gameserver.yaml | 1 - examples/simple-udp/Dockerfile | 2 +- site/content/en/blog/releases/1.1.0-rc.md | 2 +- site/content/en/blog/releases/1.1.0.md | 2 +- site/content/en/blog/releases/1.2.0-rc.md | 2 +- site/content/en/blog/releases/1.2.0.md | 2 +- site/content/en/blog/releases/1.3.0-rc.md | 2 +- site/content/en/blog/releases/1.3.0.md | 2 +- 16 files changed, 16 insertions(+), 17 deletions(-) diff --git a/build/Makefile b/build/Makefile index 97925bcfd8..e5cfa37230 100644 --- a/build/Makefile +++ b/build/Makefile @@ -57,7 +57,7 @@ KIND_PROFILE ?= agones KIND_CONTAINER_NAME=$(KIND_PROFILE)-control-plane # Game Server image to use while doing end-to-end tests -GS_TEST_IMAGE ?= gcr.io/agones-images/udp-server:0.17 +GS_TEST_IMAGE ?= gcr.io/agones-images/udp-server:0.18 # Directory that this Makefile is in. mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) diff --git a/examples/allocator-service/Dockerfile b/examples/allocator-service/Dockerfile index 72acfc2b00..5a7c693df5 100644 --- a/examples/allocator-service/Dockerfile +++ b/examples/allocator-service/Dockerfile @@ -25,7 +25,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o service . # Create the final image that will run the allocator service -FROM alpine:3.8 +FROM alpine:3.11 RUN apk add --update ca-certificates RUN adduser -D -u 1000 service diff --git a/examples/autoscaler-webhook/Dockerfile b/examples/autoscaler-webhook/Dockerfile index cdc43391da..5191f3c556 100644 --- a/examples/autoscaler-webhook/Dockerfile +++ b/examples/autoscaler-webhook/Dockerfile @@ -21,7 +21,7 @@ COPY . /go/src/agones.dev/agones RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o server . # Create the final image that will run the webhook server for FleetAutoscaler webhook policy -FROM alpine:3.8 +FROM alpine:3.11 RUN adduser -D -u 1000 server COPY --from=builder /go/src/autoscaler-webhook \ diff --git a/examples/autoscaler-webhook/autoscaler-service.yaml b/examples/autoscaler-webhook/autoscaler-service.yaml index 2e0bc7b88c..7bfb77bc60 100644 --- a/examples/autoscaler-webhook/autoscaler-service.yaml +++ b/examples/autoscaler-webhook/autoscaler-service.yaml @@ -51,7 +51,7 @@ spec: containers: - name: autoscaler-webhook image: gcr.io/agones-images/autoscaler-webhook:0.3 - imagePullPolicy: IfNotPresent + imagePullPolicy: Always ports: - name: autoscaler containerPort: 8000 diff --git a/examples/crd-client/Dockerfile b/examples/crd-client/Dockerfile index 44f0f9085b..27e813c73e 100644 --- a/examples/crd-client/Dockerfile +++ b/examples/crd-client/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # Gather dependencies and build the executable -FROM golang:1.13.1 as builder +FROM golang:1.13.7 as builder WORKDIR /go/src/crd-client COPY ./main.go . @@ -21,7 +21,7 @@ COPY ./go.mod ./ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o client . # Create the final image that will run the webhook server for FleetAutoscaler webhook policy -FROM alpine:3.8 +FROM alpine:3.11 RUN adduser -D -u 1000 client COPY --from=builder /go/src/crd-client \ diff --git a/examples/crd-client/create-gs.yaml b/examples/crd-client/create-gs.yaml index d0ab4e89db..d1acfd6731 100644 --- a/examples/crd-client/create-gs.yaml +++ b/examples/crd-client/create-gs.yaml @@ -24,7 +24,7 @@ spec: serviceAccountName: agones-controller containers: - name: create-gameserver - image: gcr.io/agones-images/crd-client:0.1 + image: gcr.io/agones-images/crd-client:0.2 imagePullPolicy: Always env: - name: GAMESERVER_IMAGE diff --git a/examples/rust-simple/gameserver.yaml b/examples/rust-simple/gameserver.yaml index 5840fe041f..714f63ac54 100644 --- a/examples/rust-simple/gameserver.yaml +++ b/examples/rust-simple/gameserver.yaml @@ -27,4 +27,4 @@ spec: containers: - name: rust-simple image: gcr.io/agones-images/rust-simple-server:0.7 - imagePullPolicy: IfNotPresent + imagePullPolicy: Always diff --git a/examples/simple-tcp/Dockerfile b/examples/simple-tcp/Dockerfile index f2036fbeb2..7fe7834557 100644 --- a/examples/simple-tcp/Dockerfile +++ b/examples/simple-tcp/Dockerfile @@ -21,7 +21,7 @@ COPY . /go/src/agones.dev/agones RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o server . # final image -FROM alpine:3.10 +FROM alpine:3.11 RUN adduser -D -u 1000 server COPY --from=builder /go/src/simple-tcp/server /home/server/server diff --git a/examples/simple-tcp/gameserver.yaml b/examples/simple-tcp/gameserver.yaml index cfe91c1537..18605146f4 100644 --- a/examples/simple-tcp/gameserver.yaml +++ b/examples/simple-tcp/gameserver.yaml @@ -16,7 +16,6 @@ apiVersion: "agones.dev/v1" kind: GameServer metadata: generateName: "simple-tcp-" - name: simple-tcp spec: ports: - name: default diff --git a/examples/simple-udp/Dockerfile b/examples/simple-udp/Dockerfile index fd1da44af9..7af5340b80 100644 --- a/examples/simple-udp/Dockerfile +++ b/examples/simple-udp/Dockerfile @@ -21,7 +21,7 @@ COPY . /go/src/agones.dev/agones RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o server . # final image -FROM alpine:3.10 +FROM alpine:3.11 RUN adduser -D -u 1000 server COPY --from=builder /go/src/simple-udp/server /home/server/server diff --git a/site/content/en/blog/releases/1.1.0-rc.md b/site/content/en/blog/releases/1.1.0-rc.md index a8fcfe0a49..5a31f9d7ab 100755 --- a/site/content/en/blog/releases/1.1.0-rc.md +++ b/site/content/en/blog/releases/1.1.0-rc.md @@ -59,7 +59,7 @@ Images available with this release: - [gcr.io/agones-images/rust-simple-server:0.5](https://gcr.io/agones-images/rust-simple-server:0.5) - [gcr.io/agones-images/unity-simple-server:0.2](https://gcr.io/agones-images/unity-simple-server:0.2) - [gcr.io/agones-images/udp-server:0.15](https://gcr.io/agones-images/udp-server:0.15) -- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4) +- [gcr.io/agones-images/tcp-server:0.1](https://gcr.io/agones-images/tcp-server:0.1) - [gcr.io/agones-images/xonotic-example:0.6](https://gcr.io/agones-images/xonotic-example:0.6) Helm chart available with this release: diff --git a/site/content/en/blog/releases/1.1.0.md b/site/content/en/blog/releases/1.1.0.md index 59177e6ccb..6a57cab1fc 100755 --- a/site/content/en/blog/releases/1.1.0.md +++ b/site/content/en/blog/releases/1.1.0.md @@ -65,7 +65,7 @@ Images available with this release: - [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6) - [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3) - [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17) -- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4) +- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3) - [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7) Helm chart available with this release: diff --git a/site/content/en/blog/releases/1.2.0-rc.md b/site/content/en/blog/releases/1.2.0-rc.md index d6798e9daa..11e5f45d99 100755 --- a/site/content/en/blog/releases/1.2.0-rc.md +++ b/site/content/en/blog/releases/1.2.0-rc.md @@ -50,7 +50,7 @@ Images available with this release: - [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6) - [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3) - [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17) -- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4) +- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3) - [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7) Helm chart available with this release: diff --git a/site/content/en/blog/releases/1.2.0.md b/site/content/en/blog/releases/1.2.0.md index 87c3e946e3..9a22a9765c 100755 --- a/site/content/en/blog/releases/1.2.0.md +++ b/site/content/en/blog/releases/1.2.0.md @@ -48,7 +48,7 @@ Images available with this release: - [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6) - [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3) - [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17) -- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4) +- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3) - [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7) Helm chart available with this release: diff --git a/site/content/en/blog/releases/1.3.0-rc.md b/site/content/en/blog/releases/1.3.0-rc.md index 5eb118b783..8b54ea2c17 100755 --- a/site/content/en/blog/releases/1.3.0-rc.md +++ b/site/content/en/blog/releases/1.3.0-rc.md @@ -59,7 +59,7 @@ Images available with this release: - [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6) - [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3) - [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17) -- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4) +- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3) - [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7) Helm chart available with this release: diff --git a/site/content/en/blog/releases/1.3.0.md b/site/content/en/blog/releases/1.3.0.md index 4db79e387b..681299aa13 100755 --- a/site/content/en/blog/releases/1.3.0.md +++ b/site/content/en/blog/releases/1.3.0.md @@ -55,7 +55,7 @@ Images available with this release: - [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6) - [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3) - [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17) -- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4) +- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3) - [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7) Helm chart available with this release: From 019ee9209085a20f42784745ee1bafb3feb07c35 Mon Sep 17 00:00:00 2001 From: Alexey Kremsa Date: Mon, 24 Feb 2020 12:30:05 +0300 Subject: [PATCH 7/7] applied review notes --- build/includes/minikube.mk | 4 ---- site/content/en/docs/Guides/local-game-server.md | 2 +- site/content/en/docs/Guides/troubleshooting.md | 8 ++++---- test/e2e/framework/framework.go | 4 ++-- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/build/includes/minikube.mk b/build/includes/minikube.mk index bed26fc08b..5fe7d8a96d 100644 --- a/build/includes/minikube.mk +++ b/build/includes/minikube.mk @@ -54,10 +54,6 @@ minikube-push: minikube-agones-profile $(MAKE) minikube-transfer-image TAG=$(ping_tag) $(MAKE) minikube-transfer-image TAG=$(allocator_tag) -minikube-push-simple-udp: minikube-agones-profile - $(MAKE) minikube-transfer-image TAG=gcr.io/agones-images/udp-server:0.18 - - # Installs the current development version of Agones into the Kubernetes cluster. # Use this instead of `make install`, as it disables PullAlways on the install.yaml minikube-install: minikube-agones-profile diff --git a/site/content/en/docs/Guides/local-game-server.md b/site/content/en/docs/Guides/local-game-server.md index 9e1244aae6..5f2dd73bf5 100644 --- a/site/content/en/docs/Guides/local-game-server.md +++ b/site/content/en/docs/Guides/local-game-server.md @@ -32,7 +32,7 @@ spec: spec: containers: - name: simple-udp - image: gcr.io/agones-images/udp-server:0.17 + image: gcr.io/agones-images/udp-server:0.18 ``` Once you save this to a file make sure you have `kubectl` configured to point to your Agones cluster and then run `kubectl apply -f dev-gameserver.yaml`. This will register your server with Agones. diff --git a/site/content/en/docs/Guides/troubleshooting.md b/site/content/en/docs/Guides/troubleshooting.md index 3d60366f12..86dcc4b5ad 100644 --- a/site/content/en/docs/Guides/troubleshooting.md +++ b/site/content/en/docs/Guides/troubleshooting.md @@ -51,7 +51,7 @@ Spec: Creation Timestamp: Spec: Containers: - Image: gcr.io/agones-images/udp-server:0.17 + Image: gcr.io/agones-images/udp-server:0.18 Name: simple-udp Resources: Limits: @@ -82,7 +82,7 @@ Events: The backing Pod has the same name as the `GameServer` - so it's also worth looking at the details and events for the Pod to see if there are any issues there, such as restarts due to binary crashes etc. -For example, you can see the restart count on the gcr.io/agones-images/udp-server:0.17 container +For example, you can see the restart count on the gcr.io/agones-images/udp-server:0.18 container is set to `1`, due to the game server binary crash ``` @@ -104,7 +104,7 @@ Controlled By: GameServer/simple-udp-zqppv Containers: simple-udp: Container ID: docker://69eacd03cc89b0636b78abe47926b02183ba84d18fa20649ca443f5232511661 - Image: gcr.io/agones-images/udp-server:0.17 + Image: gcr.io/agones-images/udp-server:0.18 Image ID: docker-pullable://gcr.io/agones-images/udp-server@sha256:6a60eff5e68b88b5ce75ae98082d79cff36cda411a090f3495760e5c3b6c3575 Port: 7654/UDP Host Port: 7058/UDP @@ -173,7 +173,7 @@ Events: Normal Created 2m28s kubelet, gke-test-cluster-default-590db5e4-4s6r Created container Normal Created 114s (x2 over 2m31s) kubelet, gke-test-cluster-default-590db5e4-4s6r Created container Normal Started 114s (x2 over 2m31s) kubelet, gke-test-cluster-default-590db5e4-4s6r Started container - Normal Pulled 114s (x2 over 2m31s) kubelet, gke-test-cluster-default-590db5e4-4s6r Container image "gcr.io/agones-images/udp-server:0.17" already present on machine + Normal Pulled 114s (x2 over 2m31s) kubelet, gke-test-cluster-default-590db5e4-4s6r Container image "gcr.io/agones-images/udp-server:0.18" already present on machine ``` Finally, you can also get the logs of your `GameServer` `Pod` as well via `kubectl logs -c `, for example: diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go index c873ea50e8..fa265d1746 100644 --- a/test/e2e/framework/framework.go +++ b/test/e2e/framework/framework.go @@ -92,8 +92,8 @@ func NewFromFlags() (*Framework, error) { usr, _ := user.Current() kubeconfig := flag.String("kubeconfig", filepath.Join(usr.HomeDir, "/.kube/config"), "kube config path, e.g. $HOME/.kube/config") - gsimage := flag.String("gameserver-image", "gcr.io/agones-images/udp-server:0.17", - "gameserver image to use for those tests, gcr.io/agones-images/udp-server:0.17") + gsimage := flag.String("gameserver-image", "gcr.io/agones-images/udp-server:0.18", + "gameserver image to use for those tests, gcr.io/agones-images/udp-server:0.18") pullSecret := flag.String("pullsecret", "", "optional secret to be used for pulling the gameserver and/or Agones SDK sidecar images") stressTestLevel := flag.Int("stress", 0, "enable stress test at given level 0-100")