I've different deployments over different namespaces and I would like to expose some of them to the Internet, even if I don't have a static and public IP available. The different services are deployed on Rancher k3s and every service which should be publicly accessible has an Ingress defined in the same namespace.
I was trying to follow Rancher - How to expose my services publicly?, but I didn't really get what I've to do and, moreover:
- Why do we need to define a LoadBalancer? It seems to me that the IngressController used by k3s (Traefik?) already creates one. If this is a must (or a good way to go), how it should the service defined exactly?
- I don't have any Rancher UI in my environment. Therefore, is there a way to achieve what described in that link in a declarative way?
- Is there a way to use services like No-IP or FreeDNS for the final hostname?