https://rancher.com/ logo
Title
f

fast-agency-28891

10/28/2022, 6:18 AM
Does k3s differ from k8s in terms of ingress? I always have trouble getting ingress to work in k3s, tried with haproxy and some traefik (But not familiar with traefik) Its a bare metal server, if I expose the deployment with LB it works to access.. Or if anyone are aware of any good writeups/docs for this please let me know
c

creamy-pencil-82913

10/28/2022, 6:47 AM
K3s is a k8s distro. Which other distro are you comparing it to?
K3s comes with the Traefik ingress controller. Lots of folks use ingress-nginx instead, but either should work. What specifically are you trying to do?
f

fast-agency-28891

10/28/2022, 6:52 AM
I just want topublic expose my service using ingress controller thats all, I can send the output config shortly
c

creamy-pencil-82913

10/28/2022, 7:11 AM
I would just look at the core Kubernetes ingress docs then. You don't need to get fancy with it.
f

fast-agency-28891

10/28/2022, 8:14 AM
Ok I will investigate thank you!
Just to be sure, do I ever have to disable the servicelb? Could that mess up that my ingress controller (haproxy) is not working? Or should it not matter?
c

creamy-pencil-82913

10/28/2022, 4:28 PM
servicelb is a loadbalancer controller, not an ingress controller.
1
f

fast-agency-28891

11/02/2022, 5:36 AM
Got it thanks, disbaling servicelb did however fix it but that is because (I believe so at least) That haproxy-ingress installs as Loadblaancer