Install Traefik

    Choose one of the official Docker images and run it with the :

    For more details, go to the Docker provider documentation

    Tip

    • Prefer a fixed version than the latest that could be an unexpected version. ex:
    • Any orchestrator using docker images can fetch the official Traefik docker image.

    Warning

    The Traefik Chart from is still using Traefik v1.7.

    Traefik can be installed in Kubernetes using the Helm chart from .

    • Kubernetes 1.14+
    • Helm version 3.x is installed

    Add Traefik's chart repository to Helm:

    1. helm repo add traefik https://containous.github.io/traefik-helm-chart

    You can update the chart repository by running:

    1. helm repo update

    And install it with the helm command line:

    1. helm install traefik traefik/traefik

    Helm Features

    All are supported. For instance, installing the chart in a dedicated namespace:

    Installing with Custom Values

    The values are not (yet) documented, but are self-explanatory: you can look at the default values.yaml file to explore possibilities.

    Example of installation with logging set to DEBUG:

    1. --set="logs.loglevel=DEBUG" \
    2. traefik traefik/traefik
    1. ## Install with "helm install --values=./custom-values.yml traefik traefik/traefik
    2. logs:
    3. loglevel: DEBUG

    Grab the latest binary from the page.

    Check the integrity of the downloaded file

    1. sha256sum ./traefik_${traefik_version}_linux_${arch}.tar.gz
    1. # Compare this value to the one found in traefik-${traefik_version}_checksums.txt
    2. Get-FileHash ./traefik_${traefik_version}_windows_${arch}.zip -Algorithm SHA256

    Extract the downloaded archive

    1. tar -zxvf traefik_${traefik_version}_linux_${arch}.tar.gz
    1. tar -zxvf ./traefik_${traefik_version}_darwin_amd64.tar.gz

    And run it: