Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submariner in different AZs? #16

Closed
m4ce opened this issue Apr 17, 2019 · 3 comments
Closed

Submariner in different AZs? #16

m4ce opened this issue Apr 17, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@m4ce
Copy link

m4ce commented Apr 17, 2019

We tried running submariner in our cluster which spans three different AZs on AWS. It looks like the route agents fail to add the route to the destination cluster CIDRs when using as a default gateway a local node that sits in a different AZ. This is to be expected since you cannot route from one AZ via another in AWS since they are not directly attached. How to solve this?

@Oats87 Oats87 added the enhancement New feature or request label Apr 18, 2019
@Oats87
Copy link
Member

Oats87 commented Apr 18, 2019

We are looking at a solution to fix this, like using VXLAN to pass local cluster traffic instead of using ip routing.

@m4ce
Copy link
Author

m4ce commented Apr 19, 2019

Eventually, we decided to run a submariner per AZ and a broker per AZ. So the cluster id concept is mapped to the AZ. As we had to run the submariner agents in different namespaces, we had to patch the code as the namespace (submariner) was hard-coded. We also had to change the route agents DaemonSet to have a specific node selector based on the AZ (cluster id). The second cluster also has the same number of AZs and they use the same brokers. We now have it working between two clusters and multiple AZs and routing works as expected.

@dimaunx dimaunx pinned this issue Sep 22, 2019
@dimaunx dimaunx unpinned this issue Sep 22, 2019
@dimaunx
Copy link

dimaunx commented Sep 22, 2019

#154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants