排空 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
===