https://rancher.com/ logo
#rke2
Title
# rke2
a

adamant-kite-43734

10/26/2022, 1:47 PM
This message was deleted.
c

creamy-pencil-82913

10/26/2022, 3:24 PM
it’s a daemonset with hostport 80 and 443, so you can reach the ingress on any of your nodes at 80/443. You can also reach it via the service within the cluster, if you want.
you’d see the hostports if you inspected the pods
l

limited-motherboard-41807

10/26/2022, 3:25 PM
Aaaah thanks 🙂
Didn't know that Daemonset could configure hostPort directly
c

creamy-pencil-82913

10/26/2022, 3:26 PM
they’re just pods, you can do anything you can do with a normal pod
l

limited-motherboard-41807

10/26/2022, 3:27 PM
Didn't know this exist with pod as well to be honest 😅
I learned something, thanks!
p

proud-ram-62490

10/26/2022, 6:53 PM
How would someone recommend routing data to these services then? You obviously don’t want to just point an A Record to a single specific host in case that host goes down for any reason.
c

creamy-pencil-82913

10/26/2022, 6:54 PM
cnames are an option… or external load-balancers…
if you want to use an in-cluster load-balancer, you can deploy a load-balancer controller and then reconfigure the chart to use LoadBalancer service instead of just ClusterIP
but these are all kind of up to the administrator to decide based on what they have available in their environment
p

proud-ram-62490

10/26/2022, 6:56 PM
gotcha, I think I’d prefer to do LB on the cluster - so would I just remove the current install of NGINX and reinstall with it as a LB?
c

creamy-pencil-82913

10/26/2022, 6:56 PM
no. ingress-nginx is an ingress controller, not a load-balancer controller
they do different things
l

limited-motherboard-41807

10/26/2022, 6:57 PM
We do external load balancer indeed
c

creamy-pencil-82913

10/26/2022, 6:57 PM
load-balancer controllers would be things like kube-vip, metallb, or servicelb
p

proud-ram-62490

10/26/2022, 6:59 PM
Understood.
6 Views