https://rancher.com/ logo
Title
q

quaint-rose-98687

11/17/2022, 11:18 PM
Hi, does anybody know why the rancher installation with external tls via the rancher docs on a k3s cluster also setup via the docs does not open the webserver on port 80 like it says in the docs? The docs talks about nginx but i only see traefik in my cluster. I followed these tutorials: https://docs.ranchermanager.rancher.io/v2.5/how-to-guides/new-user-guides/kubernetes-cluster-setup/k3s-for-rancher https://docs.ranchermanager.rancher.io/pages-for-subheaders/install-upgrade-on-a-kubernetes-cluster My helm command:
helm install rancher rancher-latest/rancher \
  --namespace cattle-system \
  --replicas=3 \
  --set hostname=<http://mydomain.com|mydomain.com> \
  --set tls=external
If been trying to figure this out for weeks 😞
c

creamy-pencil-82913

11/18/2022, 12:03 AM
what do you mean by “does not open the webserver”
the first page you linked is just a very short intro to installing K3s, which comes with Traefik as the ingress controller. Most other clusters come with ingress-nginx, so that’s what the more generic installation instructions (the second link) cover
q

quaint-rose-98687

11/18/2022, 4:41 AM
the external tls should open the web interface on port 80 on all nodes so i can route my loadbalancer to it, but it doesnt and it also redirects to https and shows cert errors in the browser so i should use another ingress controller (nginx) and not use the one that comes with the setup?
c

creamy-pencil-82913

11/18/2022, 5:30 AM
The Traefik ingress does listen on port 80 on the nodes. It does not open any ports for you though, you would need to do that on your own. How are you testing exactly?
q

quaint-rose-98687

11/18/2022, 7:35 AM
I mean expose not open, sorry Ive now tried it with RKE where the ingress is nginx with the right config for external tls but now rancher has errors and doesnt start. I just installed it fresh with this tutorial: https://docs.ranchermanager.rancher.io/how-to-guides/new-user-guides/kubernetes-cluster-setup/rke1-for-rancher
@creamy-pencil-82913