Closed gbyczyns closed 2 years ago
Hi! Thanks! They are actually not mutually exclusive, you can (and I do) run both MetalLB and traefik on the same instance. MetalLB is your service load balancer and traefik is your Ingress Controller. Maybe you are confusing this with Klipper and MetalLB? Either way, since MetalLB is core to this playbook for now I don't think I would merge in a PR to disable it. There are other resources and even tests built to test it and adding this condition would increase the changes needed exponentially. But, that being said MetalLB is core to this repo. This issue can be a reference if anyone else wants to do this.
I modified the scripts so that the MetalLB (which I don't want) won't be installed if the Traefik is enabled:
Then I added the following clause to all the tasks related to metallb:
It's a dirty solution, but works for me. I could create a pull request, but I was wondering if this is the right approach? My assumption is that metallb and traefik are mutually exclusive, but maybe I'm wrong and such an approach doesn't make sense...