How to Implement Blue/Green Deployment for 200 Azure Container Apps with TCP Ingress?
Asked by
gasket.06
I'm currently managing 200 Azure Container Apps and need to set up a Blue/Green deployment strategy. My main challenge is that all 200 apps utilize TCP ingress, but Azure Container Apps doesn't allow traffic splitting or revision labels when TCP is used. I'm looking for ways to ensure a safe, no-downtime deployment for these TCP-based services without the built-in labels. Any advice or alternative strategies would be greatly appreciated!
Answers
It seems like you'll have to get creative since TCP doesn't support the typical label-based traffic splitting. Have you thought about using Terraform or YAML configurations to create a workaround for your deployments?
Reply to this answer
Have you considered using health probes? If you're running single revisions, you can set up a health probe to fail the new revision if it doesn't meet the criteria. This way, it won't receive any traffic until it's healthy.
Reply to this answer
You might want to check if there's any update in Azure's documentation regarding TCP support. Some people say that traffic splitting is not supported for TCP, but always good to confirm on Azure's own pages for the latest.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions