giuse-g
giuse-g

Reputation: 104

Configure Azure deployment for Service Fabric

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 InstanceCount = 5 for Local and InstanceCount = -1 for Azure environment. But I'm not sure of this.

Is that the right property to set?

Upvotes: 3

Views: 766

Answers (1)

Deepak Tatyaji Ahire
Deepak Tatyaji Ahire

Reputation: 5321

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.

Upvotes: 4

Related Questions