mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-03-05 03:01:55 +00:00
Add systemd monitor for kubelet, docker, and containerd restart events
This commit is contained in:
28
config/systemd-monitor.json
Normal file
28
config/systemd-monitor.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"plugin": "journald",
|
||||
"pluginConfig": {
|
||||
"source": "systemd"
|
||||
},
|
||||
"logPath": "/var/log/journal",
|
||||
"lookback": "",
|
||||
"bufferSize": 10,
|
||||
"source": "systemd-monitor",
|
||||
"conditions": [],
|
||||
"rules": [
|
||||
{
|
||||
"type": "temporary",
|
||||
"reason": "KubeletStart",
|
||||
"pattern": "Started Kubernetes kubelet."
|
||||
},
|
||||
{
|
||||
"type": "temporary",
|
||||
"reason": "DockerStart",
|
||||
"pattern": "Starting Docker Application Container Engine..."
|
||||
},
|
||||
{
|
||||
"type": "temporary",
|
||||
"reason": "ContainerdStart",
|
||||
"pattern": "Starting containerd container runtime..."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user