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 "prefix" option to GPU plugin for scalability testing #1114

Merged
merged 1 commit into from
Aug 26, 2022

Conversation

eero-t
Copy link
Contributor

@eero-t eero-t commented Aug 24, 2022

GPU plugin code assumes container paths to match host paths, and container runtime prevents creating fake files under real paths. When non-standard paths are used, devices can be faked for scalability testing.

The whole picture and review comments are in the RFC PR #1104, from which this is split off.

GPU plugin code assumes container paths to match host paths, and
container runtime prevents creating fake files under real paths. When
non-standard paths are used, devices can be faked for scalability
testing.

Note: If one wants to run both normal GPU plugin and faked one in same
cluster, all nodes providing fake "i915" resources should be labeled
differently from ones with real GPU plugin + devices, so that real GPU
workloads can be limited to correct nodes with a suitable
nodeSelector.

Signed-off-by: Eero Tamminen <eero.t.tamminen@intel.com>
Copy link
Contributor

@tkatila tkatila left a comment

Choose a reason for hiding this comment

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

lgtm

@eero-t
Copy link
Contributor Author

eero-t commented Aug 26, 2022

Is there something that needs to be done, or is this fine to be merged as-is?

Having this small change merged would be very helpful in testing the larger WIP scalability testing support PRs.

@bart0sh bart0sh merged commit 02446fc into intel:main Aug 26, 2022
@eero-t eero-t deleted the prefix-option branch October 11, 2022 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants