Identificar clusters em que o uso do etcd está chegando no limite
O GKE fornece insights e recomendações para o cenário em que o uso do etcd está se aproximando do limite. Você pode encontrar esses insights e recomendações das seguintes maneiras:
Use o console Google Cloud . Acesse a página Clusters do Kubernetes. Na coluna Notificações de clusters específicos, verifique a recomendação Libere espaço para reduzir o risco de instabilidade do cluster.
Use a CLI gcloud ou a API Recommender especificando o
subtipo de recomendador
ETCD_DB_USAGE_APPROACHING_LIMIT.
Para consultar essa recomendação, execute o seguinte comando:
Para implementar essa recomendação, remova todos os dados desnecessários do etcd para liberar espaço. Isso pode envolver a exclusão de recursos antigos ou a remoção de objetos grandes do etcd. Para mais informações, consulte Planejar para grandes clusters do GKE.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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)."]]