您正在查看 Apigee 和 Apigee Hybrid 文档。
此主题没有等效的 Apigee Edge 文档。
排空 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 ===
对于 istio-ingressgateway 和 istio-pilot,您可以将 istio.ingressgateway.replicaCountMin 和 istio.pilot.replicaCountMin 属性设置为 3 或更高。请参阅配置属性参考 istio。
对于其他 istio 组件(没有 replicaCountMin 属性),请参阅 GKE 文档中的手动升级集群或节点池,或 Istio 文档中的 IstioOperator 选项。