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

[kube-prometheus-stack] Add node-exporter attachMetadata configuration #5038

Merged

Conversation

daviderli614
Copy link
Contributor

@daviderli614 daviderli614 commented Dec 4, 2024

What this PR does / why we need it

Declare the attachMetadata configuration in the values.yaml of kube-prometheus-stack, so that do not have to look for it in node-exporter helm-chart.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes for your reviewer

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

@GMartinez-Sisti
Copy link
Member

Hi @daviderli614, please take a look at the checklist in the PR description. You're missing the chart bump.

@daviderli614
Copy link
Contributor Author

daviderli614 commented Dec 4, 2024

Thank you for your review. I changed the version from 66.3.0 to 66.3.1.
@GMartinez-Sisti

@daviderli614 daviderli614 force-pushed the chore/config-attachMetadata branch from 3edba90 to f45a449 Compare December 4, 2024 11:10
Copy link
Member

@jkroepke jkroepke left a comment

Choose a reason for hiding this comment

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

I don't get the reason for that change.

We depend on node-export chart. If there changes on that are already done, we also benefit from it. We should not redeclare a default value.

I guess the root cause is that kube-prometheus-stack is not used the lastest version of that chart.

@daviderli614
Copy link
Contributor Author

Oh, I found that I need to look for this field in the node-exporter helm chart. Showing the definition here helps the user configure it. We can close this pr, Thanks.

@jkroepke
Copy link
Member

jkroepke commented Dec 4, 2024

@daviderli614 that makes sense to me, but than add the value as a comment. like the lines before.

@daviderli614 daviderli614 force-pushed the chore/config-attachMetadata branch from 3d4c1e0 to 399424b Compare December 4, 2024 13:46
@daviderli614
Copy link
Contributor Author

daviderli614 commented Dec 4, 2024

@daviderli614 that makes sense to me, but than add the value as a comment. like the lines before.
@jkroepke

Made some changes, please review again, thank you.

@jkroepke jkroepke merged commit de8665b into prometheus-community:main Dec 4, 2024
4 checks passed
@daviderli614 daviderli614 deleted the chore/config-attachMetadata branch December 5, 2024 02:24
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