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。"],[[["This documentation applies specifically to Apigee hybrid users and does not have an equivalent for Apigee Edge."],["Draining Istio pods may fail if the replica count is less than 3, therefore a minimum of 3 replicas should be set."],["Errors during Istio node backup and draining can occur due to `PodDisruptionBudget` definitions."],["Setting the `istio.ingressgateway.replicaCountMin` and `istio.pilot.replicaCountMin` properties to 3 or higher can resolve issues for `istio-ingressgateway` and `istio-pilot`."],["For other Istio components without a `replicaCountMin` property, consult the GKE documentation or the Istio documentation for guidance."]]],[]]