Traefik Middleware (redirectScheme) in k3s

This page summarizes the projects mentioned and recommended in the original post on /r/kubernetes

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • k3s

    Lightweight Kubernetes

  • Then to answer OP: k3s internally also just uses the helm operator to deploy traefik so the original flag i posted still works. You should find it in your static manifest folder on your server. This is where they keep it in github: https://github.com/k3s-io/k3s/blob/master/manifests/traefik.yaml

  • traefik-helm-chart

    Traefik Proxy Helm Chart

  • You can then use helm to remove the old traefik deployment and install from wherever you'd prefer. I used the official traefik helm. I made sure that I copied the values from /var/lib/rancher/k3s/server/manifests/traefik.yaml to my values file (retrieved from https://github.com/traefik/traefik-helm-chart/blob/master/traefik/values.yaml). Here I also added the helm operator ports.web.redirectTo: websecure (per u/soundwave_rk).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts