### _Why are the changes needed?_ Close #4623 To reduce the pressure on the Api Server (which use the kubernetes client polls with label to find the `spark driver pod` when multiple Rest Application are running at the same time), use informer, the kubernetes-recommended method of maintaining the application state. ### _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.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request - [x] Run CI Closes #4625 from zwangsheng/KYUUBI_4623. Closes #4623 a415bef7f [Cheng Pan] nit 136d0db4d [Cheng Pan] 171 b5d3c237a [Cheng Pan] re-generate conf bf14ad870 [Cheng Pan] nit 9ee7e04f9 [Cheng Pan] nit 301162ea0 [Cheng Pan] nit 1d426922b [Cheng Pan] nit b95d7a650 [Cheng Pan] improve cc8d2c7f4 [zwangsheng] fix comments d017bafdf [zwangsheng] Set resycn 0 28f9a70d9 [zwangsheng] Reorder func & slow get app info 22d9c1662 [zwangsheng] fix setting 8e0940334 [zwangsheng] fix comments 10965d3df [zwangsheng] Rename fileter function => isSparkEnginePod b02677154 [zwangsheng] rename 78c9fdb17 [zwangsheng] fix comments 6d31f70d1 [zwangsheng] Fix IT Test f43bba2b9 [zwangsheng] fix 17e4f55eb [zwangsheng] debug be8da790e [zwangsheng] debug 0db45a513 [zwangsheng] retest a93786abc [zwangsheng] Fix style 652ee837e [zwangsheng] Add Setting & Debug 4add7e4e2 [zwangsheng] improve 1f4341237 [zwangsheng] remove unused import 35acd6106 [zwangsheng] fix compile 05dfc598e [zwangsheng] [KYUUBI #4623][Improvement][K8S] Remove cached app info when out of time 4ab530e99 [zwangsheng] [KYUUBI #4623][Improvement][K8S] kubernetesApplicationOperation Using Informer instead of list Lead-authored-by: zwangsheng <2213335496@qq.com> Co-authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org> |
||
|---|---|---|
| .. | ||
| src/test | ||
| pom.xml | ||