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

[prometheus-node-exporter] Add sidecarHostVolumeMounts #2441

Merged
merged 2 commits into from
Sep 12, 2022
Merged

[prometheus-node-exporter] Add sidecarHostVolumeMounts #2441

merged 2 commits into from
Sep 12, 2022

Conversation

huangkevin404
Copy link
Contributor

Signed-off-by: Kevin Huang git@kevin.huang.to

What this PR does / why we need it

To export the disk's SMART status using a sidecar attached to node-exporter, we would like to mount the /dev from the node to the sidecar in read-only.

To do so, we add a sidecarHostVolumeMounts value, that works similarly to extraHostVolumeMounts.

Checklist

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

Signed-off-by: Kevin Huang <git@kevin.huang.to>
Co-authored-by: MH <zanhsieh@gmail.com>
Signed-off-by: Kevin Huang <git@kevin.huang.to>
@zanhsieh zanhsieh merged commit e52a1f6 into prometheus-community:main Sep 12, 2022
Matiasmct pushed a commit to giffgaff/prometheus-charts that referenced this pull request May 16, 2023
…mmunity#2441)

* feat(prometheus-node-exporter): Add sidecarHostVolumeMounts

Signed-off-by: Kevin Huang <git@kevin.huang.to>

* Update charts/prometheus-node-exporter/templates/daemonset.yaml

Co-authored-by: MH <zanhsieh@gmail.com>
Signed-off-by: Kevin Huang <git@kevin.huang.to>

Signed-off-by: Kevin Huang <git@kevin.huang.to>
Co-authored-by: MH <zanhsieh@gmail.com>
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.

None yet

2 participants