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