Load Balancer gives me "400 Bad Request"
I'm trying to combine traefic with the Linode Node Balancer on Linode's managed Kubernetes. But I get "400 Bad Request" on all ports.
laurens@LauBook ingress % kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.128.0.1 <none> 443/TCP 43d
traefik LoadBalancer 10.128.171.197 188.8.131.52 80:32303/TCP,8080:32635/TCP,443:30587/TCP 12h
whoami ClusterIP 10.128.131.196 <none> 80/TCP 12h </none></none>
400 Bad Request%
On the Node Balancer, I see: Backend Status: 3 up, 0 down.
When I redirect 8080 to my local machine, I see no errors in the Traefic dashboard. It also registered the TXT record in the Linode DNS.
Do I need to open a port somewhere?
Configuration files: https://gist.github.com/LaurensVanAcker/d003de3997763dd754e8e33eeed1d351
This may indicate the need to configure Traefik to listen on ports within the LKE service port range. As indicated in this section of our LKE cluster management guide, this port range is 30000-32767.
Alternatively, you may be able to specify a value for the
targetPort key under your LKE LoadBalancer spec. Following this example from our Documentation, you will specify this under the
ports: section of the spec. This may also help you avoid the need to define an overly broad number of listening ports or allowed ports on your firewall.
I hope you find this information helpful! We hope that it resolves this issue for you, but please feel free to let us know if you have any other questions.