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-02-14 (UTC)."],[],[]]