patrickeasters / traefik-k8s-tls-example

42 stars 17 forks source link

Question - expose the Traefik UI? #1

Closed dstroot closed 7 years ago

dstroot commented 7 years ago

Do you use the traefik UI at all? This does not seem to expose it - or does it?

patrickeasters commented 7 years ago

Dan, I haven't personally used it, but it's pretty easy to configure.

First, you would need to add these two lines to your Traefik config. This exposes the API backend, which contains the web UI as well.

[web]
address = ":8080"

In order to access it, you'll also need to add port 8080 to the pod spec in traefik.yaml, as well as expose that port in the service spec.

Hope that helps!

dstroot commented 7 years ago

Yep - that worked along with an ingress for it. That was a fast response!

On Feb 13, 2017, at 4:17 PM, Patrick Easters notifications@github.com wrote:

Dan, I haven't personally used it, but it's pretty easy to configure.

First, you would need to add these two lines to your Traefik config. This exposes the API backend, which contains the web UI as well.

[web] address = ":8080" In order to access it, you'll also need to add port 8080 to the pod spec in traefik.yaml, as well as expose that port in the service spec.

Hope that helps!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

patrickeasters commented 7 years ago

Awesome! Glad it worked. You timed your comment well--I can't say I'm always this responsive. 😄

Happy Kubernetes/Traefik-ing!