Identifica i cluster in cui l'utilizzo di etcd sta per raggiungere il limite
GKE fornisce approfondimenti e consigli per lo scenario in cui l'utilizzo di etcd si sta avvicinando al limite. Puoi trovare questi approfondimenti e consigli nei seguenti modi:
Utilizza la console Google Cloud . Vai alla pagina Cluster Kubernetes. Nella colonna Notifiche per cluster specifici, controlla il suggerimento Libera spazio per ridurre il rischio di instabilità del cluster.
Utilizza gcloud CLI o l'API Recommender specificando il
sottotipo di motore per suggerimenti
ETCD_DB_USAGE_APPROACHING_LIMIT.
Per eseguire una query per questo consiglio, esegui questo comando:
Per implementare questo consiglio, rimuovi i dati non necessari da etcd per liberare spazio. Ciò potrebbe richiedere l'eliminazione di risorse precedenti o lo spostamento di oggetti di grandi dimensioni da etcd. Per saperne di più, consulta Pianificare cluster GKE di grandi dimensioni.
[[["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,["# Troubleshooting scalability in GKE\n\n[Autopilot](/kubernetes-engine/docs/concepts/autopilot-overview) [Standard](/kubernetes-engine/docs/concepts/choose-cluster-mode)\n\n*** ** * ** ***\n\nThis page shows you how to investigate and resolve GKE scalability\nrelated issues.\nIf you need additional assistance, reach out to [Cloud Customer Care](/kubernetes-engine/docs/getting-support).\n\nIdentify clusters where etcd usage is approaching the limit\n-----------------------------------------------------------\n\nGKE provides insights and recommendations for the scenario where etcd usage is approaching the limit. You can find these insights and recommendations in the following ways:\n\n- Use the Google Cloud console. Go to the [Kubernetes clusters](https://console.cloud.google.com/kubernetes/list) page. In the **Notifications** column for specific clusters, check for the **Free up space to reduce risk of cluster instability** recommendation.\n- Use the gcloud CLI or Recommender API by specifying the\n `ETCD_DB_USAGE_APPROACHING_LIMIT` recommender\n subtype.\n\n To query for this recommendation, run the following command: \n\n gcloud recommender recommendations list \\\n --recommender=google.container.DiagnosisRecommender \\\n --location \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e \\\n --project \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e \\\n --format yaml \\\n --filter=\"recommenderSubtype:ETCD_DB_USAGE_APPROACHING_LIMIT\"\n\n| **Note:** This recommendation might take up to 24 hours to appear. For detailed instructions, see how to [view insights and recommendations](/kubernetes-engine/docs/how-to/optimize-with-recommenders#view-insights-recs).\n\nTo implement this recommendation, remove any unnecessary data from etcd to free up space. This might involve deleting old resources or moving large objects out of etcd. For more information, see [Plan for large GKE clusters](/kubernetes-engine/docs/concepts/planning-large-clusters#limits-best-practices-large-scale-clusters).\n\nWhat's next\n-----------\n\nIf you need additional assistance, reach out to [Cloud Customer Care](/kubernetes-engine/docs/getting-support)."]]