I am wanting to utilize my traefik instance that i have running on Kubernetes to handle all my reverse proxy needs. I currently utilize MetalLB with Traefik to have external access to my pods inside of Kubernetes. I have read some documentation and examples on using a provider file(mostly with docker) and i tried this and it showed up in Traefik but i would never send/receive traffic(provider file below)
Is using a provider file the correct manner to do this with Kubernetes? I think this wasn't working because it wasn't looking for traefik on the MetalLB IP.
I also tried using an IngressRoute in Kubernetes but it would require a service to send that through. Im not sure what that K8 service would look like to point it to an IP outside of the Kubernetes cluster.
Has anyone successfully setup Traefik inside Kubernetes with MetalLB to accept and send traefik outside the Kubernetes cluster?
http:
routers:
lab:
service: personal-example
rule: "Host(`personal.example.com`)"
entryPoints:
- web
plex:
service: test-example
rule: "Host(`test.example.com`)"
entryPoints:
- websecure
services:
personal-example:
loadBalancer:
servers:
- url: "http://192.168.10.10"
test-example:
loadBalancer:
servers:
- url: "https://192.168.10.11"