### _Why are the changes needed?_ Current kyuubi build kubernetes client for `KyuubiApplicationOperator` to find or kill spark engine on kubernetes. This pr aims to extract the code for building kubernetes client into `KubernetesUtils` and to do auto build following the logic in Spark. We prefer to building with user-configured parameters; When missing, the kubernetes client logic will build one from environment variables and kubeconfig. ### _How was this patch tested?_ - [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3663 from zwangsheng/feature/perfer_build_from_pod_env. Closes #3663 0a4c8c79 [zwangsheng] clear properties ce408db0 [zwangsheng] fix test fb28ea7a [zwangsheng] add ci test 943c68dd [zwangsheng] add unit test ddc9a2b2 [zwangsheng] fix scala 75380d13 [zwangsheng] comment e6826609 [zwangsheng] master 683cc260 [zwangsheng] context provided master 7b42133c [zwangsheng] add doc b56829c5 [zwangsheng] fix helm 5884475d [zwangsheng] rebuild a7f0b551 [zwangsheng] ad e7f9ec05 [zwangsheng] add setting b77bbd9b [zwangsheng] add doc 3f3253d3 [zwangsheng] init Authored-by: zwangsheng <2213335496@qq.com> Signed-off-by: Cheng Pan <chengpan@apache.org> |
||
|---|---|---|
| .. | ||
| helm | ||
| playground | ||
| Dockerfile | ||
| kyuubi-configmap.yaml | ||
| kyuubi-deployment.yaml | ||
| kyuubi-pod.yaml | ||
| kyuubi-service.yaml | ||