Skip to content

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 <136771156+Nimbus318@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

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>",

@lengrongfu
Copy link
Member

lengrongfu commented Mar 25, 2025

#493
I wanted to optimize this before.. my idea is to delete this useless configuration directly.

@FouoF
Copy link
Contributor

FouoF commented Dec 3, 2025

/lgtm
cc @archlitchi

@hami-robot hami-robot bot added the lgtm label Dec 3, 2025
@wawa0210
Copy link
Member

wawa0210 commented Dec 3, 2025

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


/lgtm
cc @archlitchi

@FouoF
Copy link
Contributor

FouoF commented Dec 18, 2025

Conflict can't resolve base current master, so close it.

@FouoF FouoF closed this Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deviceSplitCount not honored

4 participants