mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-05-21 00:25:24 +00:00
34 lines
810 B
JSON
34 lines
810 B
JSON
{
|
|
"plugin": "custom",
|
|
"pluginConfig": {
|
|
"invoke_interval": "5m",
|
|
"timeout": "1m",
|
|
"max_output_length": 80,
|
|
"concurrency": 1
|
|
},
|
|
"source": "docker-monitor",
|
|
"conditions": [
|
|
{
|
|
"type": "CorruptDockerOverlay2",
|
|
"reason": "NoCorruptDockerOverlay2",
|
|
"message": "docker overlay2 is functioning properly"
|
|
}
|
|
],
|
|
"rules": [
|
|
{
|
|
"type": "permanent",
|
|
"condition": "CorruptDockerOverlay2",
|
|
"reason": "CorruptDockerOverlay2",
|
|
"path": "/home/kubernetes/bin/log-counter",
|
|
"args": [
|
|
"--journald-source=dockerd",
|
|
"--log-path=/var/log/journal",
|
|
"--lookback=5m",
|
|
"--count=10",
|
|
"--pattern=returned error: readlink /var/lib/docker/overlay2.*: invalid argument.*"
|
|
],
|
|
"timeout": "1m"
|
|
}
|
|
]
|
|
}
|