Merge pull request #1357 from arajkumar/adjust-NodeFilesystemSpaceFillingUp-warning-threshold
Adjust node filesystem space filling up warning threshold to 20%
This commit is contained in:
@@ -28,6 +28,12 @@ local defaults = {
|
|||||||
ruleLabels: {},
|
ruleLabels: {},
|
||||||
_config: {
|
_config: {
|
||||||
nodeExporterSelector: 'job="' + defaults.name + '"',
|
nodeExporterSelector: 'job="' + defaults.name + '"',
|
||||||
|
// Adjust NodeFilesystemSpaceFillingUp warning and critical thresholds according to the following default kubelet
|
||||||
|
// GC values,
|
||||||
|
// imageGCLowThresholdPercent: 80
|
||||||
|
// imageGCHighThresholdPercent: 85
|
||||||
|
// See https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/ for more details.
|
||||||
|
fsSpaceFillingUpWarningThreshold: 20,
|
||||||
fsSpaceFillingUpCriticalThreshold: 15,
|
fsSpaceFillingUpCriticalThreshold: 15,
|
||||||
diskDeviceSelector: 'device=~"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+"',
|
diskDeviceSelector: 'device=~"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+"',
|
||||||
runbookURLPattern: 'https://runbooks.prometheus-operator.dev/runbooks/node/%s',
|
runbookURLPattern: 'https://runbooks.prometheus-operator.dev/runbooks/node/%s',
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
summary: Filesystem is predicted to run out of space within the next 24 hours.
|
summary: Filesystem is predicted to run out of space within the next 24 hours.
|
||||||
expr: |
|
expr: |
|
||||||
(
|
(
|
||||||
node_filesystem_avail_bytes{job="node-exporter",fstype!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!=""} * 100 < 40
|
node_filesystem_avail_bytes{job="node-exporter",fstype!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!=""} * 100 < 20
|
||||||
and
|
and
|
||||||
predict_linear(node_filesystem_avail_bytes{job="node-exporter",fstype!=""}[6h], 24*60*60) < 0
|
predict_linear(node_filesystem_avail_bytes{job="node-exporter",fstype!=""}[6h], 24*60*60) < 0
|
||||||
and
|
and
|
||||||
|
|||||||
Reference in New Issue
Block a user