Skip to content

Commit

Permalink
update templates (Azure#26109)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwesigwaguma authored Sep 18, 2024
1 parent a9b7146 commit 97d838e
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"value": "WindowsServer"
},
"vmImageSku": {
"value": "2022-Datacenter"
"value": "2022-datacenter-azure-edition"
},
"vmImageVersion": {
"value": "latest"
Expand Down Expand Up @@ -60,7 +60,7 @@
"value": 5
},
"vmNodeType0Size": {
"value": "Standard_D2_V2"
"value": "Standard_D2s_v3"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"value": "WindowsServer"
},
"vmImageSku": {
"value": "2022-Datacenter"
"value": "2022-datacenter-azure-edition"
},
"vmImageVersion": {
"value": "latest"
Expand Down Expand Up @@ -63,7 +63,7 @@
"value": 5
},
"vmNodeType0Size": {
"value": "Standard_D2_V2"
"value": "Standard_D2s_v3"
}
}
}
37 changes: 25 additions & 12 deletions src/ServiceFabric/ServiceFabric.Test/Resources/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"vmImageSku": {
"type": "string",
"defaultValue": "2022-Datacenter",
"defaultValue": "2022-datacenter-azure-edition",
"metadata": {
"description": "VM image SKU"
}
Expand Down Expand Up @@ -151,7 +151,7 @@
},
"vmNodeType0Size": {
"type": "string",
"defaultValue": "Standard_D2_V2"
"defaultValue": "Standard_D2s_v3"
}
},
"variables": {
Expand All @@ -171,12 +171,12 @@
"maxPercentUpgradeDomainDeltaUnhealthyNodes": "100",
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]",
"overProvision": "false",
"vmssApiVersion": "2017-03-30",
"sfrpApiVersion": "2017-07-01-preview",
"lbApiVersion": "2015-06-15",
"vNetApiVersion": "2015-06-15",
"storageApiVersion": "2016-01-01",
"publicIPApiVersion": "2015-06-15",
"vmssApiVersion": "2023-09-01",
"sfrpApiVersion": "2023-11-01-preview",
"lbApiVersion": "2023-09-01",
"vNetApiVersion": "2023-09-01",
"storageApiVersion": "2023-01-01",
"publicIPApiVersion": "2023-09-01",
"nt0applicationStartPort": "20000",
"nt0applicationEndPort": "30000",
"nt0ephemeralStartPort": "49152",
Expand Down Expand Up @@ -606,11 +606,24 @@
"properties": {
"overprovision": "[variables('overProvision')]",
"upgradePolicy": {
"mode": "Automatic"
"mode": "Automatic",
"automaticOSUpgradePolicy": {
"enableAutomaticOSUpgrade": true
}
},
"virtualMachineProfile": {
"extensionProfile": {
"extensions": [
{
"name": "Microsoft.Azure.Geneva.GenevaMonitoring",
"properties": {
"publisher": "Microsoft.Azure.Geneva",
"type": "GenevaMonitoring",
"typeHandlerVersion": "2.0",
"enableAutomaticUpgrade": true,
"autoUpgradeMinorVersion": true
}
},
{
"name": "[concat('ServiceFabricNodeVmExt','_vmNodeType0Name')]",
"properties": {
Expand All @@ -625,15 +638,15 @@
"clusterEndpoint": "[reference(parameters('clusterName')).clusterEndpoint]",
"nodeTypeRef": "[variables('vmNodeType0Name')]",
"dataPath": "D:\\SvcFab",
"durabilityLevel": "Bronze",
"durabilityLevel": "Silver",
"enableParallelJobs": true,
"nicPrefixOverride": "[variables('subnet0Prefix')]",
"certificate": {
"thumbprint": "[parameters('certificateThumbprint')]",
"x509StoreName": "[parameters('certificateStoreValue')]"
}
},
"typeHandlerVersion": "1.0"
"typeHandlerVersion": "1.1"
}
},
{
Expand Down Expand Up @@ -810,7 +823,7 @@
"startPort": "[variables('nt0applicationStartPort')]"
},
"clientConnectionEndpointPort": "[variables('nt0fabricTcpGatewayPort')]",
"durabilityLevel": "Bronze",
"durabilityLevel": "Silver",
"ephemeralPorts": {
"endPort": "[variables('nt0ephemeralEndPort')]",
"startPort": "[variables('nt0ephemeralStartPort')]"
Expand Down
37 changes: 25 additions & 12 deletions src/ServiceFabric/ServiceFabric.Test/Resources/templateCNCert.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"vmImageSku": {
"type": "string",
"defaultValue": "2022-Datacenter",
"defaultValue": "2022-datacenter-azure-edition",
"metadata": {
"description": "VM image SKU"
}
Expand Down Expand Up @@ -157,7 +157,7 @@
},
"vmNodeType0Size": {
"type": "string",
"defaultValue": "Standard_D2_V2"
"defaultValue": "Standard_D2s_v3"
}
},
"variables": {
Expand All @@ -177,12 +177,12 @@
"maxPercentUpgradeDomainDeltaUnhealthyNodes": "100",
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]",
"overProvision": "false",
"vmssApiVersion": "2017-03-30",
"sfrpApiVersion": "2018-02-01",
"lbApiVersion": "2015-06-15",
"vNetApiVersion": "2015-06-15",
"storageApiVersion": "2016-01-01",
"publicIPApiVersion": "2015-06-15",
"vmssApiVersion": "2023-09-01",
"sfrpApiVersion": "2023-11-01-preview",
"lbApiVersion": "2023-09-01",
"vNetApiVersion": "2023-09-01",
"storageApiVersion": "2023-01-01",
"publicIPApiVersion": "2023-09-01",
"nt0applicationStartPort": "20000",
"nt0applicationEndPort": "30000",
"nt0ephemeralStartPort": "49152",
Expand Down Expand Up @@ -612,11 +612,24 @@
"properties": {
"overprovision": "[variables('overProvision')]",
"upgradePolicy": {
"mode": "Automatic"
"mode": "Automatic",
"automaticOSUpgradePolicy": {
"enableAutomaticOSUpgrade": true
}
},
"virtualMachineProfile": {
"extensionProfile": {
"extensions": [
{
"name": "Microsoft.Azure.Geneva.GenevaMonitoring",
"properties": {
"publisher": "Microsoft.Azure.Geneva",
"type": "GenevaMonitoring",
"typeHandlerVersion": "2.0",
"enableAutomaticUpgrade": true,
"autoUpgradeMinorVersion": true
}
},
{
"name": "[concat('ServiceFabricNodeVmExt','_vmNodeType0Name')]",
"properties": {
Expand All @@ -631,7 +644,7 @@
"clusterEndpoint": "[reference(parameters('clusterName')).clusterEndpoint]",
"nodeTypeRef": "[variables('vmNodeType0Name')]",
"dataPath": "D:\\SvcFab",
"durabilityLevel": "Bronze",
"durabilityLevel": "Silver",
"enableParallelJobs": true,
"nicPrefixOverride": "[variables('subnet0Prefix')]",
"certificate": {
Expand All @@ -641,7 +654,7 @@
"x509StoreName": "[parameters('certificateStoreValue')]"
}
},
"typeHandlerVersion": "1.0"
"typeHandlerVersion": "1.1"
}
},
{
Expand Down Expand Up @@ -823,7 +836,7 @@
"startPort": "[variables('nt0applicationStartPort')]"
},
"clientConnectionEndpointPort": "[variables('nt0fabricTcpGatewayPort')]",
"durabilityLevel": "Bronze",
"durabilityLevel": "Silver",
"ephemeralPorts": {
"endPort": "[variables('nt0ephemeralEndPort')]",
"startPort": "[variables('nt0ephemeralStartPort')]"
Expand Down

0 comments on commit 97d838e

Please sign in to comment.