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

multi cluster with one ip #315

Open
wingsuitist opened this issue Jun 16, 2024 · 3 comments
Open

multi cluster with one ip #315

wingsuitist opened this issue Jun 16, 2024 · 3 comments

Comments

@wingsuitist
Copy link
Contributor

Possibility for multiple clusters with one IP.

Scenario 10 clusters:

  • osc01
  • osc02
  • ...
  • osc10

Main Domain: example.com

API using different ports:

  • api.osc01.example.com:6001
  • api.osc02.example.com:6002
  • ...
  • api.osc10.example.com:6010

Todo: Check if reverse proxy can reliably handle API calls using different host names or if different ports are required.

Apps:

  • *.apps.osc01.example.com
  • *.apps.osc02.example.com
  • ...
  • *.apps.osc10.example.com

Possible solutions:

  • Single HA Proxy which differentiates per "cluster domain" (e.g. osc01.exymple.com).
  • Separate HA Proxy per cluster, but additional reverse Proxy sending traffic to each HA proxy.
@rbo
Copy link
Contributor

rbo commented Jun 18, 2024

I tried a long time ago to put many clusters behind a haproxy via "cluster domain" based routing. And I failed, there were some strange errors. That's why I decided to go with additional IPs. If you can provide a reliable solution, we can add a new docs part how to set it up or an add-on.

I'm not pretty sure how many users who really need. Most of the users I know have just one cluster running.

@wingsuitist
Copy link
Contributor Author

We are currently evaluating if we can use it to spin up a clusters for a few days or just hours, and then destroy it again. Mostly for integration testing, but also for experiments where we quickly need a clean setup, and can not do the experiment on the same cluster as other experiments. Hope we can find the time to solve it.

=> About the errors: Was ist also problematic for the whole "*apps.xyz" part or only for the api?

@rbo
Copy link
Contributor

rbo commented Jun 18, 2024

I cannot remember, might be API only because of client cert auth.

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

No branches or pull requests

2 participants