This message was deleted.
# general
a
This message was deleted.
a
locally running - means bare-metal, is it?
c
Yes
a
If so then to expose public/NAT-ed IP you would need MetalLB
It will provide loadbalancer behind which the ingress will get an IP
c
If I switched to MetalLB Do I still need the nginx controller?
so in this case I will still have my nginx exposing my services, but MetalLB will set that externalIP load balancer for it, right?
a
Loadbalancer from metallb is on OSI level 4
So it will do ports, TCP, UDP
Ingress in on OSI level 7
It does HTTP
You need both unless you do require only to open some port (usually not HTTP/S 80,443) and pass traffic in which case you do not need Ingress
c
unless you do require only to open some port (usually not HTTP/S 80,443) and pass traffic in which case you do not need Ingress In this case you mean that MetalLB will expose only specific service as the entrypoint for the cluster.. But instead, having ingress allow will allow me to forward traffic to different services behind the single metallb lb ip... right?
a
Yes the ingress will allow to forward traffic to different services behind the single metallb lb ip...
👍 1
c
Is there any way to do that using only ingress? without the need of MetalLb?
a
You can have multiple IP's too
For Bare Metal setup no way
You need Metallb or some Metallb alternative if exist
In a cloud provider a Loadbalancer and other network points (nat gateway, etc ) are already built-in (i.e. aws, gcp) therefore not such module as metallb required
👍 1
c
OK got it
You mean multiple IPs for MetalLB, right?
Thanks for the clarification and resources 🙂 ❤️
a
Sure, welcome. Yes multiple IP's set for separate Loadbalancer services handled by MetalLB.
c
Hi @acceptable-match-53099 Do you recommend MetalLB over Kube-VIP?
I haven't tried Kube-VIP yet. Seems both can handle range IP's despite question/answer in reddit link above.
I can tell that this IP range is made by kernel via iptables (nftables) rules as I observed on my Microk8s with Metallb setup. Also both Metallb and Kube-VIP support BGP. https://metallb.universe.tf/concepts/bgp/