И еще - я попробовал вызвать
Start-ServiceFabricApplicationUpgrade -ApplicationName $ApplicationName -ApplicationTypeVersion $ApplicationTypeVersion -HealthCheckStableDurationSec $HealthCheckStableDurationSec -UpgradeDomainTimeoutSec $UpgradeDomainTimeoutSec -UpgradeTimeout $UpgradeTimeout -FailureAction Rollback -Monitored
Получаю
Start upgrading application...
Error starting upgrade. The default service description for 'fabric:/TrendScanner/TrendScannerWeb' was modified as part of upgrade, which is not allowed. TargetReplicaSetSize has changed from '1' to '-1'. To allow the modificat
ion, set EnableDefaultServicesUpgrade to true following
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-fabric-settings. Note, at the start of the application upgrade, there may be three descriptions
of a default service: (1) the description with which it was last created (2) the description with which it is currently running, which could diverge from (1) because of Update-ServiceFabricService API call and (3) the description
in the target manifest. This error is about the difference between the descriptions (1) and (3). For more details, refer to
https://aka.ms/upgrade-defaultservicesНадо указывать в манифесте нужного сервиса в явном виде TargetReplicaSetSize?