You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: debug/windows/npm/README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,5 +3,11 @@
3
3
This script will collect Windows NPM logs and the HNS and VFP state of the cluster and write them to a new local folder.
4
4
5
5
## How to collect logs
6
+
In a PowerShell terminal, navigate to the `azure-container-networking/debug/windows/npm folder`. Make sure your kubectl is configured to point to the cluster you want to collect logs from (`az aks get-credentials -g <resource-group> -n <cluster-name>`)
7
+
### Windows
8
+
Run `.\win-debug.ps1`. The script will create a new folder called logs_DATE containing the results.
6
9
7
-
In a PowerShell terminal, navigate to the `azure-container-networking/debug/windows/npm folder`. Make sure your kubectl is configured to point to the cluster you want to collect logs from (`az aks get-credentials -g <resource-group> -n <cluster-name>`) and run `.\win-debug.ps1`. The script will create a new folder called logs_DATE containing the results.
10
+
### Linux
11
+
Run `.\win-debug.sh`. The script will create a new folder called logs_DATE containing the results.
12
+
13
+
Note: You may not be able to unzip logs.zip in Linux since it was compressed in Windows.
0 commit comments