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

This adds mechanism to get gpu type based on the kubernetes node name #80

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

naved001
Copy link
Collaborator

@naved001 naved001 commented Oct 8, 2024

We now read from a file to get a static mapping of nodes and the GPU model on those nodes. This is used only when the labels on the nodes are missing.

@naved001 naved001 requested review from knikolla and QuanMPhm October 8, 2024 15:08
Copy link
Collaborator

@QuanMPhm QuanMPhm left a comment

Choose a reason for hiding this comment

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

Some suggestions

openshift_metrics/metrics_processor.py Outdated Show resolved Hide resolved
@naved001
Copy link
Collaborator Author

naved001 commented Oct 8, 2024

@QuanMPhm Thank you for the review, I have updated the PR.

@QuanMPhm QuanMPhm self-requested a review October 10, 2024 13:28
We now read from a file to get a static mapping of nodes and the GPU model
on those nodes. This is used only when the labels on the nodes are missing.
@naved001 naved001 force-pushed the feature/gpu-type-from-file branch from e580008 to 19fa765 Compare October 16, 2024 15:13
When the node to gpu map file isn't loaded then log a warning
@naved001 naved001 force-pushed the feature/gpu-type-from-file branch from 4da8d8d to 846c93d Compare October 16, 2024 15:31
@naved001 naved001 merged commit e1d551c into CCI-MOC:main Oct 16, 2024
2 checks passed
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.

3 participants