TraefikEE comes with a handy dashboard that provides a detailed overview of the current status of your cluster, including detailed information on your cluster's ingress and service mesh routing configuration.
Enabling the Dashboard¶
Where is the dashboard served?
Ingress proxies serve the dashboard.
It works similarly to the Traefik dashboard. For a more in-depth explanation, please refer to the Traefik documentation.
This example shows how to enable the dashboard on the port
8888 and the domain
traefikee.domain.org with basic authentication enabled.
To do so, create a router called
api through the dynamic configuration which routes all requests coming through the
internal entrypoint to the
In our case, the entrypoint
internal is listening to the address
Also, in order to protect this from the rest of the internet, set up a basic authentication middleware on this router.
First, the applied static configuration should contain the following elements:
# [...] [entryPoints] # [...] [entryPoints.internal] address = ":8888" [api] dashboard = true
# [...] entrypoints: # [...] internal: address: ":8888" api: dashboard: true
Then, apply the following dynamic configuration:
[http.routers.api] rule = "Host(`traefikee.domain.org`)" service = "api@internal" middlewares = ["auth"] entryPoints = ["internal"] [http.middlewares.auth.basicAuth] users = [ "test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/", ]
--- http: routers: api: rule: Host(`traefikee.domain.org`) service: api@internal entryPoints: - internal middlewares: - auth middlewares: auth: basicAuth: users: - "test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/"
teectl apply command:
teectl apply --file=dynamic.yaml
teectl apply --file=dynamic.toml