Hey everyone! I'm working on an app with an ingress configured for Traefik, but I've found that the ingress address is showing up as a 172 IP address. I'm looking for a way to expose this address so that I can resolve it from outside the cluster. Would setting up a host entry for the host IP work, or is there a better solution?
1 Answer
For a home lab setup, you can use a load balancer to expose your ingress to external traffic. If you're using something like Cloudflare, you can set up a tunnel that points to your ingress for additional features, or you can go directly to your service name. It gives you a public endpoint to access your app.

I was just checking out how load balancers work and found some configuration examples. For instance, it might look something like this:
```yaml
apiVersion: v1
kind: Service
metadata:
name: example-service
spec:
selector:
app: example
ports:
- port: 8765
targetPort: 9376
type: LoadBalancer
```
How does the load balancer know to assign an IP from my local network? Do I have to specify one, or does it get it automatically from DHCP?