Why does Traefik v3.6.11 fail with an undefined configfile flag

I am upgrading traefik from v3.6.9 to v3.6.11 in K8S environment, but the pod failed to be brought up with error as below:

flag provided but not defined: -configfile
Run with -help to get list of available parameters

The output of Traefik pod config is like:

Containers:
  gateway:
    Container ID:  <container_id>
    Image:         <repo>
    Image ID:      <image_id>
    Ports:         <port>
    Host Ports:    <port>
    Args:
      --configfile=/etc/traefik/conf/static.yml

The config works fine till v3.6.10 but the issue came out when I tried v3.6.11.

I tried binary in my RHEL server, it works fine.

From the docs:

traefik --configFile=foo/bar/myconfigfile.yml

Make sure to have two dashes in front of the param.

If you think it’s a bug, create an issue with the devs at Traefik Github.

Thanks for the reply.

I confirmed the template code never changed since very early version until we tried v3.6.11, this error came out.

Will open an issue there.

I can confirm the issue was totally caused by the interrupted docker image while being downloaded. Once I download it again and verify the sum, all passed.

Thanks @bluepuma77 for your time.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.