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

enhancement: use placeholder for node name in device plugin ConfigMap template #873

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nimbus318
Copy link
Contributor

What type of PR is this?
/kind enhancement

What this PR does / why we need it:
Several users have reported issues where the device plugin configuration doesn't take effect because they didn't modify the default node name in the ConfigMap. This PR replaces the specific node name with a placeholder to make it more obvious that users need to replace it with their actual node name.

Changes:

  • Changed the default node name from m5-cloudinfra-online02 to <your-node-name> in the device plugin ConfigMap template to better indicate that this value needs to be replaced

Which issue(s) this PR fixes:
Fixes #811

Special notes for your reviewer:

Does this PR introduce a user-facing change?:
Yes. Users will see a more intuitive placeholder in the ConfigMap template that clearly indicates they need to replace it with their actual node name.

Change the default node name in ConfigMap from a specific name to a
placeholder to make it clearer that users need to replace it with
their actual node name.

Signed-off-by: Nimbus318 <[email protected]>

Choose a reason for hiding this comment

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

PR Overview

This PR enhances the device plugin ConfigMap template by replacing the hard-coded node name with a clear placeholder, making it evident to users that they must substitute it with their actual node name.

  • Replaces "m5-cloudinfra-online02" with "" in the ConfigMap template

Reviewed Changes

File Description
charts/hami/templates/device-plugin/configmap.yaml Updated the node name to a placeholder indicating that users need to supply the actual node name.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

charts/hami/templates/device-plugin/configmap.yaml:13

  • [nitpick] Consider adding an inline comment to clarify that '' is a placeholder and must be replaced with the actual node name before deployment.
                "name": "<your-node-name>",
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.

deviceSplitCount not honored
1 participant