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

Attach Public IP to VM #474

Open
matthieu-robin opened this issue Nov 12, 2024 · 2 comments
Open

Attach Public IP to VM #474

matthieu-robin opened this issue Nov 12, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@matthieu-robin
Copy link

As a Cozy user, I would like to attach a Public IP directly to VM resources

@dosubot dosubot bot added the enhancement New feature or request label Nov 12, 2024
@kvaps
Copy link
Member

kvaps commented Nov 12, 2024

Hi @matthieu-robin. We were considering various implementations.

We have a few options here:

  • Publish the VM as a Kubernetes service; this case is already working.
  • Specify a public IP for the VM using Kube-OVN and attach it to the default interface. Not sure if it will work fine, but it might, with the limitation of only one IP per virtual machine.
  • Use Multus to add a secondary interface to the VMs; this might be a solution, with the limitation that these secondary interfaces will be used only for assigning public IPs to VMs, but not for managed services. We also can't reuse this approach for the normal Pods because it bypasses the Kubernetes networking stack.

@matthieu-robin
Copy link
Author

We have a pool of public IP ( the one used by Ingress), it should be great if this one is used.
And for us, a second network interface should be the best way to manage security and rules.
Thanks

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

2 participants