[英]Service fabric increase stateless service instance without re-deployment
Is there a way to increase number of instance for stateless service on Service Fabric please? 有没有办法增加Service Fabric上无状态服务的实例数量? 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?
有没有办法通过Service Fabric Explorer或Powershell做到这一点?
Thank you very much Best regards 非常感谢。致以最诚挚的问候
Yes using the Update-ServiceFabricService cmdlet 是的,使用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://docs.microsoft.com/zh-cn/powershell/module/servicefabric/update-servicefabricservice?view=azureservicefabricps
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.