#Zero downtime with container using a single Web app

1 messages · Page 1 of 1 (latest)

hard holly
#

Hi, I'm currently having an issue that a system allocated in a web app (using container registry), needs to have a zero downtime on production. Since this, I was trying to use slots for it, but without success.

Do anyone have an idea ?

daring ivy
#

please explain more about the issue you are seeing, along with any error messages

hard holly
#

So, i made a CD/CI pipeline to when any PR approved, it will generate a container image and send it to my azure container registry. So, whenever i have something new, my web app will pull the new image from the container registry and make it online. But when it push the image, the application stops for 3 mins and then it returns with the update made. I'm trying something to make it zero downtime

#

Already tried slots but it doesn't swap automatically for the new version, because it is a container image, not a repository

mortal harbor
#

It maybe you need to warm up slot before hand. We have found need to do that. So in ado pipeline that does the swap we we use powershell to invoke-web request the url of non-active slots. Then do the swap.