kyuubi/integration-tests
Cheng Pan 2cb34c4d00
[KYUUBI #3597] Engine should prefer ip for registering on K8s cluster mode
### _Why are the changes needed?_

When Kyuubi runs outside of K8s, and w/o enhanced DNS infrastructure, Kyuubi can not access the Pod by using the hostname of Pod, it blocks the user to run Spark on K8s w/ cluster mode out-of-box.

Kyuubi provided a configuration `kyuubi.frontend.connection.url.use.hostname`, turn it off could address this issue, but we can not change the default value globally because of https://github.com/apache/incubator-kyuubi/issues/2266

To improve user experience, we can detect if the Driver is running inside the Pod, and if yes,
change `kyuubi.frontend.connection.url.use.hostname` default value to `false`.

Close #3578

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #3597 from pan3793/k8s.

Closes #3597

8b411781 [Cheng Pan] doc
0df15e79 [Cheng Pan] Engine should prefer to use ip for registing on K8s cluster mode

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2022-10-10 12:04:41 +08:00
..
kyuubi-flink-it [KYUUBI #3560] Flink SQL engine supports run DDL across versions 2022-09-27 15:28:37 +08:00
kyuubi-hive-it [KYUUBI #3122] GetInfo supports return server/engine info 2022-09-08 02:14:38 +00:00
kyuubi-jdbc-it [KYUUBI #3298] Unify the approach of get classLoader in Kyuubi 2022-08-23 13:50:10 +08:00
kyuubi-kubernetes-it [KYUUBI #3597] Engine should prefer ip for registering on K8s cluster mode 2022-10-10 12:04:41 +08:00
kyuubi-trino-it [KYUUBI #3264] [RELEASE] Bump 1.7.0-SNAPSHOT 2022-08-18 11:23:54 +08:00
kyuubi-zookeeper-it [KYUUBI #2040] [TEST] Add Zookeeper 3.4/3.5/3.6/3.7 integration test 2022-09-13 09:32:16 +08:00
pom.xml [KYUUBI #2040] [TEST] Add Zookeeper 3.4/3.5/3.6/3.7 integration test 2022-09-13 09:32:16 +08:00