dujas
March 23, 2026, 6:57am
1
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 .
dujas
March 24, 2026, 1:58am
3
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.
dujas
March 25, 2026, 2:42am
4
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.
system
Closed
March 28, 2026, 2:43am
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.