From e9fce111613fa517693c2d98e5e264d3acea1ac8 Mon Sep 17 00:00:00 2001 From: Radhika Pai Date: Fri, 26 Mar 2021 15:21:45 +0000 Subject: [PATCH] [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 --- kubernetes-node-problem-detector/Chart.yaml | 2 +- kubernetes-node-problem-detector/values.yaml | 2 +- releasenotes/notes/kubernetes-node-problem-detector.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kubernetes-node-problem-detector/Chart.yaml b/kubernetes-node-problem-detector/Chart.yaml index ccdec4755..017e15804 100644 --- a/kubernetes-node-problem-detector/Chart.yaml +++ b/kubernetes-node-problem-detector/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm 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 sources: - https://github.com/kubernetes/node-problem-detector diff --git a/kubernetes-node-problem-detector/values.yaml b/kubernetes-node-problem-detector/values.yaml index 99fb4874d..90ad0bdd1 100644 --- a/kubernetes-node-problem-detector/values.yaml +++ b/kubernetes-node-problem-detector/values.yaml @@ -333,7 +333,7 @@ conf: pluginConfig: source: systemd logPath: "/var/log/journal" - lookback: '' + lookback: 5m bufferSize: 10 source: systemd-monitor conditions: [] diff --git a/releasenotes/notes/kubernetes-node-problem-detector.yaml b/releasenotes/notes/kubernetes-node-problem-detector.yaml index 88280c667..2b2d80c0f 100644 --- a/releasenotes/notes/kubernetes-node-problem-detector.yaml +++ b/releasenotes/notes/kubernetes-node-problem-detector.yaml @@ -4,4 +4,5 @@ kubernetes-node-problem-detector: - 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 0.1.2 Unpin images built with osh-images - 0.1.3 Update RBAC apiVersion from /v1beta1 to /v1 + - 0.1.4 Update the systemd-monitor lookback duration ...