Istio ポッドをドレインするときに、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 ===
istio-ingressgateway
と istio-pilot
については、istio.ingressgateway.replicaCountMin
プロパティと istio.pilot.replicaCountMin
プロパティを 3
以上に設定できます。詳しくは、構成プロパティ リファレンス istio
をご覧ください。
その他の istio
コンポーネント(replicaCountMin プロパティがない)については、GKE ドキュメントのクラスタまたはノードプールの手動アップグレードまたは Istio ドキュメントの IstioOperator オプションをご覧ください。