Is it possible to disable some service from deploying in a service fabric application?

Diptej 1 Reputation point Microsoft Employee

I want to disable some services from deploying in a region where those services are not needed but I couldn't find anything about this in the documentation.

I'm trying not to add any code changes to disable/not process in runtime.

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
237 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 22,736 Reputation points Microsoft Employee


    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Based on your ask, looks like you don't want to deploy some services in a specific SF cluster. Please let me know if I am missing anything here.

    However, if this is your ask, it is completely dependent on you which service/application you want to deploy and which you don't want to in SF cluster. If you don't want to deploy any service, you can remove it from you tools like Devops, visual studio , etc. and it won't get deployed.

    Also regarding region specific, then Service Fabric cluster gets created in a specific region and VMSS comes handy for that, so all your apps/services will be specific to a region where SF cluster/VMSS are present.

    Hope that helps.
    Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.