-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
area/provider/k8s/ingresskind/enhancementa new or improved feature.a new or improved feature.priority/P3maybemaybestatus/5-frozen-due-to-age
Description
I faced issue when deploying traefik on K8s using deployment file with args as
--web
--kubernetes
--logLevel=DEBUG
--acme
--acme.ondemand=true
--acme.email=test@example.com
--acme.storagefile=acme.json
--acme.entrypoint=https
--defaultentrypoints=http,https
--entryPoints="Name:http Address::80 Redirect.EntryPoint:https"
--entryPoints="Name:https Address::443 TLS"
With the above mentioned params, traefik itself starts fine, but when it got ingress object information from K8s. it give errors as
time="2016-07-12T07:36:37Z" level=warning msg="Error loading load balancer method '<nil>' for backend 2048.example.com: Invalid method, using default. Using default wrr."
time="2016-07-12T07:36:37Z" level=debug msg="Configuration received from provider kubernetes: {\"backends\":{\"2048.example.com\":{\"servers\":{\"http://192.168.0.147:80\":{\"url\":\"http://192.168.0.147:80\",\"weight\":1},\"http://192.168.0.88:80\":{\"url\":\"http://192.168.0.88:80\",\"weight\":1},\"http://192.168.249.139:80\":{\"url\":\"http://192.168.249.139:80\",\"weight\":1}},\"loadBalancer\":{\"method\":\"wrr\"}}},\"frontends\":{\"2048.example.com\":{\"entryPoints\":[\"http\",\"https\"],\"backend\":\"2048.example.com\",\"routes\":{\"2048.example.com\":{\"rule\":\"Host:2048.example.com\"}},\"passHostHeader\":true,\"priority\":0}}}"
time="2016-07-12T07:36:37Z" level=debug msg="Creating frontend 2048.example.com"
time="2016-07-12T07:36:37Z" level=debug msg="Wiring frontend 2048.example.com to entryPoint http"
time="2016-07-12T07:36:37Z" level=debug msg="Creating route 2048.example.com Host:2048.example.com"
time="2016-07-12T07:36:37Z" level=error msg="Error loading entrypoint configuration for frontend 2048.example.com: Unknown entrypoint https\""
time="2016-07-12T07:36:37Z" level=error msg="Skipping frontend 2048.example.com..."The issue is related to params passed with quotes, so if I removed the quotes around entryPoints parameters, traefik works as expected. So it would be good to have a sanity check on passed params during traefik starting process.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/provider/k8s/ingresskind/enhancementa new or improved feature.a new or improved feature.priority/P3maybemaybestatus/5-frozen-due-to-age