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

Diptej 1 Reputation point Microsoft Employee
2022-03-31T19:06:00.403+00:00

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.
265 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,311 Reputation points
    2022-04-02T00:48:56.667+00:00

    @Diptej

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.