From c266c431f5eb85a53c177ccb1dd4216c601927dc Mon Sep 17 00:00:00 2001 From: michelletandya Date: Mon, 7 Jun 2021 17:18:43 +0000 Subject: [PATCH] Update README instuctions for building windows locally --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e8c54759..0df2c467 100644 --- a/README.md +++ b/README.md @@ -221,13 +221,13 @@ To develop NPD on Windows you'll need to setup your Windows machine for Go devel # Run these commands in the node-problem-detector directory. # Build in MINGW64 Window -make clean windows-binaries +make clean ENABLE_JOURNALD=0 build-binaries # Test in MINGW64 Window make test # Run with containerd log monitoring enabled in Command Prompt. (Assumes containerd is installed.) -%CD%\output\windows_amd64\node-problem-detector.exe --logtostderr --enable-k8s-exporter=false --config.system-log-monitor=%CD%\config\windows-containerd-monitor-filelog.json --config.system-stats-monitor=config\windows-system-stats-monitor.json +%CD%\output\windows_amd64\bin\node-problem-detector.exe --logtostderr --enable-k8s-exporter=false --config.system-log-monitor=%CD%\config\windows-containerd-monitor-filelog.json --config.system-stats-monitor=config\windows-system-stats-monitor.json # Configure NPD to run as a Windows Service sc.exe create NodeProblemDetector binpath= "%CD%\node-problem-detector.exe [FLAGS]" start= demand