mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-04-22 02:16:57 +00:00
30 lines
802 B
JSON
30 lines
802 B
JSON
{
|
|
"plugin": "journald",
|
|
"pluginConfig": {
|
|
"source": "systemd"
|
|
},
|
|
"logPath": "/var/log/journal",
|
|
"lookback": "5m",
|
|
"bufferSize": 10,
|
|
"source": "systemd-monitor",
|
|
"metricsReporting": true,
|
|
"conditions": [],
|
|
"rules": [
|
|
{
|
|
"type": "temporary",
|
|
"reason": "KubeletStart",
|
|
"pattern": "Started (Kubernetes kubelet|kubelet.service|kubelet.service - Kubernetes kubelet|kubelet.service - .*)."
|
|
},
|
|
{
|
|
"type": "temporary",
|
|
"reason": "DockerStart",
|
|
"pattern": "Starting (Docker Application Container Engine|docker.service|docker.service - Docker Application Container Engine)..."
|
|
},
|
|
{
|
|
"type": "temporary",
|
|
"reason": "ContainerdStart",
|
|
"pattern": "Starting (containerd container runtime|containerd.service|containerd.service - containerd container runtime)..."
|
|
}
|
|
]
|
|
}
|