-
Notifications
You must be signed in to change notification settings - Fork 450
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
Support node ports on fake kubelet endpoints #60
Comments
I am not sure about the implications, but wouldn't it work to have the real node IPs in the fake node ip field or even the external-ip field? |
Is there any option to set the external-ip of the virtual nodes to the internal ip of the real nodes? |
@everflux There is no such option at the moment. But when you use "Real nodes" node syncing mode, the ExternalIP address of the host node should be visible in the .status.addresses field of the virtual node. |
If someone else wonders how to configure the ExternalIP of bare metal nodes, see kubernetes/kubernetes#42125 |
This seems to be working in vcluster 0.20.0-beta when syncing of all nodes is enabled. |
Currently vcluster will exchange the node ip to redirect to traffic to itself (to rewrite cluster metrics). One problem with this is that those fake ips do not forward traffic in created node ports.
In order to implement this, we would need a controller that reconciles all virtual cluster node services and opens a new port on the vcluster that redirects traffic to the actual node ip.
The text was updated successfully, but these errors were encountered: