From 4c6fe38e3c3a1b1d5985288e14d211d6ccda4d5f Mon Sep 17 00:00:00 2001 From: Alexander Apalikov Date: Thu, 3 Sep 2020 18:20:44 +0300 Subject: [PATCH] Examples: update Kubernetes version (#1787) Update YAML and md files: website updated. --- examples/fleetautoscaler.yaml | 2 +- examples/gameserver.yaml | 4 ++-- site/content/en/docs/Reference/fleet.md | 2 +- site/content/en/docs/Reference/fleetautoscaler.md | 2 +- site/content/en/docs/Reference/gameserver.md | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/fleetautoscaler.yaml b/examples/fleetautoscaler.yaml index 53f4b3440f..8921b12ffb 100644 --- a/examples/fleetautoscaler.yaml +++ b/examples/fleetautoscaler.yaml @@ -20,7 +20,7 @@ apiVersion: "autoscaling.agones.dev/v1" kind: FleetAutoscaler # FleetAutoscaler Metadata -# https://v1-15.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#objectmeta-v1-meta +# https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#objectmeta-v1-meta metadata: name: fleet-autoscaler-example spec: diff --git a/examples/gameserver.yaml b/examples/gameserver.yaml index 38b64dde9e..4c692bc71f 100644 --- a/examples/gameserver.yaml +++ b/examples/gameserver.yaml @@ -24,7 +24,7 @@ apiVersion: "agones.dev/v1" kind: GameServer # GameServer Metadata -# https://v1-15.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#objectmeta-v1-meta +# https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#objectmeta-v1-meta metadata: # generateName: "gds-example" # generate a unique name, with the given prefix name: "gds-example" # set a fixed name @@ -86,7 +86,7 @@ spec: # # set this GameServer's initial player capacity # initialCapacity: 10 # Pod template configuration - # https://v1-15.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#podtemplate-v1-core + # https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#podtemplate-v1-core template: # pod metadata. Name & Namespace is overwritten metadata: diff --git a/site/content/en/docs/Reference/fleet.md b/site/content/en/docs/Reference/fleet.md index 20dc1df053..68c2235b79 100644 --- a/site/content/en/docs/Reference/fleet.md +++ b/site/content/en/docs/Reference/fleet.md @@ -16,7 +16,7 @@ A full `Fleet` specification is available below and in the {{< ghlink href="exam apiVersion: "agones.dev/v1" kind: Fleet # Fleet Metadata -# https://v1-15.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#objectmeta-v1-meta +# https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#objectmeta-v1-meta metadata: name: fleet-example spec: diff --git a/site/content/en/docs/Reference/fleetautoscaler.md b/site/content/en/docs/Reference/fleetautoscaler.md index 62511f8f8f..c15b7ae391 100644 --- a/site/content/en/docs/Reference/fleetautoscaler.md +++ b/site/content/en/docs/Reference/fleetautoscaler.md @@ -13,7 +13,7 @@ A full `FleetAutoscaler` specification is available below and in the apiVersion: "autoscaling.agones.dev/v1" kind: FleetAutoscaler # FleetAutoscaler Metadata -# https://v1-15.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#objectmeta-v1-meta +# https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#objectmeta-v1-meta metadata: name: fleet-autoscaler-example spec: diff --git a/site/content/en/docs/Reference/gameserver.md b/site/content/en/docs/Reference/gameserver.md index f87b2f062f..213637a294 100644 --- a/site/content/en/docs/Reference/gameserver.md +++ b/site/content/en/docs/Reference/gameserver.md @@ -13,7 +13,7 @@ A full GameServer specification is available below and in the {{< ghlink href="e apiVersion: "agones.dev/v1" kind: GameServer # GameServer Metadata -# https://v1-15.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#objectmeta-v1-meta +# https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#objectmeta-v1-meta metadata: # generateName: "gds-example" # generate a unique name, with the given prefix name: "gds-example" # set a fixed name @@ -75,7 +75,7 @@ spec: # # set this GameServer's initial player capacity # initialCapacity: 10 # Pod template configuration - # https://v1-15.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#podtemplate-v1-core + # https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#podtemplate-v1-core template: # pod metadata. Name & Namespace is overwritten metadata: @@ -117,7 +117,7 @@ The `spec` field is the actual GameServer specification and it is composed as fo - `grpcPort` the port that the SDK Server binds to for gRPC connections - `httpPort` the port that the SDK Server binds to for HTTP gRPC gateway connections - `players` (Alpha, behind "PlayerTracking" feature gate), sets this GameServer's initial player capacity -- `template` the [pod spec template](https://v1-15.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#podtemplatespec-v1-core) to run your GameServer containers, [see](https://kubernetes.io/docs/concepts/workloads/pods/pod-overview/#pod-templates) for more information. +- `template` the [pod spec template](https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#podtemplatespec-v1-core) to run your GameServer containers, [see](https://kubernetes.io/docs/concepts/workloads/pods/pod-overview/#pod-templates) for more information. ## GameServer State Diagram