Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

traefik can not route request to cluster ip inside K3S #2

Open
iWangJiaxiang opened this issue Dec 17, 2020 · 0 comments
Open

traefik can not route request to cluster ip inside K3S #2

iWangJiaxiang opened this issue Dec 17, 2020 · 0 comments

Comments

@iWangJiaxiang
Copy link

Hi, thank you for such a useful tutorial!

I followed your article to setup my dedicated traefik gateway for home lab usage. However, when testing the whoami service, the traefik returned Gateway Timeout error.

The reason is my traefik server fetched the cluster ip 10.0.0.x of whoami service and used it as route destination. But the traefik server 192.168.x.x apparently can NOT access K3S virtual cluster network. So the request to whoami got Gateway Timeout error.

Is there any way to access k3s cluster network?
Am I missing any thing or misunderstanding your architecture?
I'd appreciate it if you could give me more hints or details. 😄

My environment is:

  • VM1 : Running traefik server
  • VM2 : Running k3s without traefik deployed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant