Kube_vip lb/MetalLB IP unreachable #520
Unanswered
CountOlaf87
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Behavior
I'm running k3s on 3 master nodes and 2 worker nodes running Debian 11. The playbook runs fine. I have tried rerunning the playbook once with MetalLB as the load balancer and once with Kube_vip as the load balancer.
When I deploy a simple nginx deployment with a service, both MetalLb and Kube_vip lb hand out an IP address from their ranges, but with MetalLB the ip address is completely unavailable (no ping, no curl), with Kube_vip the IP is pingable, but curl gives me curl: (7) Failed to connect to 192.168.1.80 port 80: Connection refused. When curling the internal ip from kubernetes, it does work without any issue.
Steps to Reproduce
Run ansible-playbook site.yml on a clean install of debian 11 and running a simple nginx deployment with service.
Context (variables)
my network range is 192.168.1.0/24 (dhcp range is .100 - .200, so no overlap)
all.yml
nginx-deployment.yml
nginx-service.yml
Operating system: Debian GNU/Linux 11 (bullseye)
Hardware: Proxmox VM's
Hosts
host.ini
Beta Was this translation helpful? Give feedback.
All reactions