V2.2.5
3 Consul servers and agents installed. Each app will have its own consul sidecar.
Note that when exposedByDefault is true, the apps are detected and registered to traefik as consulCatalog provider and can be seen in the dashboard. Note that we have issues with routing and suspect that adding the annotations to the pods are not working.
Example annotations that are added to the pod:
traefik.enable: "true"
traefik.http.routers.demo.entrypoints: web
traefik.http.routers.demo.rule: Path('/v1') || PathPrefix('/v1')
traefik.http.services.demo.loadbalancer.server.port: "8080"
traefik.http.services.demo.rule: Path('/v1') || PathPrefix('/v1')
I am tried all of them and they do not work.
I have a simple test app that has a pod and a service. I access it after port forwarding, http://localhost:8080/v1/hello. Right now, it doesn't even detect the app.
It will be great to have some documentations on how and where to specify the annotations.