We're currently running traefik 1.7.12 as a DaemonSet in a Kubernetes cluster v1.15.3. Yesterday, it was the first time we modified the pods for our staging environment, however after the pods started again, traefik has been logging this error message:
time="2020-06-11T23:21:32Z" level=error msg="yaml: line 5: could not find expected ':'"
time="2020-06-11T23:21:32Z" level=error msg="yaml: line 5: could not find expected ':'"
time="2020-06-11T23:21:32Z" level=error msg="yaml: line 5: could not find expected ':'"
time="2020-06-11T23:21:32Z" level=error msg="yaml: line 5: could not find expected ':'"
time="2020-06-11T23:21:32Z" level=error msg="yaml: line 5: could not find expected ':'"
time="2020-06-11T23:21:32Z" level=error msg="yaml: line 5: could not find expected ':'"
time="2020-06-11T23:21:32Z" level=error msg="yaml: line 5: could not find expected ':'"
time="2020-06-11T23:21:33Z" level=error msg="yaml: line 5: could not find expected ':'"
time="2020-06-11T23:21:33Z" level=error msg="yaml: line 5: could not find expected ':'"
time="2020-06-11T23:21:33Z" level=error msg="yaml: line 5: could not find expected ':'"
time="2020-06-11T23:21:33Z" level=error msg="yaml: line 5: could not find expected ':'"
This is quite strange because the configuration file used is the same in production (we have restarted multiple times those pods with no errors).
This is our config file, it's a ConfigMap:
apiVersion: v1
kind: ConfigMap
metadata:
name: traefik-config
data:
traefik.toml: |
# traefik.toml
defaultEntryPoints = ["https","http"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
sniStrict = true
minVersion = "VersionTLS12"
cipherSuites = [
"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305"
]
[entryPoints.traefik]
address = ":8080"
[entryPoints.ping]
address = ":8082"
[kubernetes]
[ping]
entryPoint = "ping"
[api]
entryPoint = "traefik"
I've done some research but wasn't able to find anything related to this problem.
Any help is appreciated, thank you!