Skip to content

Commit 6fb59a6

Browse files
authored
Merge pull request #114232 from apatrush/apatrush-extn-auto-upgrade
Update Service Fabric Extension Docs
2 parents 06a74f3 + 2af7434 commit 6fb59a6

File tree

2 files changed

+42
-3
lines changed

2 files changed

+42
-3
lines changed

articles/service-fabric/service-fabric-cluster-nodetypes.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ The following is a snippet of Service Fabric Virtual Machine extension:
4444
"properties": {
4545
"type": "ServiceFabricLinuxNode",
4646
"autoUpgradeMinorVersion": true,
47+
"enableAutomaticUpgrade": true,
4748
"protectedSettings": {
4849
"StorageAccountKey1": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('supportLogStorageAccountName')),'2015-05-01-preview').key1]",
4950
},
@@ -62,7 +63,7 @@ The following is a snippet of Service Fabric Virtual Machine extension:
6263
"x509StoreName": "[parameters('certificateStoreValue')]"
6364
}
6465
},
65-
"typeHandlerVersion": "1.1"
66+
"typeHandlerVersion": "2.0"
6667
}
6768
},
6869
```
@@ -72,8 +73,9 @@ The following are the property descriptions:
7273
| **Name** | **Allowed Values** | **Guidance or Short Description** |
7374
| --- | --- | --- | --- |
7475
| name | string | Unique name for extension |
75-
| type | "ServiceFabricLinuxNode" or "ServiceFabricWindowsNode" | Identifies OS Service Fabric is bootstrapping to |
76-
| autoUpgradeMinorVersion | true or false | Enable Auto Upgrade of SF Runtime Minor Versions |
76+
| type | "ServiceFabricLinuxNode" or "ServiceFabricNode" | Identifies OS Service Fabric is bootstrapping to |
77+
| autoUpgradeMinorVersion | true or false | Use newest minor version of extension at deployment time |
78+
| enableAutomaticUpgrade | true or false | Automatically upgrade extension once a non-major version is available. Only available for type ServiceFabricLinuxNode |
7779
| publisher | Microsoft.Azure.ServiceFabric | Name of the Service Fabric extension publisher |
7880
| clusterEndpoint | string | URI:PORT to Management endpoint |
7981
| nodeTypeRef | string | Name of nodeType |

articles/service-fabric/service-fabric-tutorial-create-vnet-and-linux-cluster.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,43 @@ The names of the virtual network and subnet are declared in the template paramet
8080

8181
If any other application ports are needed, then you will need to adjust the Microsoft.Network/loadBalancers resource to allow the traffic in.
8282

83+
### Service Fabric Extension
84+
85+
In the **Microsoft.Compute/virtualMachineScaleSets** resource, the Service Fabric Linux extension is configured. This extension is used to bootstrap Service Fabric to Azure Virtual Machines and configure Node Security.
86+
87+
The following is a template snippet for the Service Fabric Linux extension:
88+
89+
```json
90+
"extensions": [
91+
{
92+
"name": "[concat('ServiceFabricNodeVmExt','_vmNodeType0Name')]",
93+
"properties": {
94+
"type": "ServiceFabricLinuxNode",
95+
"autoUpgradeMinorVersion": true,
96+
"enableAutomaticUpgrade": true,
97+
"protectedSettings": {
98+
"StorageAccountKey1": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('supportLogStorageAccountName')),'2015-05-01-preview').key1]",
99+
},
100+
"publisher": "Microsoft.Azure.ServiceFabric",
101+
"settings": {
102+
"clusterEndpoint": "[reference(parameters('clusterName')).clusterEndpoint]",
103+
"nodeTypeRef": "[variables('vmNodeType0Name')]",
104+
"durabilityLevel": "Silver",
105+
"enableParallelJobs": true,
106+
"nicPrefixOverride": "[variables('subnet0Prefix')]",
107+
"dataPath": "D:\\\\SvcFab",
108+
"certificate": {
109+
"commonNames": [
110+
"[parameters('certificateCommonName')]"
111+
],
112+
"x509StoreName": "[parameters('certificateStoreValue')]"
113+
}
114+
},
115+
"typeHandlerVersion": "2.0"
116+
}
117+
},
118+
```
119+
83120
## Set template parameters
84121

85122
The **AzureDeploy.Parameters** file declares many values used to deploy the cluster and associated resources. Some of the parameters that you might need to modify for your deployment:

0 commit comments

Comments
 (0)