Istio Pod をドレインするときに 3 以上のレプリカが必要ですが、一部のノードのレプリカ数が 1 になっているため、そのノードをドレインできないことがあります。これを回避するには、各プロパティの最小レプリカ数を 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"]],["最終更新日 2025-03-12 UTC。"],[[["Version 1.3 of the Apigee hybrid documentation is end of life, and users should upgrade to a newer version."],["Draining Istio pods may fail if some nodes have a replica count of 1, as at least 3 replicas are required to avoid this issue."],["To prevent draining issues with `istio-ingressgateway` and `istio-pilot`, set `istio.ingressgateway.replicaCountMin` and `istio.pilot.replicaCountMin` to 3 or higher."],["For Istio components without a `replicaCountMin` property, refer to the GKE or Istio documentation for manual upgrade or configuration options."]]],[]]