mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-05-06 17:27:16 +00:00
21 lines
531 B
JSON
21 lines
531 B
JSON
{
|
|
"plugin": "filelog",
|
|
"pluginConfig": {
|
|
"timestamp": "^time=\"(\\S*)\"",
|
|
"message": "msg=\"([^\n]*)\"",
|
|
"timestampFormat": "2006-01-02T15:04:05.999999999-07:00"
|
|
},
|
|
"logPath": "/var/log/docker.log",
|
|
"lookback": "5m",
|
|
"bufferSize": 10,
|
|
"source": "docker-monitor",
|
|
"conditions": [],
|
|
"rules": [
|
|
{
|
|
"type": "temporary",
|
|
"reason": "CorruptDockerImage",
|
|
"pattern": "Error trying v2 registry: failed to register layer: rename /var/lib/docker/image/(.+) /var/lib/docker/image/(.+): directory not empty.*"
|
|
}
|
|
]
|
|
}
|