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

add disk setting into suggestionConfiguration #989

Merged
merged 3 commits into from
Dec 30, 2019
Merged

add disk setting into suggestionConfiguration #989

merged 3 commits into from
Dec 30, 2019

Conversation

sperlingxx
Copy link
Member

@sperlingxx sperlingxx commented Dec 30, 2019

The aim of this PR is appending the setting of disk(EphemeralStorage) into configuration of suggestion service.


This change is Reviewable

@k8s-ci-robot
Copy link

Hi @sperlingxx. Thanks for your PR.

I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@sperlingxx sperlingxx changed the title add setting of disk(EphemeralStorage) into suggestionConfiguration add disk setting into suggestionConfiguration Dec 30, 2019
Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

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

/lgtm
/ok-to-test

@gaocegege
Copy link
Member

gaocegege commented Dec 30, 2019

@sperlingxx
Thanks for your contribution! 🎉 👍

Do you meet any problem with the disk when you use katib? Did these suggestions consume much disk space?

It should not happen by design. The suggestions are designed to be stateless, and they should not use disks.

if !cpuLimit.IsZero() {
suggestionConfigData[consts.LabelSuggestionCPULimitTag] = cpuLimit.String()
}
if !memLimit.IsZero() {
suggestionConfigData[consts.LabelSuggestionMemLimitTag] = memLimit.String()
}
if !diskLimit.IsZero() {
suggestionConfigData[consts.LabelSuggestionDiskRequestTag] = diskLimit.String()
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
suggestionConfigData[consts.LabelSuggestionDiskRequestTag] = diskLimit.String()
suggestionConfigData[consts.LabelSuggestionDiskLimitTag] = diskLimit.String()

@sperlingxx
Copy link
Member Author

@sperlingxx
Thanks for your contribution! 🎉 👍

Do you meet any problem with the disk when you use katib? Did these suggestions consume much disk space?

Thanks for so quick reviewing. I add this setting for two concerns:

  • I want to minimize the cost of disk when I debug Katib with local machine(Minikube).
  • All resource limits/requests must be explicitly defined for creating pods on customized k8s cluster of Ant Finanical.

@gaocegege
Copy link
Member

SGTM. Thanks.

#989 (comment) One typo-fix suggestion here.

Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gaocegege

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

@gaocegege
Copy link
Member

/retest

@k8s-ci-robot k8s-ci-robot merged commit 173edd8 into kubeflow:master Dec 30, 2019
@gaocegege
Copy link
Member

Thanks for your contribution! 🎉 👍

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.

3 participants