-
Notifications
You must be signed in to change notification settings - Fork 116
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
Local IPs with Robots server on vSwitch not working #676
Comments
Hey @mglants, using IPs assigned through the vSwitch is not supported right now. We only support Private Networks in Cloud-only clusters. |
solved with specify hrobot id if in every node |
I think I have found a solution to support this use case in a good way and will provide a PR after I run it privately for some time. The solution is to introduce a new config option to hccm that instructs it to treat the --node-ip from kubelet as internal IP in case the node is a Robot node, which then fixes the error message seen in this issue description. I assume that this feature would also fix a few other issues I found in the Github repo. @mglants can you maybe re-open this issue so that we can use it to track this? @apricote Or is there already a better place/issue for this? |
Reopened due to feedback from community @codablock |
Hey, @codablock in the coming weeks, we plan to explore this topic in greater detail. There are already some open PRs and issues related to it. If you have a solution, feel free to submit a PR. We will review and evaluate all contributions as we delve deeper into the subject. I´d prefer closing this issue though. Best Regards, |
@lukasmetzner Thanks for the response. I created the PR (#851) with the proposed solution. If you want, you can close this issue again and we can switch to the PR for discussion. |
TL;DR
Node not adding if kubelet IP is set to internal network via Vswitch
Expected behavior
Node succesfully updated with Node controller
Observed behavior
Node broken and stays as uninitialized
Minimal working example
No response
Log output
Additional information
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
km1-stage Ready control-plane 14d v1.27.2 192.168.0.3 Talos (v1.7.0) 6.6.28-talos containerd://1.7.15
km2-stage Ready control-plane 14d v1.27.2 192.168.0.5 Talos (v1.7.0) 6.6.28-talos containerd://1.7.15
km3-stage Ready control-plane 18d v1.27.2 192.168.0.4 Talos (v1.7.0) 6.6.28-talos containerd://1.7.15
kn1-stage.htzn Ready 155m v1.27.2 192.168.0.130 Talos (v1.7.4) 6.6.32-talos containerd://1.7.16
kn2-stage Ready egress-proxy 13d v1.27.2 192.168.0.131 Talos (v1.7.4) 6.6.32-talos containerd://1.7.16
The text was updated successfully, but these errors were encountered: