Mengidentifikasi cluster yang penggunaan etcd-nya hampir mencapai batas
GKE memberikan insight dan rekomendasi untuk skenario saat penggunaan etcd mendekati batas. Anda dapat menemukan insight dan rekomendasi ini dengan cara berikut:
Gunakan Google Cloud console. Buka halaman cluster Kubernetes. Di kolom Notifikasi untuk cluster tertentu, periksa rekomendasi Kosongkan ruang untuk mengurangi risiko ketidakstabilan cluster.
Gunakan gcloud CLI atau Recommender API dengan menentukan subjenis
recommender ETCD_DB_USAGE_APPROACHING_LIMIT.
Untuk membuat kueri rekomendasi ini, jalankan perintah berikut:
Untuk menerapkan rekomendasi ini, hapus data yang tidak diperlukan dari etcd untuk mengosongkan ruang penyimpanan. Hal ini mungkin melibatkan penghapusan resource lama atau memindahkan objek besar dari etcd. Untuk mengetahui informasi selengkapnya, lihat Merencanakan cluster GKE besar.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)."]]