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

[Feature Request]: Add floating IPs for wireguard hybrid cloud / multicluster #1468

Open
s04 opened this issue Sep 3, 2024 · 0 comments
Open

Comments

@s04
Copy link

s04 commented Sep 3, 2024

Description

I'd like to have 1 node in every Hetzner region and my master node in eu-central.

They should all be connected in the same cluster even if they don't share a network/subnet.

Currently we allow for "enable_wireguard" for encrypted connection between nodes (on the same network) but according to the K3s docs, for the hybrid/multicloud approach I also need to specify the external IP of each node upon initialisation.

Solution Suggestion:

I'd like to pre-create some floating IPs and then pass these to the agents so they all get these IPs.

Then I can also use the Kubelet option defined in the docs:

--node-external-ip=<SERVER_EXTERNAL_IP> --flannel-backend=wireguard-native --flannel-external-ip

I need to know the IP upon creation of the nodes.

K3s Documentation to the Distributed Multicloud feature

I'm comfortable with Terraform but I just need a pointer in the right direction with what files I'll need to edit to enable this feature. Then I'll open a PR.

Thanks in advance and thanks for this amazing project!

Saul

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

1 participant