Odd IngressRoute for Traefik dashboard in K3s cluster

try to use this yaml

apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  valuesContent: |-
    additionalArguments:
      - "--api"
      - "--api.dashboard=true"
      - "--api.insecure=true"
      - "--log.level=DEBUG"
    ingressRoute:
      dashboard:
        enabled: true
    ports:
      traefik:
        expose:
          default: true

and you will get 9000 open

kube-system   traefik                                   LoadBalancer   10.43.50.120    192.168.45.129   9000:31564/TCP,80:31994/TCP,443:31521/TCP   3h59m

then open ip:9000 open the dashboard

1 Like