本文介绍了扩大范围时重新启动Azure App Service的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我计划在下午5点进行扩展(从2到1个实例),当它发生时,我注意到将近3分钟的停机时间.我检查了日志,结果表明剩下的单个实例是在第二个实例关闭的同时重新启动的.
I have a scheduled scale-in at 5PM (from 2 to 1 instance) and I noticed almost 3 minutes of downtime when it happened. I checked the logs and it shows that the single instance that remained was restarted the same time that the 2nd was shut down.
这应该发生吗?
推荐答案
据我所知,这不应该发生.实例都是独立的.另外,我在一边测试,从3缩放到1,它只是关闭了两个实例,而没有重新启动剩下的一个.
As far as I know, it is not supposed to happen. The instances are all independent. Also, I test it on my side, I scale from 3 to 1, it just shut down the two instances, not restart the remained one.
Kudu中的日志:
这篇关于扩大范围时重新启动Azure App Service的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!