Service fabric increase stateless service instance without re-deployment

て烟熏妆下的殇ゞ 提交于 2019-12-08 11:48:07

问题


Is there a way to increase number of instance for stateless service on Service Fabric please? We can update the application manifest to increase the number however that will require a deployment. Is there a way to do that via Service Fabric Explorer or Powershell please?

Thank you very much Best regards


回答1:


Yes using the Update-ServiceFabricService cmdlet

Update-ServiceFabricService
  [-Stateless]
  [-ServiceName] <Uri>
  [-Correlation <String[]>]
  [-DefaultMoveCost <String>]
  [-Force]
  [-InstanceCount <Int32>]
  [-Metric <String[]>]
  [-PlacementConstraints <String>]
  [-PlacementPolicy <String[]>]
  [-TimeoutSec <Int32>]
  [-Confirm]
  [-WhatIf]
  [<CommonParameters>]

https://docs.microsoft.com/en-us/powershell/module/servicefabric/update-servicefabricservice?view=azureservicefabricps



来源:https://stackoverflow.com/questions/43763159/service-fabric-increase-stateless-service-instance-without-re-deployment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!