Skip to content

Instantly share code, notes, and snippets.

@thoraxe
Last active July 6, 2021 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thoraxe/6991886f3eaeb345fd0af474efada8d0 to your computer and use it in GitHub Desktop.
Save thoraxe/6991886f3eaeb345fd0af474efada8d0 to your computer and use it in GitHub Desktop.
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
# 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