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