You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched in the task list and found no similar tasks.
Mentor
I have sufficient expertise on this task, and I volunteer to be a mentor of this task to guide contributors through the task.
Skill requirements
Scala
Kyuubi Config Specification
Background and Goals
Now, Kyuubi respects Spark's behavior to generate the Driver Pod name and Executor Pod name prefix, it works well for standard workloads run on standard K8s. But if some third-party components use the pod name for other purposes, issues may occur on some edge cases, e.g. the very long but legal pod name.
Implementation steps
Add new boolean configs named kyuubi.kubernetes.spark.forciblyRewriteDriverPodName.enabled and kyuubi.kubernetes.spark.forciblyRewriteExecutorPodNamePrefix.enabled.
check this new config in SparkEngine file, to help force rewrite non reach MAX_LENGTH executor pod name prefix.
pan3793
changed the title
[TASK][EASY] Introduce new config to force rewrite executor pod name prefix
[TASK][EASY] Introduce new config to force rewrite pod name
Nov 9, 2023
### _Why are the changes needed?_
close#5654
This pr is to introduce a config for rewriting pod name, which can help users forcibly rewrite driver or executor pod name prefix.
### _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/contributing/code/testing.html#running-tests) locally before make a pull request
### _Was this patch authored or co-authored using generative AI tooling?_
No.
Closes#5672 from zhaohehuhu/dev-1111.
Closes#56546a450e4 [hezhao2] introduce new config to force rewrite pod name
Authored-by: hezhao2 <hezhao2@cisco.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
(cherry picked from commit 0ce697e)
Signed-off-by: Cheng Pan <chengpan@apache.org>
What's the level of this task?
EASY
Code of Conduct
Search before creating
Mentor
Skill requirements
Background and Goals
Now, Kyuubi respects Spark's behavior to generate the Driver Pod name and Executor Pod name prefix, it works well for standard workloads run on standard K8s. But if some third-party components use the pod name for other purposes, issues may occur on some edge cases, e.g. the very long but legal pod name.
Implementation steps
kyuubi.kubernetes.spark.forciblyRewriteDriverPodName.enabled
andkyuubi.kubernetes.spark.forciblyRewriteExecutorPodNamePrefix.enabled
.SparkEngine
file, to help force rewrite non reach MAX_LENGTH executor pod name prefix.Additional context
Introduction of 2023 Kyuubi Code Contribution Program
The text was updated successfully, but these errors were encountered: