https://rancher.com/ logo
n

narrow-lunch-43082

03/15/2023, 11:44 PM
is it possible to use rke2 with metallb and traefik ????
c

creamy-pencil-82913

03/15/2023, 11:46 PM
Yes but you'd have to disable ingress-nginx and install metallb and Traefik yourself
n

narrow-lunch-43082

03/15/2023, 11:49 PM
and is only with running the flag to not run nginx and i can install metallb with helm and same with traefik
c

creamy-pencil-82913

03/15/2023, 11:57 PM
I’m not sure I understand the question
n

narrow-lunch-43082

03/15/2023, 11:58 PM
the right way to disable nginx is with starting the rancher server with the disable ingnix flag or is there another method of disabling nginx ingress
c

creamy-pencil-82913

03/16/2023, 12:00 AM
--disable=rke2-ingress-ngxinx is the correct way do to that, yes
Starting RKE2 with that flag, NOT Rancher
Rancher is an application that is deployed to a Kubernetes cluster. RKE2 is the Kubernetes cluster distribution.
n

narrow-lunch-43082

03/16/2023, 12:03 AM
right,
Is there a way to disable it completely or would it better to go with the k3s ?
p

polite-piano-74233

03/16/2023, 12:13 AM
i use rke2 with metallb and a custom ingress-nginx all the time for my companies setups
works great
i dont ever use the built-in ingress tbh
you can also disable the default ingress after the cluster is already up but just fyi it deletes the entire ingress-nginx namespace when you do so
n

narrow-lunch-43082

03/16/2023, 12:22 AM
the big thing form me is using traefik with the built in openid config and supporting udp out of the box
as far im aware nginx ingress doesn;t have that capability
c

creamy-pencil-82913

03/16/2023, 12:25 AM
there are some other things that make rke2 and k3s different, but they are similar in a lot of ways. If you haven’t tried k3s you might check it out, it comes with traefik and a load-balancer out of the box.
n

narrow-lunch-43082

03/16/2023, 12:32 AM
might give that a try then
270 Views