abhinav-phi commented on PR #7846: URL: https://github.com/apache/kyuubi/pull/7846#issuecomment-6925429868
pushed a commit addressing the 3 comments. 1. **driver namespace and ServiceAccount** (line 121): the guide now states that the driver pod is created in the namespace given by `spark.kubernetes.namespace`, or, when the submission does not set it, in the namespace the server uses for engine pods, `kyuubi.kubernetes.namespace`, which defaults to `default` — and that it runs under the ServiceAccount named by `spark.kubernetes.authenticate.driver.serviceAccountName`. It links to the ServiceAccount section of the engine deployment guide. This is the `conf.get(KUBERNETES_NAMESPACE_KEY).orElse(kubernetesNamespace()).getOrElse(default)` fallback in `SparkProcessBuilder`, so the `default` namespace in the first query of your cluster is the server-side default and not something Spark picked. 2. **NodePort connection** (line 128): the example now also shows `jdbc:kyuubi://<node-ip>:<nodePort>/default` for clients outside the cluster, and says the node port is the one Kubernetes allocated for the service port `10009`. 3. **registration prefix** (line 99): the note now says that the engine registration prefix is derived from `kyuubi.ha.namespace` as `<namespace>_<kyuubi version>_<share level>_<engine type>`, followed by the routing user and the engine subdomain, with your `/kyuubi_1.13.0-SNAPSHOT_USER_SPARK_SQL/<user>/default` as the example. That is the `commonParent` in `EngineRef.engineSpace`. thanks for testing it in a real cluster — the namespace fallback was the part I had wrong. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
