-
Kyuubi's doc HA contains this information: So each new connection from one user will be randomly redirected to available Kyuubi service and new session will be created? Also we have connections issue in HA mode on Kubernetes. Zookeeeper contains pods' internal IP so clieant can't reach Kyuubi. Could you please explaine how correctly setup Kyuubi on Kubernetes in HA mode? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Yes.
Maybe #5015 can answer your question. Further, you are not enforced to use ZK for Kyuubi Server HA, Ingress/LoadBalance are fine too. (Note that, ZK is still required for engine discovery, in this case, it's only used for Kyuubi internally, assume your Kyuubi server and Spark runs on the same K8s cluster, should not have network reachable issues.) |
Beta Was this translation helpful? Give feedback.
-
In this case, share level USER is "half" working? Since you have to be on the same machine to share the engine and zookeeper not necesarily will redirect you to the same server. Meaning - having 3 servers and 3 connects with share level user can result in 3 separate engines, right? |
Beta Was this translation helpful? Give feedback.
Kyuubi supports all modes that Spark supported. including local, client, cluster.
No. Zookeeper is not only used for Server register, but also engine register, the key point here is the routing/communication mechanism between Kyuubi Server and Kyuubi Engine(Spark Driver)