File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -221,13 +221,13 @@ To develop NPD on Windows you'll need to setup your Windows machine for Go devel
221
221
``` powershell
222
222
# Run these commands in the node-problem-detector directory.
223
223
224
- # Build
224
+ # Build in MINGW64 Window
225
225
make clean windows-binaries
226
226
227
- # Test
227
+ # Test in MINGW64 Window
228
228
make test
229
229
230
- # Run with containerd log monitoring enabled. (Assumes containerd is installed.)
230
+ # Run with containerd log monitoring enabled in Command Prompt . (Assumes containerd is installed.)
231
231
%CD%\bin\windows_amd64\node-problem-detector.exe --logtostderr --enable-k8s-exporter=false --config.system-log-monitor=%CD%\config\windows-containerd-monitor-filelog.json
232
232
233
233
# Configure NPD to run as a Windows Service
Original file line number Diff line number Diff line change 2
2
"plugin" : " filelog" ,
3
3
"pluginConfig" : {
4
4
"timestamp" : " ^time=\" (\\ S*)\" " ,
5
- "message" : " msg=\" ([^\n ]*)\" " ,
6
- "timestampFormat" : " 2006-01-02T15:04:05.999999999-07:00 "
5
+ "message" : " msg=\" ? ([^\n ]*)\" ? " ,
6
+ "timestampFormat" : " 2006-01-02T15:04:05.999999999Z "
7
7
},
8
- "logPath" : " C:\\ Program Files \\ containerd \\ containerd.log" ,
8
+ "logPath" : " C:\\ etc \\ kubernetes \\ logs \\ containerd.log" ,
9
9
"lookback" : " 5m" ,
10
10
"bufferSize" : 10 ,
11
11
"source" : " containerd" ,
You can’t perform that action at this time.
0 commit comments