[Update] NPD systemd-monitor lookback duration

This ps adds the lookback duration of 5m to the systemd-monitor to avoid
looking back indefinitely in journal log and causing the alert to stick around.

Change-Id: Ia32f043c0c7484d0bb92cfc4b68b506eae8e9d72
This commit is contained in:
Radhika Pai 2021-03-26 15:21:45 +00:00
parent b3888df131
commit e9fce11161
3 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Kubernetes Node Problem Detector description: OpenStack-Helm Kubernetes Node Problem Detector
name: kubernetes-node-problem-detector name: kubernetes-node-problem-detector
version: 0.1.3 version: 0.1.4
home: https://github.com/kubernetes/node-problem-detector home: https://github.com/kubernetes/node-problem-detector
sources: sources:
- https://github.com/kubernetes/node-problem-detector - https://github.com/kubernetes/node-problem-detector

View File

@ -333,7 +333,7 @@ conf:
pluginConfig: pluginConfig:
source: systemd source: systemd
logPath: "/var/log/journal" logPath: "/var/log/journal"
lookback: '' lookback: 5m
bufferSize: 10 bufferSize: 10
source: systemd-monitor source: systemd-monitor
conditions: [] conditions: []

View File

@ -4,4 +4,5 @@ kubernetes-node-problem-detector:
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
- 0.1.2 Unpin images built with osh-images - 0.1.2 Unpin images built with osh-images
- 0.1.3 Update RBAC apiVersion from /v1beta1 to /v1 - 0.1.3 Update RBAC apiVersion from /v1beta1 to /v1
- 0.1.4 Update the systemd-monitor lookback duration
... ...