以编程方式停止 Azure Service Fabric 服务

Programmatically stop Azure Service Fabric service

我们在 ASF 集群中有多项服务 运行。是否可以通过编程方式跨所有节点在 ASF 集群中获取 pause/stop/restart 服务?

目前您无法在 Service Fabric 中停止 'service'。您只能将其删除。但是您可以在集群中 start/stop、enable/disable 个节点。

Azure 反馈论坛中有一项增强请求,要求提供服务 start/stop 功能。投票并等待它实施。

https://feedback.azure.com/forums/293901-service-fabric/suggestions/13714473-ability-to-stop-disable-services-without-removing