Agones è una libreria open source per l'hosting, l'esecuzione e la scalabilità di server di gioco dedicati su Kubernetes.
Quando esegui un deployment di produzione di Agones nel tuo cluster Google Kubernetes Engine (GKE), è una best practice eseguire il controller Agones in un pool di nodi dedicato per un migliore isolamento e resilienza. Questa opzione è ideale per i workload di produzione o
ottimizzati per i costi.
GKE monitora i tuoi cluster e utilizza il servizio Recommender per fornire indicazioni su come ottimizzare l'utilizzo della piattaforma. Agones Recommender per GKE identifica i cluster in cui devi isolare il controller Agones.
Identifica i cluster in cui puoi isolare il controller Agones
Gli approfondimenti di Agones Recommender identificano i cluster
che contengono un controller Agones che deve essere isolato in unpool di nodil dedicato.
Per ottenere questi approfondimenti, segui le istruzioni per visualizzare approfondimenti e consigli
utilizzando la console Google Cloud , Google Cloud CLI o l'API Recommender con
il sottotipo AGONES_DEDICATED_NODE_POOL_NEEDED.
Il motore per suggerimenti genera un insight e un suggerimento se
i seguenti criteri sono veri per un cluster GKE:
Il cluster esegue un controller Agones. Questo valore viene determinato se uno dei pod
ha impostato l'etichetta agones.dev/role:controller.
Il cluster ha più di quattro nodi, il che indica che il cluster
potrebbe eseguire un carico di lavoro di produzione.
Il controller Agones non è in esecuzione sul nodo dedicato per Agones. Un
pool di nodil dedicato è considerato tale se ha l'etichetta del nodo
agones.dev/agones-system=true e il taint del nodo
agones.dev/agones-system=true:NoExecute.
Implementa il consiglio per creare un pool di nodi dedicato
Se hai ricevuto un approfondimento e un consiglio per il tuo cluster e vuoi utilizzare un pool di nodi dedicato per il controller Agones, segui le istruzioni per creare un node pool dedicato in cui è possibile pianificare il controller Agones.
Il sistema di consigli viene eseguito una volta al giorno, pertanto potrebbero essere necessarie fino a 24 ore prima che il consiglio venga risolto dopo l'implementazione delle modifiche.
Se non vuoi implementare il suggerimento, puoi ignorarlo.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-01 UTC."],[],[],null,["# Isolate the Agones controller in your GKE cluster\n\n[Standard](/kubernetes-engine/docs/concepts/choose-cluster-mode)\n\n*** ** * ** ***\n\n[Agones](https://agones.dev/site/docs/overview/) is an open source\nlibrary for hosting, running, and scaling dedicated game servers on Kubernetes.\nWhen you run a production deployment of Agones in your\nGoogle Kubernetes Engine (GKE) cluster, it is a [best\npractice](https://agones.dev/site/docs/guides/best-practices/#separation-of-agones-from-gameserver-nodes)\nto run the Agones controller in a dedicated node pool for better isolation and\nresiliency. This is best suited for production workloads or\ncost-optimized workloads.\n\nGKE monitors your clusters and uses the [Recommender\nservice](/recommender/docs/overview) to deliver guidance for how you can\noptimize your usage of the platform. The *Agones Recommender* for\nGKE identifies clusters where you should isolate the Agones\ncontroller.\n\nTo learn more about how to manage insights and recommendations from\nRecommenders, see [Optimize\nyour usage of GKE with insights and recommendations](/kubernetes-engine/docs/how-to/optimize-with-recommenders).\n\nIdentify clusters where you can isolate the Agones controller\n-------------------------------------------------------------\n\nThe insights from the *Agones Recommender* identify which clusters\ncontain an Agones controller that should be isolated in a dedicated node pool.\n\nTo get these insights, follow the instructions to [view insights and recommendations](/kubernetes-engine/docs/how-to/optimize-with-recommenders#view-insights-recs)\nusing the Google Cloud console, the Google Cloud CLI, or the Recommender API with\nthe `AGONES_DEDICATED_NODE_POOL_NEEDED` subtype.\n\nAfter you identify the clusters, you can [implement the recommendation to create a dedicated node pool](#create-dedicated-node-pool).\n\nHow GKE Agones Recommender detects clusters\n-------------------------------------------\n\nThe Recommender generates an insight and recommendation if the\nfollowing criteria are true for a GKE cluster:\n\n- The cluster is running an Agones controller. This is determined if any Pods have the `agones.dev/role:controller` label set.\n- The cluster has more than four nodes, which is an indicator that the cluster might be running a production workload.\n- The Agones controller is not running on the dedicated node for Agones. A dedicated node pool is considered to be one that has the following node label `agones.dev/agones-system=true` and node taint `agones.dev/agones-system=true:NoExecute`.\n\nImplement the recommendation to create a dedicated node pool\n------------------------------------------------------------\n\nIf you've received an insight and recommendation for your cluster and want to\nuse a dedicated node pool for your Agones controller, follow the instructions\nto [create a dedicated node pool](https://agones.dev/site/docs/installation/creating-cluster/gke/#optional-creating-a-dedicated-node-pool) where your Agones controller can be scheduled.\n\nThe Recommender runs once daily so it might take up to 24\nhours for the recommendation to resolve after changes have been\nimplemented.\n\nIf you don't want to implement the recommendation, you can [dismiss\nit](/kubernetes-engine/docs/how-to/optimize-with-recommenders#dismiss-recommendation).\n\nWhat's next\n-----------\n\n- [Optimize your usage of GKE with insights and\n recommendations](/kubernetes-engine/docs/how-to/optimize-with-recommenders)\n- [Create a GKE cluster for your Agones\n install](https://agones.dev/site/docs/installation/creating-cluster/gke/)"]]