Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KYUUBI #5654] Introduce new config to forcibly rewrite pod name #5672

Closed
wants to merge 1 commit into from

Conversation

zhaohehuhu
Copy link
Contributor

@zhaohehuhu zhaohehuhu commented Nov 11, 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 locally before make a pull request

Was this patch authored or co-authored using generative AI tooling?

No.

@zhaohehuhu zhaohehuhu changed the title Introduce new config to force rewrite pod name Introduce new config to force forcibly rewrite pod name Nov 11, 2023
@zhaohehuhu zhaohehuhu changed the title Introduce new config to force forcibly rewrite pod name Introduce new config to forcibly rewrite pod name Nov 11, 2023
@zhaohehuhu
Copy link
Contributor Author

plz help review it @zwangsheng

@codecov-commenter
Copy link

codecov-commenter commented Nov 11, 2023

Codecov Report

Merging #5672 (6a450e4) into master (f23b6de) will increase coverage by 0.12%.
Report is 20 commits behind head on master.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #5672      +/-   ##
============================================
+ Coverage     61.36%   61.48%   +0.12%     
  Complexity       23       23              
============================================
  Files           603      603              
  Lines         35635    35664      +29     
  Branches       4874     4876       +2     
============================================
+ Hits          21867    21928      +61     
+ Misses        11387    11362      -25     
+ Partials       2381     2374       -7     
Files Coverage Δ
...in/scala/org/apache/kyuubi/config/KyuubiConf.scala 97.27% <100.00%> (+0.01%) ⬆️
...ache/kyuubi/engine/spark/SparkProcessBuilder.scala 82.66% <100.00%> (+1.23%) ⬆️
...scala/org/apache/kyuubi/util/KubernetesUtils.scala 21.42% <100.00%> (ø)

... and 31 files with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

Copy link
Contributor

@zwangsheng zwangsheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pan3793 pan3793 added this to the v1.8.1 milestone Nov 13, 2023
@pan3793 pan3793 changed the title Introduce new config to forcibly rewrite pod name [KYUUBI #5654] Introduce new config to forcibly rewrite pod name Nov 13, 2023
@pan3793 pan3793 closed this in 0ce697e Nov 13, 2023
pan3793 pushed a commit that referenced this pull request Nov 13, 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 #5654

6a450e4 [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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TASK][EASY] Introduce new config to force rewrite pod name
4 participants