When not using any of the default monitors that require a privileged
execution environment and only running custom monitors, it can be
useful to run NPD as a non-root user. This PR makes the securityContext
customizable, while keeping the `privileged: true` as a default.
Signed-off-by: Louis Blin <louisblin@users.noreply.github.com>
Allows users to specify additional volumes / volumeMounts to mount in
the DeamonSet container. This is useful for custom plugins scripts
that need to load additional data to run.
Signed-off-by: Louis Blin <louisblin@users.noreply.github.com>
The new version brings the following fixes
- Fixed several potential busy loops
- Added a k8s-exporter-heartbeat-period flag to make the heart beat period of K8s exporter configurable.
- Fixed a potential NPD panic caused by close of closed channel
- Added Stackdriver exporter for NPD
- Collect a lot more useful CPU/disk/memory metrics
- Fix a few metric units for disk metrics and the calculation for disk_avg_queue_len
- Fix the first 0 value metrics reported for disk_avg_queue_len
- Improve network_problem.sh to support nf_conntrack and report error when conntrack table is 90% full.
- Support host_uptime metrics for CentOS
Signed-off-by: Markos Chandras <markos@chandras.me>
* Add provision for specifying custom monitor definitions for Node Problem Detector.
Signed-off-by: Jeev B <jeev@kariusdx.com>
* Update Chart.yaml
Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
* [stable/node-problem-detector] adds --custom-plugin-monitors flag
Signed-off-by: Joy Bhattacherjee <joyb@hotstar.com>
* [stable/node-problem-detector] adds documentation custom_plugin_monitor
Signed-off-by: Joy Bhattacherjee <joyb@hotstar.com>
* [stable/node-problem-detector] updates readme with correct default value for custompluginmonitor
Signed-off-by: Joy Bhattacherjee <joyb@hotstar.com>
* [stable/node-problem-detector] updates chart version to 1.1.3
Signed-off-by: Joy Bhattacherjee <joyb@hotstar.com>
* parameterize location of logdir to make it run on RHEL
Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
* upgrade to latest node problem detector release
Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>