Skip to content

Commit

Permalink
Merge branch 'main' into paullewis-api-version-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pjlewisuk authored Aug 9, 2024
2 parents cea7a99 + d0042cd commit 08b530e
Show file tree
Hide file tree
Showing 41 changed files with 7,903 additions and 1,343 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/AKSC_Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
templateVersion:
description: 'Template Version'
required: false
default: '0.10.5'
default: '0.10.7'
type: string
rg:
description: 'Resource Group name'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/StandardCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:
- cron: "0 23 * * 2"
env:
RG: "AksBicepAcc-Ci-BasicCluster" #The resource group we're deploying to.
ParamFilePath: "https://raw.githubusercontent.com/Azure/AKS-Construction/main/.github/workflows_dep/AksDeploy-Basic.parameters.json" # ".github/workflows_dep/AksDeploy-Basic.parameters.json" #Path to parameter file
ParamFilePath: "https://raw.githubusercontent.com/Azure/AKS-Construction/${{ github.head_ref || github.ref_name }}/.github/workflows_dep/AksDeploy-Basic.parameters.json" # ".github/workflows_dep/AksDeploy-Basic.parameters.json" #Path to parameter file
RESNAME: "AksStan" #Used in Azure Resource Naming, overrides the default in the parameter file
DEPNAME: "Dep${{ github.run_number }}" #Deployment Name
AZCLIVERSION: 2.53.0 #2.43.0 #2.34.1 #2.29.2 #2.26.0 #latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-soft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Build VM Sku json file
timeout-minutes: 3
timeout-minutes: 10
run: |
cd postdeploy/scripts
chmod +x generate-vm-sku-list-v2.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Build VM Sku json file
timeout-minutes: 3
timeout-minutes: 10
run: |
cd postdeploy/scripts
chmod +x generate-vm-sku-list-v2.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows_dep/AksDeploy-Basic.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"value": 1
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"enable_aad": {
"value": true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows_dep/AksDeploy-ByoVnet.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"value": 1
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"agentCountMax": {
"value": 2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows_dep/AksDeploy-Private.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"value": "priv"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"agentCountMax": {
"value": 2
Expand Down Expand Up @@ -93,7 +93,7 @@
"value": true
},
"aksOutboundTrafficType" : {
"value": "natGateway"
"value": "loadBalancer"
},
"createNatGateway" : {
"value": true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows_dep/regressionparams/byoKms.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"value": "az-k8s-kmsbyopub"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"JustUseSystemPool": {
"value": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"value": "az-k8s-kmsbyopl"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"JustUseSystemPool": {
"value": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"value": "WestCentralUs"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"networkDataplane": {
"value": "cilium"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"value": 1
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"agentCountMax": {
"value": 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows_dep/regressionparams/dapr.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"value": "az-k8s-dapr"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"daprAddon": {
"value": true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows_dep/regressionparams/defender.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"value": "az-k8s-def"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"agentCountMax": {
"value": 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows_dep/regressionparams/edgeK8sVersion.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"value": "az-k8s-edged"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"kubernetesVersion": {
"value": "1.26.3"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows_dep/regressionparams/gitOps.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"value": "az-k8s-flux"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"fluxGitOpsAddon": {
"value": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"value": 1
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"agentCountMax": {
"value": 5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"value": "az-k8s-3zb3"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"agentCountMax": {
"value": 20
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows_dep/regressionparams/managed-public.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"value": "manpub"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"agentCountMax": {
"value": 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows_dep/regressionparams/managedNatGw.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"value": "az-k8s-natgw"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"aksOutboundTrafficType" : {
"value": "natGateway"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows_dep/regressionparams/open-secure.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"value": "az-k8s-4chu"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"custom_vnet": {
"value": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"value": "Standard"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"agentCountMax": {
"value": 20
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows_dep/regressionparams/publicKms.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"value": "az-k8s-kmspp1"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"JustUseSystemPool": {
"value": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"value": 0
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
},
"agentCountMax": {
"value": 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows_dep/regressionparams/simple-simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"value": "az-k8s-7zw4"
},
"agentVMSize": {
"value": "Standard_DS3_v2"
"value": "Standard_D4ds_v5"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"value": 1
},
"agentVMSize": {
"value": "Standard_B2ms"
"value": "Standard_B2s_v2"
},
"agentCountMax": {
"value": 2
Expand Down
12 changes: 6 additions & 6 deletions bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ output ApplicationGatewayName string = deployAppGw ? appgw.name : ''
param dnsPrefix string = '${resourceName}-dns'

@description('Kubernetes Version')
param kubernetesVersion string = '1.28.5'
param kubernetesVersion string = '1.29.7'

@description('Enable Azure AD integration on AKS')
param enable_aad bool = false
Expand Down Expand Up @@ -904,7 +904,7 @@ param upgradeChannel string = 'none'
param osDiskType string = 'Ephemeral'

@description('VM SKU')
param agentVMSize string = 'Standard_DS3_v2'
param agentVMSize string = 'Standard_D4ds_v5'

@description('Disk size in GB')
param osDiskSizeGB int = 0
Expand Down Expand Up @@ -1128,15 +1128,15 @@ var outboundTrafficType = aksOutboundTrafficType=='natGateway' ? ( custom_vnet ?
@description('System Pool presets are derived from the recommended system pool specs')
var systemPoolPresets = {
CostOptimised : {
vmSize: 'Standard_B4ms'
vmSize: 'Standard_B4s_v2'
count: 1
minCount: 1
maxCount: 3
enableAutoScaling: true
availabilityZones: []
}
Standard : {
vmSize: 'Standard_DS2_v2'
vmSize: 'Standard_D4ds_v5'
count: 3
minCount: 3
maxCount: 5
Expand All @@ -1148,7 +1148,7 @@ var systemPoolPresets = {
]
}
HighSpec : {
vmSize: 'Standard_D4s_v3'
vmSize: 'Standard_D8ds_v4'
count: 3
minCount: 3
maxCount: 5
Expand Down Expand Up @@ -1377,7 +1377,7 @@ param osSKU string = 'Ubuntu'
var poolName = osType == 'Linux' ? nodePoolName : take(nodePoolName, 6)

// Default OS Disk Size in GB for Linux is 30, for Windows is 100
var defaultOsDiskSizeGB = osType == 'Linux' ? 30 : 100
var defaultOsDiskSizeGB = 128

module userNodePool '../bicep/aksagentpool.bicep' = if (!JustUseSystemPool){
name: take('${deployment().name}-userNodePool',64)
Expand Down
2 changes: 2 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"aadgroupids",
"accv",
"ACRNAME",
"agentpool",
"AGIC",
"aksc",
"aksvnetparams",
Expand Down Expand Up @@ -138,6 +139,7 @@
"updatevals",
"urlname",
"userauth",
"userpool",
"valres",
"vaultname",
"VNET",
Expand Down
8 changes: 4 additions & 4 deletions helper/src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"deploy": {
"enableTelemetry": true,
"managedNodeResourceGroup": "",
"kubernetesVersion": "1.28.5",
"location": "WestEurope",
"kubernetesVersion": "1.29.7",
"location": "westeurope",
"apiips": "",
"demoapp": false,
"disablePreviews": false,
Expand Down Expand Up @@ -49,8 +49,8 @@
"agentCount": 3,
"maxCount": 20,
"computeType": "gp",
"vmSize": "Standard_DS3_v2",
"osDiskSizeGB": 30,
"vmSize": "Standard_D4ds_v5",
"osDiskSizeGB": 128,
"osDiskType": "Ephemeral",
"enable_aad": true,
"AksDisableLocalAccounts": false,
Expand Down
2 changes: 1 addition & 1 deletion helper/src/configpresets/gaming.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"AksPaidSkuForSLA" : false,
"agentCount": 1,
"upgradeChannel": "stable",
"vmSize" : "Standard_B2ms",
"vmSize" : "Standard_B2s_v2",
"osDiskType" : "Managed",
"nodepoolName" : "minecraft",
"SystemPoolType" : "none"
Expand Down
2 changes: 1 addition & 1 deletion helper/src/configpresets/principals.json
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@
"AksPaidSkuForSLA": true,
"availabilityZones": "yes",
"agentCount": 3,
"agentVMSize": "Standard_DS3_v2",
"agentVMSize": "Standard_D4ds_v4",
"osDiskType" : "Ephemeral"
},
"addons": {
Expand Down
Loading

0 comments on commit 08b530e

Please sign in to comment.