-
Notifications
You must be signed in to change notification settings - Fork 355
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
Cannot connect to datastore with network isolation #1428
Comments
hi @alpharde , thanks for creating this issue. To me it seems that So in context of vcluster APIServer there will outgoing connections from vcluster control plane to this IP. So my guess is as of now, isolated mode and external datastore aren't supposed to work in conjunction |
What happened?
The vcluster pod cannot connect to external databases while network isolation is enabled.
What did you expect to happen?
vcluster being able to reach the external server.
How can we reproduce it (as minimally and precisely as possible)?
Create vcluster with
Anything else we need to know?
vcluster log:
2023-12-26 19:39:50 INFO loghelper/klog.go:24 starting kubernetes: preparing server: creating storage endpoint: building kine: dial tcp 10.0.4.139:3306: connect: connection refused {"component": "vcluster", "component": "k3s", "time": "2023-12-26T19:39:50Z", "level": "fatal"}
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: