mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-20 04:36:41 +00:00
Update the detection method for docker overlay2 issue
This commit is contained in:
@@ -7,12 +7,24 @@
|
||||
"lookback": "5m",
|
||||
"bufferSize": 10,
|
||||
"source": "docker-monitor",
|
||||
"conditions": [],
|
||||
"conditions": [
|
||||
{
|
||||
"type": "CorruptDockerOverlay2",
|
||||
"reason": "NoCorruptDockerOverlay2",
|
||||
"message": "docker overlay2 is functioning properly"
|
||||
}
|
||||
],
|
||||
"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.*"
|
||||
},
|
||||
{
|
||||
"type": "permanent",
|
||||
"condition": "CorruptDockerOverlay2",
|
||||
"reason": "CorruptDockerOverlay2",
|
||||
"pattern": "returned error: readlink /var/lib/docker/overlay2.*: invalid argument.*"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user