mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-28 01:47:20 +00:00
Moved the ReadonlyFilesystem Node Condition to a separate plugin configuration file and updated NPD to contain the appropiate new flags.
24 lines
460 B
JSON
24 lines
460 B
JSON
{
|
|
"plugin": "kmsg",
|
|
"logPath": "/dev/kmsg",
|
|
"lookback": "5m",
|
|
"bufferSize": 10,
|
|
"source": "readonly-monitor",
|
|
"metricsReporting": true,
|
|
"conditions": [
|
|
{
|
|
"type": "ReadonlyFilesystem",
|
|
"reason": "FilesystemIsNotReadOnly",
|
|
"message": "Filesystem is not read-only"
|
|
}
|
|
],
|
|
"rules": [
|
|
{
|
|
"type": "permanent",
|
|
"condition": "ReadonlyFilesystem",
|
|
"reason": "FilesystemIsReadOnly",
|
|
"pattern": "Remounting filesystem read-only"
|
|
}
|
|
]
|
|
}
|