【发布时间】:2018-08-30 20:54:32
【问题描述】:
我目前有一个代码库,其中包含许多经典的 Azure 云服务工作者角色。从长远来看,我想将整个基础架构迁移到 Azure Service Fabric,但作为第一步,我想更新部署模型以使用 ARM 模板。
I found another answer that seems to have a barebones ARM template to deploy a Cloud Service (classic) component,但我不确定如何将其转换为我自己的应用程序。
具体来说,我将如何/在哪里从我的工作角色的csdef file 定义以下标签和属性:
WorkerRole (name, vmsize)
startup tasks (command line, execution context, task type, task variables)
configuration settings
certificates
localresources
它是cscfg files:
Serviceconfiguration (name, osFamily, osVersion)
Role (name)
Instances (count)
ConfigurationSettings (and all the setting name/values under it)
certificates
【问题讨论】:
-
我目前不打算将它们转换为 Service Fabric 无状态服务
标签: azure azure-resource-manager azure-cloud-services azure-worker-roles arm-template