alibaba / open-local

cloud-native local storage management system for stateful workload, low-latency with simplicity
Apache License 2.0
464 stars 81 forks source link

Worker nodes behind NAT, unable to access lvmd 1736 port #228

Closed rafi closed 1 year ago

rafi commented 1 year ago

My worker nodes are on the "edge", behind a NAT, and unreachable. However, my kube-apiserver is in the cloud, and has a public ip. The issue is communication to the lvmd port:

CLOUD (control-plane)       |        EDGE (workers)
-------                     |        -----------
                            |
 controller(csi-plugin) ----X----->  :1736
                            |
                            |

By the way, I'm also using apiserver-network-proxy (konnectivity) - is there a way to route the lvmd requests through kube-apiserver?

Is there any different solution maybe?

This is my current setup:

CLOUD:

EDGE:

Thanks!

peter-wangxu commented 1 year ago

This issue partally addressed by https://github.com/alibaba/open-local/pull/207 in version v0.7.1 which edge solution are you using?

rafi commented 1 year ago

Is it possible to integrate konnectivity-client into open-local GRPC client?

peter-wangxu commented 1 year ago

Is it possible to integrate konnectivity-client into open-local GRPC client?

I am happy to see that happens,do you have anymore information?

rafi commented 1 year ago

Thanks for the offer, I successfully patched the grpc connection to use a different Dial that proxies the request with konnectivity-client. Would you be interested in such PR?

peter-wangxu commented 1 year ago

Sure, please go ahead

rafi commented 1 year ago

@peter-wangxu https://github.com/alibaba/open-local/pull/229