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] make path.rootfs conditional #737

Merged

Conversation

radhus
Copy link
Contributor

@radhus radhus commented Mar 7, 2021

What this PR does / why we need it:

Makes it configurable if node-exporter daemonset should mount / from host or not. Default to true to keep existing default behavior.

As seen in issue #467, it is not always possible to mount / from host in all environments.

Which issue this PR fixes

Special notes for your reviewer:

For fast feedback, please @-mention maintainers that are listed in the Chart.yaml file.
@gianrubio , @zanhsieh , @Xtigyro , @monotek , @naseemkullah

Checklist

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

Not always possible to mount / from host, see issue prometheus-community#467

Signed-off-by: William Johansson <[email protected]>
@radhus radhus force-pushed the node-exporter-rootfs-condition branch from 45e7a3c to c1dbc3a Compare March 7, 2021 16:17
@radhus radhus changed the title [prometheus] make path.rootfs condition [prometheus] make path.rootfs conditional Mar 7, 2021
@@ -1,6 +1,6 @@
apiVersion: v2
name: prometheus
version: 13.4.0
version: 13.4.1
Copy link
Member

Choose a reason for hiding this comment

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

New feature should raise minor version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed, bumped to 13.5.0

Signed-off-by: William Johansson <[email protected]>
Copy link
Member

@monotek monotek left a comment

Choose a reason for hiding this comment

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

Version needs to be 13.6.0

Signed-off-by: William Johansson <[email protected]>
@radhus
Copy link
Contributor Author

radhus commented Mar 8, 2021

@monotek bumped it, I'd usually like to rebase the PR but the template says

When updates to your PR are requested, please add new commits and do not squash the history.

Let me know if I shall proceed and do that or if it can be merged anyway.

monotek
monotek previously approved these changes Mar 8, 2021
@radhus
Copy link
Contributor Author

radhus commented Mar 10, 2021

Anything else needed to get this merged? 🙂

@monotek monotek merged commit 46c8e5a into prometheus-community:main Mar 10, 2021
@radhus radhus deleted the node-exporter-rootfs-condition branch March 10, 2021 16:15
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.

[kube-prometheus-stack] node-exporter crashes at startup
3 participants