Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menyelesaikan masalah batas resource di Cloud Service Mesh
Bagian ini menjelaskan masalah umum Cloud Service Mesh dan cara mengatasinya.
Jika Anda memerlukan bantuan tambahan, lihat Mendapatkan dukungan.
Masalah batas resource Cloud Service Mesh dapat disebabkan oleh salah satu hal berikut:
Objek LimitRange yang dibuat di namespace istio-system atau namespace apa pun dengan injeksi sidecar otomatis yang diaktifkan.
Batas yang ditentukan pengguna yang ditetapkan terlalu rendah.
Node kehabisan memori atau resource lainnya.
Kemungkinan gejala masalah resource:
Cloud Service Mesh berulang kali tidak menerima konfigurasi dari istiod yang ditunjukkan oleh error, Envoy proxy NOT ready. Melihat error ini beberapa kali saat memulai adalah hal yang normal, tetapi jika tidak, hal ini menjadi masalah.
Masalah jaringan dengan beberapa pod atau node yang tidak dapat dijangkau.
istioctl proxy-status menampilkan status STALE dalam output.
Pesan OOMKilled dalam log node.
Penggunaan memori oleh penampung: kubectl top pod POD_NAME --containers.
Penggunaan memori oleh pod di dalam node: kubectl top node my-node.
Envoy kehabisan memori: kubectl get pods menampilkan status OOMKilled di output.
Sidecar Istio memerlukan waktu lama untuk menerima konfigurasi
Penyebaran konfigurasi yang lambat dapat terjadi karena resource yang dialokasikan ke istiod tidak memadai atau ukuran cluster yang terlalu besar.
Ada beberapa kemungkinan solusi untuk masalah ini:
Jika alat pemantauan Anda (prometheus, stackdriver, dll.) menunjukkan penggunaan resource yang tinggi oleh istiod, tingkatkan alokasi resource tersebut, misalnya, tingkatkan batas CPU atau memori deployment istiod. Ini adalah
solusi sementara dan sebaiknya Anda menyelidiki metode untuk mengurangi
penggunaan resource.
Jika Anda mengalami masalah ini dalam cluster/deployment besar, kurangi jumlah
status konfigurasi yang didorong ke setiap proxy dengan mengonfigurasi
Resource sidecar.
Jika masalah berlanjut, coba skalakan istiod secara horizontal.
Jika semua langkah pemecahan masalah lainnya gagal menyelesaikan masalah, laporkan bug yang menjelaskan deployment Anda dan masalah yang diamati. Ikuti
langkah-langkah ini
untuk menyertakan profil CPU/Memori dalam laporan bug jika memungkinkan, beserta
deskripsi mendetail tentang ukuran cluster, jumlah pod, jumlah layanan, dll.
[[["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-04 UTC."],[],[],null,["Resolving resource limit issues in Cloud Service Mesh\n\nThis section explains common Cloud Service Mesh problems and how to resolve them.\nIf you need additional assistance, see [Getting support](/service-mesh/v1.20/docs/getting-support).\n\nCloud Service Mesh resource limit problems can be caused by any of the following:\n\n- `LimitRange` objects created in the `istio-system` namespace or any namespace with automatic sidecar injection enabled.\n- User-defined limits that are set too low.\n- Nodes run out of memory or other resources.\n\nPotential symptoms of resource problems:\n\n- Cloud Service Mesh repeatedly not receiving configuration from `istiod` indicated by the error, `Envoy proxy NOT ready`. Seeing this error a few times at startup is normal, but otherwise it is a concern.\n- Networking problems with some pods or nodes that become unreachable.\n- `istioctl proxy-status` showing `STALE` statuses in the output.\n- `OOMKilled` messages in the logs of a node.\n- Memory usage by containers: `kubectl top pod POD_NAME --containers`.\n- Memory usage by pods inside a node: `kubectl top node my-node`.\n- Envoy out of memory: `kubectl get pods` shows status `OOMKilled` in the output.\n\nIstio sidecars take a long time to receive configuration\n\nSlow configuration propagation can occur due to insufficient resources allocated\nto `istiod` or an excessively large cluster size.\n\nThere are several possible solutions to this problem:\n\n1. If your monitoring tools (prometheus, stackdriver, etc.) show high\n utilization of a resource by `istiod`, increase the allocation of that resource,\n for example increase the CPU or memory limit of the `istiod` deployment. This is a\n temporary solution and we recommended that you investigate methods for reducing\n resource consumption.\n\n2. If you encounter this issue in a large cluster/deployment, reduce the amount\n of configuration state pushed to each proxy by configuring\n [Sidecar resources](https://istio.io/v1.26/docs/reference/config/networking/sidecar/).\n\n3. If the problem persists, try horizontally scaling `istiod`.\n\n4. If all other troubleshooting steps fail to resolve the problem, report a bug\n detailing your deployment and the observed problems. Follow\n [these steps](https://github.com/istio/istio/wiki/Analyzing-Istio-Performance)\n to include a CPU/Memory profile in the bug report if possible, along with a\n detailed description of cluster size, number of pods, number of services, etc."]]