When draining Istio pods some nodes may not drain because they have a replica count of 1, while 3 or
more replicas are required. In order to avoid this, you should set the minimum replica count for each
property to at least 3.
When backing up and draining Istio nodes you may see errors like:
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
===
For istio-ingressgateway and istio-pilot you can set the
istio.ingressgateway.replicaCountMin and istio.pilot.replicaCountMin
properties to 3 or higher. See the
Configuration properties reference,
istio.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-10 UTC."],[[["Apigee hybrid documentation version 1.8 is end of life and should be upgraded to a newer version."],["To ensure successful draining of Istio pods, set the minimum replica count for `istio.ingressgateway.replicaCountMin` and `istio.pilot.replicaCountMin` to 3 or higher."],["Errors during Istio node draining may occur if `istio-ingressgateway` and `istio-pilot` pods do not meet the minimum replica count requirements."],["For other Istio components without a `replicaCountMin` property, refer to the GKE or Istio documentation for manual upgrade instructions."]]],[]]