Set up Azure Service Fabric cluster on managed disks

有些话、适合烂在心里 提交于 2020-01-05 05:39:08

问题


Does anybody know how to set up Service Fabric cluster with VMs on managed disks(both OS and Data)? I would be very interested to know how to do this using template config.


回答1:


You need to change VMSS api version to 2016-04-30-preview and storageProfile to this:

"storageProfile": {
    "imageReference": {
        "publisher": "[parameters('vmImagePublisher')]",
        "offer": "[parameters('vmImageOffer')]",
        "sku": "[parameters('vmImageSku')]",
        "version": "[parameters('vmImageVersion')]"
    },
    "osDisk": {
        "createOption": "FromImage"
        "managedDisk": {
            "storageAccountType": "Standard_LRS" 
   # defauls to Standard_LRS,
   # you can choose to pick Premium_LRS if your VM size supports premium storage 
   # or you can omit this node completely if you need standard storage
        }
    }
}

Storage Accounts are redundant when using managed disks (you don't need them, Azure handles that for you).



来源:https://stackoverflow.com/questions/43117317/set-up-azure-service-fabric-cluster-on-managed-disks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!