Last active
July 6, 2021 15:31
-
-
Save thoraxe/6991886f3eaeb345fd0af474efada8d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
nodes: | |
- role: control-plane | |
image: kindest/node:v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 | |
kubeadmConfigPatches: | |
- | | |
kind: ClusterConfiguration | |
kubernetesVersion: v1.21.1 | |
apiServer: | |
extraArgs: | |
enable-admission-plugins: OwnerReferencesPermissionEnforcement | |
- role: worker | |
image: kindest/node:v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# uses kind | |
kind create cluster --config=kind-config.yaml | |
kubectl create namespace games | |
helm repo add agones https://agones.dev/chart/stable | |
helm repo update | |
helm install reference agones/agones --set "gameservers.namespaces={games}" --namespace agones-system --create-namespace | |
kubectl create -f https://raw.githubusercontent.com/googleforgames/agones/release-1.15.0/examples/simple-game-server/gameserver.yaml -n games |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment