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

Set the default value of CleanPodPolicy to None #1754

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

Syulin7
Copy link
Contributor

@Syulin7 Syulin7 commented Feb 9, 2023

What this PR does / why we need it:
Set the default value of CleanPodPolicy to None.

Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #1753

Checklist:

  • Docs included if any changes are user facing

@coveralls
Copy link

coveralls commented Feb 9, 2023

Pull Request Test Coverage Report for Build 4131438052

  • 9 of 9 (100.0%) changed or added relevant lines in 4 files are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.2%) to 39.457%

Files with Coverage Reduction New Missed Lines %
pkg/controller.v1/mpi/mpijob_controller.go 4 76.79%
Totals Coverage Status
Change from base Build 4122851755: -0.2%
Covered Lines: 2732
Relevant Lines: 6924

💛 - Coveralls

@Syulin7 Syulin7 force-pushed the fix_cleanpodpolicy branch 2 times, most recently from 8dd210f to af9209a Compare February 9, 2023 04:20
Comment on lines 63 to 64
c := cleanPodPolicy
return &c
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
c := cleanPodPolicy
return &c
return &cleanPodPolicy

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Signed-off-by: Syulin7 <735122171@qq.com>
@Syulin7 Syulin7 force-pushed the fix_cleanpodpolicy branch from af9209a to 4398c32 Compare February 9, 2023 06:01
Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

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

Great!
/lgtm

/assign @johnugeorge

@johnugeorge
Copy link
Member

/approve

Thanks @Syulin7

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johnugeorge, Syulin7

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 728b6d7 into kubeflow:master Feb 9, 2023
google-oss-prow bot pushed a commit that referenced this pull request Feb 13, 2023
* Add validation for verifying that the CustomJob (e.g., TFJob) name meets DNS1035 (#1748)

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Fix the success condition of the job in PyTorchJob's Elastic mode. (#1752)

Signed-off-by: Syulin7 <735122171@qq.com>

* Set the default value of CleanPodPolicy to None (#1754)

Signed-off-by: Syulin7 <735122171@qq.com>

* Update mpijob_controller.go (#1755)

fix typo TFJob, should be MPIJob

---------

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Signed-off-by: Syulin7 <735122171@qq.com>
Co-authored-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Co-authored-by: yu lin <37265556+Syulin7@users.noreply.github.com>
Co-authored-by: Yasser Shalabi <yassershalabi@gmail.com>
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.

The default value for CleanPodPolicy is inconsistent.
4 participants