File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
dev-infrastructure/modules Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ param dnsPrefix string = aksClusterName
8686param systemOsDiskSizeGB int
8787param userOsDiskSizeGB int
8888param infraOsDiskSizeGB int
89+ param imageGcHighThreshold int = 70
90+ param imageGcLowThreshold int = 60
8991
9092@description ('The resource IDs of ACR instances that the AKS cluster will pull images from' )
9193param pullAcrResourceIds array = []
@@ -308,6 +310,10 @@ resource aksCluster 'Microsoft.ContainerService/managedClusters@2025-07-02-previ
308310 enableFIPS : true
309311 enableNodePublicIP : false
310312 kubeletDiskType : 'OS'
313+ kubeletConfig : {
314+ imageGcHighThreshold : imageGcHighThreshold
315+ imageGcLowThreshold : imageGcLowThreshold
316+ }
311317 osDiskType : 'Ephemeral'
312318 osDiskSizeGB : systemOsDiskSizeGB
313319 minCount : systemAgentMinCount
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ param vmSize string
1313param minCount int
1414param maxCount int
1515param osDiskSizeGB int
16+ param imageGcHighThreshold int = 70
17+ param imageGcLowThreshold int = 60
1618
1719param vnetSubnetId string
1820param podSubnetId string
@@ -94,6 +96,10 @@ resource userAgentPools 'Microsoft.ContainerService/managedClusters/agentPools@2
9496 enableFIPS : true
9597 enableNodePublicIP : false
9698 kubeletDiskType : 'OS'
99+ kubeletConfig : {
100+ imageGcHighThreshold : imageGcHighThreshold
101+ imageGcLowThreshold : imageGcLowThreshold
102+ }
97103 osDiskType : 'Ephemeral'
98104 osDiskSizeGB : osDiskSizeGB
99105 count : minCount
You can’t perform that action at this time.
0 commit comments