-
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
Support LB attached to private network without enabling route controller #758
Comments
we have the same issue ( we also happen to have robot servers in our cluster), I went the exact same path but there is no luck to pass network id to controller without it automatically want to run routes controller. I believe this is more a bug rather than being an enhancement.
update:
|
@jtackaberry I have figured it out HCLOUD_NETWORK_ROUTES_ENABLED: false |
@mehrdadpfg ah wonderful! I somehow missed that nugget in my trawling of GitHub issues. Tested that out and it works. Thanks! If only it was documented. Perhaps this issue is worth leaving open from a documentation perspective (which is perhaps my real only complaint about this project in general). I can submit a PR for the README. |
yeah i totally agree, actually i did not find it in issues until you mentioned i crawled through the source code to find it. |
TL;DR
I am using Calico on microk8s for networking and IPAM. I'd like to be able to attach a hccm-provisioned LB to a private network without having to enable full networking.
Expected behavior
My goal is to use Calico for networking/IPAM but deploy a LB attached to a private network, addressing the backend servers via private IPs.
The README says:
I do manage the network myself, so ok, I included the network name (unimaginatively
default
) in the hcloud secret, and added this stanza to my Helm chart values file:Unfortunately, even though I have left
networking.enabled
as false with the chart, merely defining HCLOUD_NETWORK as above seems to auto-enable the route controller, and I get the error:So I next turned to load_balancer.go for annotations (BTW are these annotations documented anywhere or is the source code the only place to see what's available?) and was hoping to see some means of attaching an LB to a private network.
I see
load-balancer.hetzner.cloud/use-private-ip
which is obviously going to be a prerequisite, but this alone isn't sufficient:Makes sense, because HCCM doesn't know the network id. But nor do I see any way to actually tell it the id without enabling the route controller. Ultimately that's the nature of this FR: allow configuring the network id with HCCM, preferably using the HCLOUD_NETWORK env var approach, without implying the enablement of the route controller.
(Apologies if this ends up being more a request for cluebatting than a feature request.)
The text was updated successfully, but these errors were encountered: