服务结构:什么是EnableDefaultServicesUpgrade以及如何启用它?

时间:2019-03-07 13:23:23

标签: azure-service-fabric service-fabric-stateless

我正在尝试测试本地部署的Service Fabric,并根据我拥有的一些自定义运行状况检查来验证回滚行为。我发现很难找到有关此设置在哪里EnableDefaultServicesUpgrade的信息。它一直指的是ClusterConfig.json,但没有提及我在哪里可以找到此文件。

我必须创建它吗?

4>Start upgrading application...
4>Default service descriptions can not be modified as part of upgrade. Modified default service: fabric:/My.Application/Api. To allow the modification, set EnableDefaultServicesUpgrade to true. For more details, refer to the weblink: aka.ms/upgrade-defaultservices
4>Start-ServiceFabricApplicationUpgrade : Default service descriptions can not be modified as part of upgrade. Modified 
4>default service: fabric:/My.Application/Api. To allow the modification, set 
4>EnableDefaultServicesUpgrade to true. For more details, refer to the weblink: aka.ms/upgrade-defaultservices

最终,我的预热时间为20秒,并希望应用程序在这段时间内保持健康,然后再移至下一个升级域。我在本地有一个5节点的设置,但是我正在努力验证这种行为。

  <UpgradeDeployment Mode="Monitored" Enabled="true">
    <Parameters FailureAction="Rollback" Force="True" HealthCheckWaitDurationSec="20" HealthCheckStableDurationSec="20" />
  </UpgradeDeployment>

谢谢..

0 个答案:

没有答案