Is it possible to perform configuration changes to an Azure Web App without the application restarting?

后端 未结 2 943
长发绾君心
长发绾君心 2021-01-24 17:28

Currently when pushing updates via our CI/CD pipeline to the Azure Web Apps the nodes are being forcefully rebooted by azure once the configuration changes are completed.

<
2条回答
  •  失恋的感觉
    2021-01-24 17:51

    If downtime is your concern, it looks like MS starts up another container when you hit Save in the application settings blade, and then transfers all new requests over to the new container. The old container is given 2 min to complete all requests, and is then shut down.

    https://social.msdn.microsoft.com/Forums/azure/en-US/f15b207b-c063-46e5-b87a-2b157641c8c4/does-changing-an-app-setting-and-saving-restart-the-app?forum=windowsazurewebsitespreview

    I tested this on a Web App by repeatedly hitting an endpoint for 30 seconds while I changed an application setting and hit save. I saw the application start, but did not see any timeouts, only 200 OKs. FYI my web app only used a single slot.

提交回复
热议问题