Replies: 8 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Can Nebula engineering team add ability to expose metad/storaged service outside the cluster? |
Beta Was this translation helpful? Give feedback.
-
Even if I make were to follow @MegaByte875 suggestion to expose graphd example here https://github.com/vesoft-inc/nebula-operator/tree/master/config/samples, how can expose meta? Looks like gap in the solution, confirm? We are blocked! Any alternate solution is really appreciated. |
Beta Was this translation helpful? Give feedback.
-
Awesome, thanks looking forward to your message. |
Beta Was this translation helpful? Give feedback.
-
progress
|
Beta Was this translation helpful? Give feedback.
-
Update, after my PR on nebula-java and nebula-spark-c to support specifying exposed storaged addresses being discussed in the review, it turned out this is not easily feasible due to the map of storage-hosts to their address was used when seeking data distribution among storage hosts, thus simply specify list of storage hosts isn't enough, their map should be configurable, too, this design is more complex, thus need further discussion. Thus, I created a PoC to only expose them and use TCP proxy and DNS to make spark-connector connect to nebula with exactly the same addresses as it was inside the nebula cluster namespace: a. create services per metad and storaged pod with LoadBalancer type to expose outside the cluster b. Use TCP Proxy(b.1) or/and DNS(b.2) to resolve the endpoint as their: inside the cluster In this example, in b. I give a demo where both TCP Proxy and DNS are used, actually, only DNS is enough if the exposed port remains the same of src and target. details refer to: https://gist.github.com/wey-gu/699b9a2ef5dff5f0fb5f288d692ddfd5 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@wey-gu thanks for the reply.
|
Beta Was this translation helpful? Give feedback.
-
Nebula: v3.1.0
Spark Connector: 3.0.0
Spark: 3.2.1
Beta Was this translation helpful? Give feedback.
All reactions