Anzahl der Istio-Attributreplikate maximieren, um Probleme beim Ableiten von Istio-Knoten zu vermeiden
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Sie lesen gerade die Dokumentation zu Apigee und Apigee Hybrid.
Für dieses Thema gibt es keine entsprechende Apigee Edge-Dokumentation.
Wenn Sie Istio-Pods per Drain beenden, funktionieren einige Knoten möglicherweise nicht, da sie die Replikatanzahl 1 haben, wo 3 oder mehr Replikate erforderlich sind.
Sie sollten daher für jedes Attribut die minimale Replikatanzahl auf 3 festlegen, um dies zu vermeiden.
Wenn Sie Istio-Knoten sichern und leeren, können Fehler wie diese auftreten:
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
===
Für istio-ingressgateway und istio-pilot können Sie für die Attribute istio.ingressgateway.replicaCountMin und istio.pilot.replicaCountMin den Wert 3 oder höher festlegen. Weitere Informationen finden Sie in der Referenz zu Konfigurationsattributen, istio.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-28 (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."]]