Search code examples
azure-service-fabricazure-pipelines-release-pipeline

VSTS release for a Single Node Service Fabric app takes a very long time


I a have single node service fabric test environment setup in Azure. I also have a VSTS release job setup to push my apps out to to Azure.

The release job is set as follow: Upgrade the Application, Upgrade Mode = Monitor HealthCheckWaitDurationSec/HealthCheckWaitDurationSec = 0.

I stopped the upgrade after about 20 or 30 minutes minutes.

Is there anything else I can do to speed up the upgrade process?


Solution

  • You have 1 node, so there's nowhere the app can be moved to, so the upgrade will fail.

    Data loss is not an issue for a test cluster, so you can pass a low value for UpgradeReplicaSetCheckTimeoutSec to the command to inform the runtime that it can replace the service.