Skip to main content
In this lesson, we’ll explore the Traefik dashboard—a powerful observability interface enabled by default in every Traefik installation. The dashboard provides real-time insights into routing rules, service health, and security settings. For production environments, avoid exposing this dashboard publicly. Use a private network or kubectl port-forward instead. In this lab, we will configure a NodePort (30000) for direct access.

1. Deploy the Traefik Dashboard Service

Create a Service of type NodePort to expose the Traefik API port:
Apply and verify the Service:
Expected output:

2. Enable Insecure API Access

By default, Traefik’s API/dashboard is secured. For this lab, we’ll enable insecure access by adding --api.insecure=true to the deployment arguments. Edit the Traefik deployment:
Under the container spec’s args: section, include:
Save and exit. The deployment will rollout updated pods:
You should see:

3. Access the Dashboard

Open port 30000 on your node and navigate to:
On the dashboard, you’ll find:
  • Entry Points: Listening ports on the Traefik pod
  • Routers: Rules mapping incoming requests to services
  • Services: Backend services and their endpoints
  • Middlewares: Request transformations (none configured here)

Entry Points Overview

Inspecting Services

On the Services page, you can drill into each service’s pods and endpoints. In our CompanyX application, all services show healthy endpoints:
The image shows a Traefik dashboard displaying service details for a Kubernetes load balancer, including server URLs and their statuses. It also lists routers used by the service with associated rules and priorities.

4. Scale the Application

Let’s scale the CompanyX website to 5 replicas:
Verify new pods:
Refresh the Traefik dashboard—you’ll now see five healthy pods listed under the CompanyX service.
In a production setup, secure the dashboard with authentication or restrict access to a private network.

This completes our overview of the Traefik observability dashboard—an invaluable tool for monitoring traffic flows, routing, and service health in Kubernetes. For further reading, see the Traefik documentation.

Watch Video