Expand Istio property replica counts to avoid problems when draining Istio nodes
Stay organized with collections
Save and categorize content based on your preferences.
You're viewing Apigee and Apigee hybrid documentation.
There is no equivalent
Apigee Edge documentation for this topic.
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-07 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."]]],[]]