- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
据我了解,虚拟机规模集是虚拟机的集合。每一个都可以根据配置的一时兴起而被摧毁和重建。 VM 是从某个镜像重新创建的。这种理解正确吗?
如果这是正确的,您如何修补比例集?
考虑使用 Windows 2016 创建的规模集。自创建基础镜像以来,通过更新服务提供了 50 个补丁。在负载较重期间,规模集会创建 3 个新 VM。新的虚拟机在上线之前应该加载 50 个补丁。这可能需要几个小时。这些补丁可能根本不起作用。
处理此问题的最佳做法是什么?
最佳答案
我建议从自定义镜像创建 VMSS。您可以首先部署 Windows 2016 并安装 50 个补丁,然后将其作为自定义 VM 镜像。此自定义 VM 镜像包括任何所需的应用程序安装或配置。在规模集中创建的任何 VM 实例都使用自定义 VM 镜像,并准备好为您的应用程序流量提供服务。在本教程中,您将学习如何:
- Create and customize a VM
- Deprovision and generalize the VM
- Create a custom VM image
- Deploy a scale set that uses the custom VM image
您可以使用多种方法来实现它。
Tutorial: Create and use a custom image for virtual machine scale sets with Azure PowerShell
Tutorial: Create and use a custom image for virtual machine scale sets with the Azure CLI
关于azure - 修补和更新虚拟机规模集,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56121599/
我正在尝试缩放 :before我的内容 到目前为止,悬停时会应用样式,但没有视觉变化,:before保持相同的比例。 到目前为止我得到了什么: 12 SASS(CSS): .c
我正在使用 CGAffineTransformMake 转换 View 。它可以旋转、缩放和平移。这很好用。但我无法找到一种方法将比例限制为最大尺寸。 如果超出比例,我仍然需要应用当前的旋转和平移。
我想知道当我无法访问存储它的实际硬盘时是否有办法确定我的 svn repo 的大小?我之所以这么问,是因为我们的项目托管在谷歌代码上。有 1GB 的限制。我怀疑我们是否接近它,但我真的不知道并且想密切
抱歉,我已经花了大约 5 个小时来研究这个问题,但无法弄清楚发生了什么。我正在玩 http://bl.ocks.org/mbostock 上的一些示例网站并尝试向堆积条形图添加图例。 为此,我设置了比
我正在使用这个: var response = client.Search(s => s.Query(q => q.Ids(c => c.Values(new List(tempDictionary.
我想扩展一个 wildfly 容器,该容器暴露了多个端口并具有确定性结果。 docker-compose.yml version: '3' services: wildfly-server:
我目前正在使用 Linode 来部署我的应用程序。我有 2 台服务器,1 台数据库服务器,前面有 1 个负载均衡器。 我使用Redis作为数据库和NowJS来实现聊天室。使用 Pub/Sub 一切正常
在开发过程中,我需要经常更新我的 Web 应用程序源代码并将更新后的 war 部署到远程 Tomcat 服务器。上传一场大战 (25MB) 在我的连接上花费的时间太长(大约 30 分钟),这非常低效。
我有一个在生产中需要 websocket 连接的网络服务器。我使用 docker-compose 和 nginx 作为代理来部署它。 所以我的撰写文件如下所示: version: '2' servic
我的 Web 服务是在 Grails/Gradle 中创建的,其中包含许多依赖项 jar,使得部署在 tomcat8 中的 war 规模很大。有没有什么办法可以让我的 war 使用来自不同位置的依赖项
我是一名优秀的程序员,十分优秀!