I am install my ECK on GKE
as you may know GKE provide a method for cluster auto upgrade or no matter as a normal upgrade for node pool (it does 1 by 1 in each zone)
if we setup PDB , it will follow the rules as max 1 hour
However i dont know if 1 hour is enough for the replica relocate to another know
What will happen to the case and do ECK correspond react for this ?
As to the replica relocation. If you are using network attached storage the replica relocation wouldn't normally be needed - as pod disappears and gets recreated on another node, its PV follows it and gets reattached.
If you are using local storage and it gets lost during node upgrade, after new pod is up and running ES will replicate the missing state. As to how long it can take, it depends on the state size, network performance and cluster load.
I am using PD (persistent disk) in GKE
Which is zonal disk
Pod gone will fine be, reborn pod can monut back the disk
However I am not sure when will ECK do the migration
If you are using persistent disks the pod will be deleted and recreated on a different k8s node. As soon as this happens, PV on your persistent disk will be attached to the pod and ES will continue operating as normal. There is no migration to be done as data on that PD was not lost. If pod coming up takes some time, a data migration to a different pod might start, but as soon as new pod (with already existing PV) rejoins ES cluster, the migration will be cancelled.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.