"Tunnel Proxy" on k3s

https://k3s.io/images/how-it-works-k3s.svg

I’m new to k3s and I am trying to understand it properly. How does the “Tunnel Proxy” element shown in above picture work in the Kubernetes and its Network Overlay context exactly? Is there any technical explanation on how exactly it works? (I am not familiar with Go.)
Is all the communication between server and agent proxied through a special interface?
Can a k3s Cluster behind a corporate proxy be connected to an outside Rancher instance?

1 Like

I am also new to k3s and trying to understand how proxy tunnel works in the k3s architecture. Any help is appreciated.

1 Like

@Akito @darshandkd Tunnel Proxy is a long connection created by the sever to connect with agent(using web-socket so die die until the agent or the server kill his side end) the server use this to know which node is alive and he sends hid data to kubelet in this channel

Thanks. Is there any documentation on this? Where did you get this information from?

really i don’t remember i just read everything on front of me

Thanks for bringing this up. I had the same question and the answers here saved me quite a bit of troubleshooting time.