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

Supporting multiple floating ips in a cluster #34

Open
KlavsKlavsen opened this issue Jun 1, 2021 · 2 comments
Open

Supporting multiple floating ips in a cluster #34

KlavsKlavsen opened this issue Jun 1, 2021 · 2 comments

Comments

@KlavsKlavsen
Copy link

I was thinking it would be VERY nice if this could handle "ALL" public ips assigned to a cluster (so we have HA on them).
f.ex. We have 1 public ip - which lands on traefik (a daemonset on all nodes).. this serves all ingress http/https..
BUT we also have a few services that can't be served through traefik.. so we need an extra public ip for those.

I was thinking that if one could instead give it a "list of floating ips"..
to also work with floating ips on dedicated servers (robot api) - it could be done by f.ex. having a label with ip as value (on loadbalancer service objects) - so if one defines such a label - it should ONLY "sync that ip" to the node THAT loadbalancer-service's pod is on.. WDYT ?

That approach should work for both hcloud and dedicated servers AFAIK - and without such a label on the object - the would do "as it does not" - which means point all floating ips it manages to the same hcloud-server.

@costela
Copy link
Owner

costela commented Jun 3, 2021

hi @KlavsKlavsen, thanks for the feedback!

I'm not quite sure I understand what you mean though.
We already support multiple IPs: whatever IPs get assigned to a service, if they can be found via the hclud API, we attach them to the underlying node.
So, leaving aside the robot API part (which is #33), what exact scenario are you trying to solve here?

@KlavsKlavsen
Copy link
Author

@costela As I understand it - the code tracks one or more floating ips - so they follow the pod of ONE loadbalancer, right?
I have 2 floating ips.. 1. must point to "any of the nodes running traefik" and 2. must follow my teleport-cluster pod (as the external-ip is assigned to the loadbalancer service that points to that pod.
As I understand it current code, does not support that ?

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