You are deploying a new version of a microservice to Azure Container Apps. You want to test the new version by routing 20 percent of the public HTTP traffic to it, while the remaining 80 percent continues to go to the current version. Which two configurations must you apply to the Container App to enable this traffic-splitting behavior?
- Set the active revisions mode of the Container App to Multiple.Answer
- Configure the traffic weight block in the ingress settings to specify the revision names and their respective percentages.Answer
- CEnable a system-assigned managed identity on the Container App to authorize traffic routing rules.
- DGrant the Container App's identity GET permissions on an Azure Key Vault secret containing the routing configuration.
Answer
To split traffic, the Container App's active revisions mode must be set to Multiple, and traffic weights must be configured in the ingress settings to allocate percentages to specific revisions.
Setting the active revisions mode to Multiple allows multiple versions of the container app to run simultaneously. The ingress configuration's traffic block is where weight percentages are assigned to individual revisions to split incoming traffic. Together, these configurations enable the required traffic-splitting behavior.
Step-by-Step Solution
Key Concept
Azure Container Apps Revision Modes and Ingress Traffic Splitting
Estimated Time:1m 0s