Azure Service Fabric 部署 - 该区域没有虚拟机来为您的请求提供服务

Azure Service Fabric deployment - A Virtual Machine is not available in the region to service your Request

我们在 VSTS 发布页面中收到以下警告,完成部署需要一个多小时。解决方法应该是什么?

A Virtual Machine is not available in West Europe to service your Request right now, your Request is being assigned to a Virtual Machine in Central US. You may experience slower execution than normal during certain phases of your Build or Release. For example, downloading source code or build artifacts may be slower than usual during this Request.

考虑创建一个或多个虚拟机(例如 B-series):

  • 安装 Agent(配置为 运行 作为服务或守护进程)
  • 添加先决条件(.NET Fx/dotnet core、SF SDK)
  • 配置备份
  • 从您的管道中使用它。

这样您的构建和发布速度就会更快。