mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-05-06 01:07:07 +00:00
Support filelog watching in Windows.
This commit is contained in:
20
config/windows-containerd-monitor-filelog.json
Normal file
20
config/windows-containerd-monitor-filelog.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"plugin": "filelog",
|
||||
"pluginConfig": {
|
||||
"timestamp": "^time=\"(\\S*)\"",
|
||||
"message": "msg=\"([^\n]*)\"",
|
||||
"timestampFormat": "2006-01-02T15:04:05.999999999-07:00"
|
||||
},
|
||||
"logPath": "C:\\Program Files\\containerd\\containerd.log",
|
||||
"lookback": "5m",
|
||||
"bufferSize": 10,
|
||||
"source": "docker-monitor",
|
||||
"conditions": [],
|
||||
"rules": [
|
||||
{
|
||||
"type": "temporary",
|
||||
"reason": "BadCNIConfig",
|
||||
"pattern": "failed to reload cni configuration.*"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user