https://rancher.com/ logo
s

stale-spring-20280

02/02/2023, 10:23 PM
I am installing Rancher on K3S using the below command. If I set hostname to one of the K3S nodes, I can get it installed. However, keeping HA in mind, should the hostname be pointed to an external Layer 4 Loadbalancer forwarding ports 80/443? helm install rancher rancher-latest/rancher \ --namespace cattle-system \ --set hostname=<IP_OF_LINUX_NODE>.sslip.io \ --set replicas=2 \ --set bootstrapPassword=<PASSWORD_FOR_RANCHER_ADMIN>
c

creamy-pencil-82913

02/02/2023, 10:25 PM
yes for HA it should, but you’ll need to get actual DNS for that, since you can’t point something at multiple addresses with sslip.io
with K3s you can use the built-in servicelb, you don’t need an external L4 load balancer
but you’ll still need to figure out the DNS part
s

stale-spring-20280

02/02/2023, 10:29 PM
Thanks @creamy-pencil-82913. Could you please point me to the documentation to use service-lb?
c

creamy-pencil-82913

02/03/2023, 5:14 PM
It comes with k3s, you don't have to do anything to use it
9 Views