Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,13 @@ To develop NPD on Windows you'll need to setup your Windows machine for Go devel
```powershell
# Run these commands in the node-problem-detector directory.

# Build
# Build in MINGW64 Window
make clean windows-binaries

# Test
# Test in MINGW64 Window
make test

# Run with containerd log monitoring enabled. (Assumes containerd is installed.)
# Run with containerd log monitoring enabled in Command Prompt. (Assumes containerd is installed.)
%CD%\bin\windows_amd64\node-problem-detector.exe --logtostderr --enable-k8s-exporter=false --config.system-log-monitor=%CD%\config\windows-containerd-monitor-filelog.json
```

Expand Down
6 changes: 3 additions & 3 deletions config/windows-containerd-monitor-filelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"plugin": "filelog",
"pluginConfig": {
"timestamp": "^time=\"(\\S*)\"",
"message": "msg=\"([^\n]*)\"",
"timestampFormat": "2006-01-02T15:04:05.999999999-07:00"
"message": "msg=\"?([^\n]*)\"?",
"timestampFormat": "2006-01-02T15:04:05.999999999Z"
},
"logPath": "C:\\Program Files\\containerd\\containerd.log",
"logPath": "C:\\etc\\kubernetes\\logs\\containerd.log",
"lookback": "5m",
"bufferSize": 10,
"source": "containerd",
Expand Down