容器的Web应用程序 - 部署插槽 [英] Web apps for containers - deployment slots

查看:57
本文介绍了容器的Web应用程序 - 部署插槽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的系统作为容器的Azure Web App运行,我们使用插槽在pre-prod和prod环境之间切换,

Our system runs as a Azure Web App for containers and we use slots for switching between pre-prod and prod environment,

我们的问题是,有时候,由于未知原因,可以从我们的生产URL访问在preprod插槽中部署的任何内容。

Our issue is that sometimes, for unknown reasons whatever is deployed at the preprod slot is reachable from our production URL.

我们也会在系统发生故障时切换时看到一些可疑的行为大约20秒,我们的印象是它应该是无缝的,因为两个容器同时启动和运行。

We are also seeing some fishy behavior when switching as the system goes down for some 20 seconds, our impression is that it should be seamless as both containers are up and running at the same time.

我不确定在这里提供更多细节。

I'm not sure what more details to provide here.

推荐答案

您好Ralsing,您什么时候开始看到这个问题? 您是否有适合您的粘性设置?插槽?您应该在交换时遇到零停机时间,但由于需要一段时间,您可以在
中获取有关交换操作的信息
活动日志
。交换操作在日志查询中显示为"交换Web应用程序插槽"。您可以展开它并选择其中一个子操作或错误以查看详细信息。


Hi Ralsing, when did you start seeing this issue? Do you have sticky settings for your slot? You should experience zero down time when swapping but since its taking a while you can get information on the swap operation in the activity log. A swap operation appears in the log query as "Swap Web App Slots'. You can expand it and select one of the sub operations or errors to see the details.


这篇关于容器的Web应用程序 - 部署插槽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆