Skip to content

Commit

Permalink
chore: set lowest free space as 1GB for 23H2 to mitigate free space i…
Browse files Browse the repository at this point in the history
…ssue
  • Loading branch information
junjiezhang1997 committed Jul 10, 2024
1 parent 4612ca7 commit 3cd3149
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vhdbuilder/packer/generate-windows-vhd-configuration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ $global:aksToolsDir = "c:\aks-tools"
# We need to guarantee that the node provisioning will not fail because the vhd is full before resize-osdisk is called in AKS Windows CSE script.
$global:lowestFreeSpace = 2*1024*1024*1024 # 2GB
if ($windowsSKU -Like "23H2*") {
$global:lowestFreeSpace = 1*1024*1024*1024 # 1GB
}
$global:excludeHashComparisionListInAzureChinaCloud = @(
"calico-windows",
Expand Down

0 comments on commit 3cd3149

Please sign in to comment.