Install Agones using YAML
Installing Agones
Warning
Installing Agones with the install.yaml will set up the TLS certificates
stored in this repository for securing Kubernetes webhooks communication.
If you want to generate new certificates or use your own for production workloads, we recommend using the helm installation.
kubectl create namespace agones-system
kubectl apply --server-side -f https://raw.githubusercontent.com/googleforgames/agones/release-1.30.0/install/yaml/install.yaml
To change the configurable parameters in the install.yaml file, you can use helm directly to generate a custom file locally.
The following example sets the featureGates and generateTLS helm parameters in install.yaml:
helm pull --untar https://agones.dev/chart/stable/agones-1.30.0.tgz && \
cd agones && \
helm template agones-manual --namespace agones-system . \
--set agones.controller.generateTLS=false \
--set agones.allocator.generateTLS=false \
--set agones.allocator.generateClientTLS=false \
--set agones.crds.cleanupOnDelete=false \
--set agones.featureGates="PlayerTracking=true" \
> install-custom.yaml
Note: pull command was introduced in Helm version 3.
You can also find the install.yaml in the latest agones-install zip from the releases archive.
Uninstalling Agones
To uninstall/delete the Agones deployment and delete agones-system namespace:
kubectl delete fleets --all --all-namespaces
kubectl delete gameservers --all --all-namespaces
kubectl delete -f https://raw.githubusercontent.com/googleforgames/agones/release-1.30.0/install/yaml/install.yaml
kubectl delete namespace agones-system
Note: you should wait up to a couple of minutes until all resources described in install.yaml file would be deleted.
Next Steps
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified January 26, 2023: Use Server Side Apply to mitigate the 'metadata.annotations: Too long: must have at most 262144 bytes' error (#2936) (14788860e)