I'm studying for Azure certification and I've got this problem:
You are developing a Web API by using ASP.NET Core. You plan to deploy the Web API to a 5-node Service Fabric cluster that is hosted in Azure.
Requirements:
You need to configure the Web API for local and Azure deployment, setting the right property from "MinReplicaSetSize", "InstanceCount" and "TargetReplicaSetSize".
I haven't find very helpful documentation or examples on this properties.
My solution is to set for Local and for Azure environment. ,为Azure环境设置 InstanceCount 。 But I'm not sure of this.
Is that the right property to set?
Yes, your solution is correct.
InstanceCount = 5
=> Deploy on 5 nodes of the local cluster(For this you have to start the cluster with the 5 Node mode)
InstanceCount = -1
=> Deploy on all available node on the remote cluster and need to worry about the mode.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.