简体   繁体   English

Azure 应用程序网关后端设置以某种方式被覆盖。 我之前把它从 30 改成 900 现在又变回 30

[英]Azure Application Gateway backend settings is somehow being overwritten. I changed it from 30 to 900 before and now it is back to 30

In order to make my application specific tasks avoid timeout errors, inside AKS cluster, I have changed the backend settings of my azure application gateway "Request time-out (seconds)" from 30 to 900. However, it reverts back to be 30 when I check it next time.为了使我的应用程序特定任务避免超时错误,在 AKS 集群内,我将 azure 应用程序网关“请求超时(秒)”的后端设置从 30 更改为 900。但是,当它恢复为 30 时我下次检查一下。 What can we do to make this timeout setting a permanent change.我们可以做些什么来使这个超时设置成为永久性的改变。

应用程序网关后端设置

If you are using AGIC, you should control these settings from ingress annotations and not directly change it on application gateway.如果您使用的是 AGIC,您应该从入口注释中控制这些设置,而不是直接在应用程序网关上更改它。

You can use:您可以使用:

appgw.ingress.kubernetes.io/request-timeout: "900"

Reference: https://azure.github.io/application-gateway-kube.netes-ingress/annotations/#request-timeout参考: https://azure.github.io/application-gateway-kube.netes-ingress/annotations/#request-timeout

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

相关问题 Azure 应用程序网关 HTTP 设置后端端口重置为 80 - Azure Application Gateway HTTP Settings Backend Port Resets to 80 你如何停止 Azure 应用程序网关每 30 秒创建新会话 - How do you stop Azure Application Gateway creating new sessions every 30 seconds 从 azure 查询 azure 应用程序网关设置或整个 ARM 模板 - Query azure application gateway settings or whole ARM template from azure 我可以使用 Azure Even 中心主机名作为应用程序网关的后端吗? - Can I use Azure Even hub hostname as the backend of application gateway? Azure 应用程序网关未在后端池中显示来自其他 VNet 的 VM - Azure Application Gateway not showing VM from other VNet in backend pool 是否通过Azure主干网络从Azure应用程序网关到Azure Web App(应用程序服务)后端池的流量? - Is traffic from Azure Application Gateway to Azure Web App (App Service) backend pools over the Azure backbone network? Azure应用程序网关将“/ *”转发到后端池 - Azure Application Gateway forwarding “/*” to Backend Pool Azure 应用程序网关:无法连接到后端服务器 - Azure Application Gateway: Cannot connect to backend server in Azure SQL - 空闲 30 分钟后连接自动关闭 - Azure SQL - connection closes automatically after 30 minutes being idle Azure CDN会话问题后端应用程序网关 - Azure CDN session issue backend application gateway
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM