排空 Istio Pod 时,某些节点可能由于副本计数为 1 而没有排空,而实际需要使用 3 个或更多副本。为避免出现这种情况,您应将每个属性的最小副本数量至少设置为 3。
备份和排空 Istio 节点时,您可能会看到以下错误:
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
===
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-04-02。"],[[["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."]]],[]]