Memperluas jumlah replika properti Istio untuk menghindari masalah saat menghabiskan node Istio

Saat menguras pod Istio, beberapa node mungkin tidak dikuras karena memiliki jumlah replika 1, sedangkan diperlukan 3 atau lebih replika. Untuk menghindarinya, Anda harus menyetel jumlah replika minimum untuk setiap properti menjadi minimal 3.

Saat mencadangkan dan menguras node Istio, Anda mungkin melihat error seperti:

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
===

Untuk istio-ingressgateway dan istio-pilot, Anda dapat menetapkan properti istio.ingressgateway.replicaCountMin dan istio.pilot.replicaCountMin ke 3 atau yang lebih tinggi. Lihat Referensi properti konfigurasi, istio.

Untuk komponen istio lainnya (yang tidak memiliki properti replicaCountMin), lihat Mengupgrade cluster atau node pool secara manual di dokumentasi GKE atau Opsi IstioOperator di dokumentasi Istio.