Memperluas jumlah replika properti Istio untuk menghindari masalah saat menghabiskan node Istio
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Anda sedang melihat dokumentasi Apigee dan Apigee hybrid.
Tidak ada dokumentasi
Apigee Edge yang setara untuk topik ini.
Saat menghabiskan pod Istio, beberapa node mungkin tidak habis karena memiliki jumlah replika
1, sedangkan diperlukan 3 replika atau lebih.
Untuk menghindari hal ini, Anda harus menetapkan jumlah replika minimum untuk setiap properti setidaknya ke 3.
Saat mencadangkan dan menghabiskan node Istio, Anda mungkin melihat error seperti:
kubectl drain` failed to evict and reschedule pods to another node due to PodDisruptionBudget definitions:
===
NAMESPACE NAME MIN AVAILABLE MAX UNAVAILABLE ALLOWED DISRUPTIONS AGE
istio-system istio-ingressgateway 1 N/A 2 5d11h
istio-system istio-pilot 1 N/A 2 5d11h
===
Untuk istio-ingressgateway dan istio-pilot, Anda dapat menetapkan
properti istio.ingressgateway.replicaCountMin dan
istio.pilot.replicaCountMin ke 3
atau yang lebih tinggi. Lihat
Referensi properti konfigurasi, istio.
[[["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-05 UTC."],[[["\u003cp\u003eThis documentation applies specifically to Apigee hybrid users and does not have an equivalent for Apigee Edge.\u003c/p\u003e\n"],["\u003cp\u003eDraining Istio pods may fail if the replica count is less than 3, therefore a minimum of 3 replicas should be set.\u003c/p\u003e\n"],["\u003cp\u003eErrors during Istio node backup and draining can occur due to \u003ccode\u003ePodDisruptionBudget\u003c/code\u003e definitions.\u003c/p\u003e\n"],["\u003cp\u003eSetting the \u003ccode\u003eistio.ingressgateway.replicaCountMin\u003c/code\u003e and \u003ccode\u003eistio.pilot.replicaCountMin\u003c/code\u003e properties to 3 or higher can resolve issues for \u003ccode\u003eistio-ingressgateway\u003c/code\u003e and \u003ccode\u003eistio-pilot\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eFor other Istio components without a \u003ccode\u003ereplicaCountMin\u003c/code\u003e property, consult the GKE documentation or the Istio documentation for guidance.\u003c/p\u003e\n"]]],[],null,["# Expand Istio property replica counts to avoid problems when draining Istio nodes\n\n*You're viewing **Apigee** and **Apigee hybrid** documentation.\nThere is no equivalent\n[Apigee Edge](https://docs.apigee.com/api-platform/get-started/get-started) documentation for this topic.*\n| **Note:** This document is applicable for Apigee hybrid users only.\n\n\nWhen draining Istio pods some nodes may not drain because they have a replica\ncount of `1`, while `3` or more replicas are required.\nIn order to avoid this, you should set the minimum replica count for each\nproperty to at least `3`.\n\n\nWhen backing up and draining Istio nodes you may see errors like: \n\n```text\nkubectl drain` failed to evict and reschedule pods to another node due to PodDisruptionBudget definitions:\n===\nNAMESPACE NAME MIN AVAILABLE MAX UNAVAILABLE ALLOWED DISRUPTIONS AGE\nistio-system istio-ingressgateway 1 N/A 2 5d11h\nistio-system istio-pilot 1 N/A 2 5d11h\n===\n```\n\n\nFor `istio-ingressgateway` and `istio-pilot` you can set\nthe `istio.ingressgateway.replicaCountMin` and\n`istio.pilot.replicaCountMin` properties to **`3`**\nor higher. See the\n[Configuration properties reference, `istio`](/apigee/docs/hybrid/latest/config-prop-ref#istio).\n\n\nFor other `istio` components (that don't have a\n`replicaCountMin` property), see\n[Manually upgrading a cluster or node pool](/kubernetes-engine/docs/how-to/upgrading-a-cluster) in the GKE documentation or\n[IstioOperator Options](https://istio.io/latest/docs/reference/config/istio.operator.v1alpha1/) in the Istio documentation."]]