-
Notifications
You must be signed in to change notification settings - Fork 102
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
lb service in haproxy always PENDING #327
Comments
I have a similar setup. Router with a dynamic public IPv4 address with NAT towards LAN. The hcce.yaml needs a loadbalancer and microk8s has metallb available as an addon. I installed metallb (microk8s enable metallb) and assigned it a reserved/excluded private IPv4 range from my LAN. I used 192.168.0.250-192.168.0.253, but one is enough and it will pick the first 192.168.0.250. Then the hcce.yaml lb is created and the four ports 80,443,4443,5349 could be reached at 192.168.0.250. In my router I configured port forwarding for these ports and pointed them towards 192.168.0.250 |
thx zigit. I'm new in k8s and microk8s, k3s, should i use the following commands to install metallb?
|
i tried
and get
But the haproxy says:
and the lb is pending yet. |
Try deleting the lb and apply it again if you have not already tried that after installing metallb. The cert stuff is a different thing and you need the lb up to get the certs issued and verified. |
well, i tried to config metallb as the following.
after that, the lb starts and get an external IP(e.g. 192.168.1.150) Anyway, thanks alot. |
Happy to hear you got it working! Yes, the initial setup is empty so you need to import scenes and avatars on the /admin page. Login with the email you configured in the hcce.yaml ADM_EMAIL (I had some trouble with the smtp settings so check that if you do not get the sign-in email). More info on how to use the admin page here https://hubs.mozilla.com/docs/setup-configuring-content.html I am looking into writing a tutorial on this kind of self-serve setup (using you own hardware and internet connectivity) if there is an interest in the community. |
yeah, all my steps are recorded, but there are some Chinese clauses😁 |
Okay, here is my steps:
|
I'm trying to install this great work in my 2 ubuntu 22.04 VMs. i installed the microk8s cluster and its dashboard.
After deploy the hcce.yaml, all pods are running, but the lb service in haproxy is always PENDING.
by using lsof, all ports in lb service but 443 are available:
And the haproxy complains:
I can neither access http://@:80 nor https://@443, but the https://@:4443 says:
What should i do? and how can i put cert-*.hubs.mydomain.com into haproxy:)
The text was updated successfully, but these errors were encountered: