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

Remove K8s API reference links from yaml examples #1923

Merged
merged 3 commits into from
Dec 9, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions examples/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
# To allocate a GameServer from a Fleet, use a GameServerAllocation
#

#
# For a full reference and details: https://agones.dev/site/docs/reference/fleet/
#

apiVersion: "agones.dev/v1"
kind: Fleet
# Fleet Metadata
# https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#objectmeta-v1-meta
metadata:
name: fleet-example
spec:
Expand Down
6 changes: 4 additions & 2 deletions examples/fleetautoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@
# automatically depending on load
#

#
# For a full reference and details: https://agones.dev/site/docs/reference/fleetautoscaler/
#

apiVersion: "autoscaling.agones.dev/v1"
kind: FleetAutoscaler
# FleetAutoscaler Metadata
# https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#objectmeta-v1-meta
metadata:
name: fleet-autoscaler-example
spec:
Expand Down
8 changes: 5 additions & 3 deletions examples/gameserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@
# and provides a sidecar for this game server that the SDK will connect with.
#

#
# For a full reference and details: https://agones.dev/site/docs/reference/gameserver/
#

apiVersion: "agones.dev/v1"
kind: GameServer
# GameServer Metadata
# 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
Expand Down Expand Up @@ -85,8 +87,8 @@ spec:
# players:
# # set this GameServer's initial player capacity
# initialCapacity: 10
#
# Pod template configuration
# https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#podtemplate-v1-core
template:
# pod metadata. Name & Namespace is overwritten
metadata:
Expand Down
4 changes: 4 additions & 0 deletions examples/gameserverallocation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
# multiple Fleets, or a self managed group of GameServers.
#

#
# For a full reference and details: https://agones.dev/site/docs/reference/gameserverallocation/
#

apiVersion: "allocation.agones.dev/v1"
kind: GameServerAllocation
spec:
Expand Down
5 changes: 5 additions & 0 deletions examples/webhookfleetautoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
# Full example of a FleetAutoscaler - this is used to scale a Fleet
# automatically depending on load
#

#
# For a full reference and details: https://agones.dev/site/docs/reference/fleetautoscaler/
#

apiVersion: "autoscaling.agones.dev/v1"
kind: FleetAutoscaler
metadata:
Expand Down
5 changes: 5 additions & 0 deletions examples/webhookfleetautoscalertls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
# Full example of a FleetAutoscaler - this is used to scale a Fleet
# automatically depending on load
#

#
# For a full reference and details: https://agones.dev/site/docs/reference/fleetautoscaler/
#

apiVersion: "autoscaling.agones.dev/v1"
kind: FleetAutoscaler
metadata:
Expand Down