Does Kubernetes Federation rebalance pods across clusters after it recovers from outage?

6/8/2017

When the federation plane recovers from a zone outage, would it discover the changes I made to the other cluster? For instance, assume a federation with clusters A and B. Cluster A hosts the federation. I have a pod deployment with 4 replicas; cluster A and B gets 2 each. When cluster A goes down, hence federation plane goes down, if I increase the replica count on Cluster B to 4 to compensate for the loss of cluster A, what happens when federation comes back up? Would it overwrite cluster B back to 2 replicas?

-- Kamil
federation
gcp
kubernetes

0 Answers