-
Notifications
You must be signed in to change notification settings - Fork 519
feat: collect Windows CSE logs during log collection #2858
Conversation
@@ -40,6 +40,7 @@ Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/Microsoft/S | |||
& 'c:\k\debug\collectlogs.ps1' | write-Host | |||
$netLogs = Get-ChildItem (Get-ChildItem -Path c:\k\debug -Directory | Sort-Object LastWriteTime -Descending | Select-Object -First 1).FullName | Select-Object -ExpandProperty FullName | |||
$paths += $netLogs | |||
$paths += "c:\AzureData\CustomDataSetupScript.log" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: in the future let's process this and windows cse scripts via go templating so we can refer to this string programmatically (as a common reference that cse + log collection script can both use)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We intentionally don't want this script to be processed via go templating.
We want users to be able to curl this and run it if it isn't already on the node.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Codecov Report
@@ Coverage Diff @@
## master #2858 +/- ##
=======================================
Coverage 72.47% 72.47%
=======================================
Files 140 140
Lines 25612 25612
=======================================
Hits 18562 18562
Misses 5981 5981
Partials 1069 1069 Continue to review full report at Codecov.
|
* chore: adding azure-cni v1.0.33 artifacts to VHDs (#2790) * chore: update Azure CNI to v1.0.33 (#2825) * feat: collect Windows CSE logs during log collection (#2858) * fix: Windows no outbound fixes (#2883) * fix: fixing nssm logging in windows CSE (#2890) * fix: Get WindowsVersion from registry instead of calling Get-ComputerInfo (#2954) * feat: Updating AKS to use April 2020 Windows VHDs by default (#3060) Co-authored-by: Mark Rossetti <[email protected]> Co-authored-by: Jaeryn <[email protected]> Co-authored-by: Kalya Subramanian <[email protected]>
* chore: adding azure-cni v1.0.33 artifacts to VHDs (Azure#2790) * chore: update Azure CNI to v1.0.33 (Azure#2825) * feat: collect Windows CSE logs during log collection (Azure#2858) * fix: Windows no outbound fixes (Azure#2883) * fix: fixing nssm logging in windows CSE (Azure#2890) * fix: Get WindowsVersion from registry instead of calling Get-ComputerInfo (Azure#2954) * feat: Updating AKS to use April 2020 Windows VHDs by default (Azure#3060) Co-authored-by: Mark Rossetti <[email protected]> Co-authored-by: Jaeryn <[email protected]> Co-authored-by: Kalya Subramanian <[email protected]>
* Upgrade Windows VHD image to April release (#3111) * chore: adding azure-cni v1.0.33 artifacts to VHDs (#2790) * chore: update Azure CNI to v1.0.33 (#2825) * feat: collect Windows CSE logs during log collection (#2858) * fix: Windows no outbound fixes (#2883) * fix: fixing nssm logging in windows CSE (#2890) * fix: Get WindowsVersion from registry instead of calling Get-ComputerInfo (#2954) * feat: Updating AKS to use April 2020 Windows VHDs by default (#3060) Co-authored-by: Mark Rossetti <[email protected]> Co-authored-by: Jaeryn <[email protected]> Co-authored-by: Kalya Subramanian <[email protected]> * feat: adding kubelet and csi-proxy-server as windows defender excluded processes (#2967) (#3118) Co-authored-by: Mark Rossetti <[email protected]> Co-authored-by: Mark Rossetti <[email protected]> Co-authored-by: Jaeryn <[email protected]> Co-authored-by: Kalya Subramanian <[email protected]>
* feat: Adding WindowsNodeReset.ps1 script to reset/cleanup state for nodes (#2457) * Adding WindowsNodeReset.ps1 script to reset/cleanup state for windox^C nodes * fix linting errors * fixing comments per CR feedback * chore: adding azure-cni v1.0.33 artifacts to VHDs (#2790) * chore: update Azure CNI to v1.0.33 (#2825) * feat: collect Windows CSE logs during log collection (#2858) * fix: Windows no outbound fixes (#2883) * fix: fixing nssm logging in windows CSE (#2890) * fix: Get WindowsVersion from registry instead of calling Get-ComputerInfo (#2954) * feat: adding kubelet and csi-proxy-server as windows defender excluded processes (#2967) * feat: Updating AKS to use April 2020 Windows VHDs by default (#3060) * feat: Updating Windows VHDs with 4B patches (#3115) Co-authored-by: Mark Rossetti <[email protected]> Co-authored-by: Jaeryn <[email protected]> Co-authored-by: Kalya Subramanian <[email protected]>
Reason for Change:
Issue Fixed:
Requirements:
Notes: