Closed krafty1010 closed 2 years ago
Hi, thank you for the link to the tutorial I will linkt to it in the README.
It's a good question why your setup is not working, because everything looks good. Here is the networking part from mine for reference:
serviceWeb:
loadBalancerIP: 192.168.178.252
annotations:
metallb.universe.tf/allow-shared-ip: pihole-svc
type: LoadBalancer
serviceDns:
loadBalancerIP: 192.168.178.252
annotations:
metallb.universe.tf/allow-shared-ip: pihole-svc
type: LoadBalancer
Which version of metallb are you using? I had the issue where i needed to restart the metallb-speaker-*
pods in kube-system
namespace. Otherwise the service would not react. But since the web interface is working. Is it possible that the 10. address is somehow colliding with the docker network?
Hi @MoJo2600 thanks very much for your response and good work.
Previously I had restarted the metallb pods. Running metallb-0.11.0.
For lack of a better idea; I deleted pihole and metallb, then reinstalled both with a different LoadBalancer IP and now the service is reachable.
I suppose Metallb is temperamental, the maintainers advise to treat it as beta.
Hi,
With reference to this page: https://greg.jeanmart.me/2020/04/13/self-host-pi-hole-on-kubernetes-and-block-ad/. Setup single node K3S cluster (RPI4) and metallb. Installed mojo2600/pihole with helm. Customised values to use Loadbalancer (as shown below). Problem is that port 10.10.0.13:53 is not accessible from local network.
I read somewhere that I should set Pihole settings Interface listening behavior to 'Listen on all interfaces, permit all origins' - made no difference. Web UI is accessible via an ingress to nginx load balancer. Also able to access dns resolver from whihin the pod.
Would really appreciate any suggestions. Bear with me though as I'm a newbie.