-
Notifications
You must be signed in to change notification settings - Fork 461
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
Unable to connect to the server / Client.Timeout inside vcluster #887
Comments
Hey @jwedel, thanks for creating this issue! This usually means the loadbalancer is not working correctly, does it work when you use port-forwarding through the Kubernetes api server instead? |
@FabianKramm I think I found the issue. The server url configured in kube config when being inside the vcluster is not reachable from inside our VPN. I am currently trying to get this solved. I will come back it is actually fixed. |
Heyaa, @jwedel 👋 Have you managed to get past the VPN and have the server reachable? Thanks! |
Hi, that’s very kind! Unfortunately not. I’ve created a ticket with our corporate IT. They told me that are currently working on it. I have no idea how long this will take. 😤 |
Hey @alexandradragodan , our it support is still "working" on the problem, they have found some potentially related issues:
I know, they don't have anything to do with vcluster BUT they use the same VPN client (Cisco) and the get the same error on kubectl. Their scenario is using kubectl -> k3s (locally). They solved it by changing the configuration of k3s to add a port forwarding to somehow circumvent the VPN client. My question would be: Is there a way to do the same for vcluster as we are not allowed to change anything in the VPN client config. |
Hello @jwedel You can also try creating the vcluster with a different config. Seems like you are exposing it via LoadBalancer, the alternatives are documented here + another alternative is to ignore all the options in that doc and then vcluster connect will use Kubernetes port-forwarding feature to connect. To help more with this we would need to see the command that you use to create the vcluster and any helm values that are supplied. |
I will close this issue because of the inactivity. We can reopen it if the problem persists and additional information is provided. |
What happened?
Hi,
I am experiencing timeouts with kubectl commands when bing inside a vcluster:
The get namespace command takes a long time to return with this error message. Also other kubectl commands fail in the same way.
Outside of the vcluster, kubectl works as expected.
What did you expect to happen?
kubectl should work also inside the vcluster and e.g. return the namespaces or pods.
How can we reproduce it (as minimally and precisely as possible)?
No idea how to reproduce it. :(
Anything else we need to know?
I'm running on a company mac with local http proxy that forwards to an authenticated proxy. Proxy env vars are set in shell.
Host cluster Kubernetes version
Host cluster Kubernetes distribution
vlcuster version
Vcluster Kubernetes distribution(k3s(default)), k8s, k0s)
OS and Arch
The text was updated successfully, but these errors were encountered: