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

feat: expose vGPU resource names as arguments #3926

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cgapu
Copy link

@cgapu cgapu commented Dec 25, 2024

this allows users to customize vGPU resources (vgpu-number, vgpu-memory, vgpu-cores) via startup arguments

@volcano-sh-bot
Copy link
Contributor

Welcome @cgapu!

It looks like this is your first PR to volcano-sh/volcano.

Thank you, and welcome to Volcano. 😃

@volcano-sh-bot volcano-sh-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 25, 2024
@cgapu
Copy link
Author

cgapu commented Dec 25, 2024

/assign @lowang-bh

@cgapu
Copy link
Author

cgapu commented Dec 25, 2024

Related issue

this allows users to customize vGPU resources (vgpu-number, vgpu-memory, vgpu-cores) via startup arguments

Signed-off-by: cg <[email protected]>
@cgapu cgapu force-pushed the vgpu-customize-resource-name branch from 59ef87b to ad1a027 Compare December 25, 2024 08:14
@archlitchi
Copy link
Contributor

/lgtm

@volcano-sh-bot volcano-sh-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 27, 2024
@lowang-bh
Copy link
Member

/ok-to-test

@volcano-sh-bot volcano-sh-bot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Dec 28, 2024
@lowang-bh
Copy link
Member

image

we‘d better remove the kubeconf file dependencs. It occurs sevral times. cc @archlitchi @Monokaix
relative issue at #3473

@@ -19,6 +19,10 @@ package vgpu
var VGPUEnable bool
var NodeLockEnable bool

var VGPUNumber string
Copy link
Member

Choose a reason for hiding this comment

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

Can we make them as a local var?

Copy link
Author

Choose a reason for hiding this comment

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

These variables are used in many places, and it would be difficult to change them to local variables. If we were to make the change, it would require a lot of modifications. Do you have any suggestions?

@Monokaix
Copy link
Member

Monokaix commented Jan 2, 2025

Pleae also update the doc to let users know the feature.

@Monokaix
Copy link
Member

Monokaix commented Jan 2, 2025

/kind feature
/area scheduling

@volcano-sh-bot volcano-sh-bot added kind/feature Categorizes issue or PR as related to a new feature. area/scheduling labels Jan 2, 2025
this add parameters documentation for the GPU plugin to facilitate user usage

Signed-off-by: cg <[email protected]>
@volcano-sh-bot volcano-sh-bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 3, 2025
@volcano-sh-bot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@volcano-sh-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign lowang-bh
You can assign the PR to them by writing /assign @lowang-bh in a comment when ready.

The full list of commands accepted by this bot can be found 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

@cgapu
Copy link
Author

cgapu commented Jan 3, 2025

Pleae also update the doc to let users know the feature.

updated the doc

@cgapu
Copy link
Author

cgapu commented Jan 3, 2025

/assign @lowang-bh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/scheduling kind/feature Categorizes issue or PR as related to a new feature. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants