|
|
|
|
|
by manigandham
1714 days ago
|
|
Kubernetes doesn't "failover" like that. Each cluster does it's best to keep your workloads running but stretching across multi-clusters is your responsibility. There is K8S Federation [1](previously called multicluster) which is about deploying from a single host cluster to multiple other ones, but it's still unfinished, and either way K8S doesn't know much about your application itself to be able to perform any kind of failover switch. Usually if it's a stateless app then the solution is using a global load balancer or other networking at the edge to steer traffic to the responsive regions. Databases also tend to have their own replication and distribution strategies handled internally that should be used, along with the above mentioned networking. 1. https://github.com/kubernetes-sigs/kubefed |
|