On-premise multi-zone Kubernetes federation cluster

10/22/2018

Let's say I have baremetal servers at New York, London, Delhi, Beijing. My requirement is to join all the 4 baremetal servers in a distributed environment and run services on top of kubernetes. How do I achieve this ?

-- wahal
cluster-computing
federation
kubernetes

1 Answer

10/22/2018

Question is too broad but here's my take with insights on a global datastore:

Option 1: Setup a K8s cluster for each region and have them talk to each other through services. Have each talk to their own datastores, and keep data separate per region an use something like GSLB to route your traffic.

Option 2. Setup a K8s cluster for each region and use a global database like Dynamdb Global Tables, Cloud Spanner or CosmosDB.

Option 3. Use Kubernetes Federation. Federation doesn't necessarily solve the multi-region data store challenge, and it's also in Beta as of this writing. However, it will help manage your Kubernetes services across multiple regions.

Option 4. Something else, that you create on your own, fun! fun!

-- Rico
Source: StackOverflow