Not really what i was saying, but anyways.... If anyone stumbles upon this, i recommend a look here: https://learn.microsoft.com/en-us/answers/questions/2131004/zone-redundancy-in-azure-container-apps
Azure Container Apps - avoid downtime caused by Microsoft Maintenance
I'm using Azure Container Apps and require zero downtime.
I have configured my planned maintenance window, min replica count is 1, max is 2. Zone redundancy is enabled.
Now, i'm still experiencing downtime windows of a couple of minutes (so far, only within the configured maintenance window) and do not understand why. While the metrics say that there always was a replica available, our external monitoring system shows there is a downtime. In the container app environment system logs, i see the logs below- so it seems no node was available to handle the replica/looks like an infra issue.
AssigningReplicaFailed: "0/6 nodes are available: 1 node(s) had untolerated taint {k8se.microsoft.com/SwiftSetupOnly: true}, 1 node(s) had untolerated taint {virtual-kubelet.io/provider: legion}, 1 node(s) were unschedulable, 3 node(s) didn't match Pod's node affinity/selector."
Stopping container <redacted>
(...)
Scaling up infrastructure to accommodate replica '<redacted>'
How can the downtime be avoided?
Update: Also setting min replicas to 2 does not help.