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-04-09 (UTC)."],[[["This documentation applies specifically to Apigee hybrid users and does not have an equivalent for Apigee Edge."],["Draining Istio pods may fail if the replica count is less than 3, therefore a minimum of 3 replicas should be set."],["Errors during Istio node backup and draining can occur due to `PodDisruptionBudget` definitions."],["Setting the `istio.ingressgateway.replicaCountMin` and `istio.pilot.replicaCountMin` properties to 3 or higher can resolve issues for `istio-ingressgateway` and `istio-pilot`."],["For other Istio components without a `replicaCountMin` property, consult the GKE documentation or the Istio documentation for guidance."]]],[]]