Skip to content

Traefik config doesn't work #1060

@LovesTha

Description

@LovesTha

Describe the bug
Doing the config for k3s behind a reverse proxy, creating /var/lib/rancher/k3s/server/manifests/traefik-config.yaml does nothing to which ports traefik was binding to.

I noticed /var/lib/rancher/k3s/server/manifests/traefik.yaml exists, but merging the suggested config into that file also did nothing.

To Reproduce
Steps to reproduce the behaviour:

  1. Follow instructions for Using an existing reverse proxy
  2. Output of kubectl get svc -n kube-system | grep traefik is still ports 80 & 443

NB: traefik service in that output indicates it hasn't been restarted, the uptime is large, but so is the uptime in the example output.

Expected behaviour
Traefik is reloaded with customised exposed ports

Desktop (please complete the following information):
N/A

Server:

  • Device: [e.g. iPhone6]
  • OS: OpenSuse Tumbleweed 20250220

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions