How to Configure Calico and LoadBalancer for Host Traffic?

0
8
Asked By TechieGiraffe99 On

Hey everyone! I'm working on a basic cluster setup using Calico with PureLB. Everything is functioning well in terms of requests being answered correctly by the LoadBalancer. However, I want the same ports used in my LoadBalancer (specifically the nginx ingress) to also respond directly on the host interface, but I haven't had any luck so far.

I've tried creating a GlobalNetworkPolicy and a HostEndpoint as you can see in my YAML specs, and I've also set my nginx-ingress LoadBalancer's externalTrafficPolicy to Local, but something still seems off. Is this actually possible? What am I missing here?

Thanks in advance for any clarity you can provide!

1 Answer

Answered By ServerSleuth321 On

Have you made sure that the host endpoint is enabled? That could be a crucial step. It might help to check out this tutorial for some guidance on Calico with eBPF and XDP: tigera.io tutorials. That could clarify a few things for you!

CuriousCoder7 -

That tutorial requires an account, but I'll check it out on my computer later. My Calico setup is already in eBPF mode without KubeRouter or Kube Proxy. I have the helm chart values for the Tigera operator as well, so I'll share that too. Just confirming, is the eBPF config I have enough? How would I go about checking if eBPF is properly configured?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.