kops icon indicating copy to clipboard operation
kops copied to clipboard

Multi Region Layout

Open alexw23 opened this issue 9 years ago • 4 comments

Is it possible to run kops in a multi-AZ multi-region mode?

I wanted to have the following structure:

AWS ap-southeast-2

  • masters (a/b/c)
  • nodes (a/b/c)

AWS eu-west-2

  • nodes (a/b)

alexw23 avatar Mar 06 '17 04:03 alexw23

yes you can create and manage multi cloud multi-region cluster in kops, that is called Federation with High Availablity. you can have different cluster under different providers like GKE,AWS,On-premise,etc,

here are my setup

user@ubuntu:~$ kops get clusters us-east-1.dev.example.com us-west-2.dev.example.com ap-south-1.dev.example.com user@ubuntu:~$ kubectl config current-context us-east-1.dev.example.com user@ubuntu:~$ kops export kubecfg us-west-2.dev.example.com Kops has set your kubectl context to us-west-2.dev.example.com user@ubuntu:~$ kubectl config current-context us-west-2.dev.example.com

thaniyarasu avatar Mar 06 '17 08:03 thaniyarasu

Thanks @thaniyarasu, however I don't get how I can do this?

It seems like you've just setup multiple clusters with Kops and then linked them using federation? Did you read any documentation on how do to this?

alexw23 avatar Mar 06 '17 10:03 alexw23

@alexw23 here is the federated demo nginx service explained by one of the core member https://www.youtube.com/watch?v=pq9lbkmxpS8&t=37s

also go through this https://github.com/kubernetes/kops/tree/master/docs

thaniyarasu avatar Mar 06 '17 12:03 thaniyarasu

Closed for #1244

alexw23 avatar Mar 10 '17 22:03 alexw23