简体   繁体   English

Azure负载平衡器-删除VM以进行部署

[英]Azure Load Balancer - Remove VM for deployment

We are using a health probe of tcp 443 on our load balancers. 我们在负载均衡器上使用了tcp 443的运行状况探测器。 Is there a way to remove a vm from the load balancer to deploy to it, or cause the health check to fail while we deploy to the server? 是否可以从负载均衡器中删除虚拟机以部署到该虚拟机,或者在我们将其部署到服务器时导致运行状况检查失败?

I think I understood your explanation, you want do some change on your VM, and don't want traffic to this VM. 我想我理解了您的解释,您想要对VM进行一些更改,并且不希望对该VM进行访问。
If I understand it correctly, we can login this VM and stop the application which listen on port 443, in this way, the health check will fail. 如果我理解正确,我们可以登录此VM并停止监听端口443的应用程序,这样,运行状况检查将失败。

Also, we can remove this VM from Azure load balancer backend pools, after configure it completed, re-add it. 另外,我们可以从Azure负载平衡器后端池中删除此VM,完成配置后,重新添加它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM