File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 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
221221``` powershell
222222# Run these commands in the node-problem-detector directory.
223223
224- # Build
224+ # Build in MINGW64 Window
225225make clean windows-binaries
226226
227- # Test
227+ # Test in MINGW64 Window
228228make test
229229
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.)
231231%CD%\bin\windows_amd64\node-problem-detector.exe --logtostderr --enable-k8s-exporter=false --config.system-log-monitor=%CD%\config\windows-containerd-monitor-filelog.json
232232
233233# Configure NPD to run as a Windows Service
Original file line number Diff line number Diff line change 22 "plugin" : " filelog" ,
33 "pluginConfig" : {
44 "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 "
77 },
8- "logPath" : " C:\\ Program Files \\ containerd \\ containerd.log" ,
8+ "logPath" : " C:\\ etc \\ kubernetes \\ logs \\ containerd.log" ,
99 "lookback" : " 5m" ,
1010 "bufferSize" : 10 ,
1111 "source" : " containerd" ,
You can’t perform that action at this time.
0 commit comments