Explain it simpler
Every time you change what is inside a container app, such as the image or its settings, Azure Container Apps saves a new numbered version called a revision. Old revisions stay on the shelf, so you can go back. In the normal mode, only the newest revision runs, and it takes over as soon as it is healthy. In multiple revision mode, several versions can run at once and you decide how visitors are shared between them, for example 90 out of 100 to the old one and 10 to the new one. A label is like a name tag, such as 'green', that you stick on one version so testers always have the same web address to visit it.
Amara leads the search team at Willowbrook Travel, and the new ranking model is ready. The product owner wants it shown to one in ten visitors first, with the rest staying on the current version, so the team can compare bookings for a day. QA wants a fixed web address where they can always reach the new version, even when it gets no public traffic. And operations wants a one-command way back if error rates jump. Last time someone deployed a new image, every user switched over at once. Amara deploys the new image again, and this time nothing changes for anyone. Was the deployment lost, or is there a setting she has not used yet?
A revision is an immutable snapshot of a container app's version, and understanding what creates one is the foundation of this topic. Each time you change a revision-scope setting, Container Apps creates a new revision with a generated name such as orders--abc123, or with a suffix you choose such as orders--v2. Revision-scope changes are anything under the app's template section: the container image, environment variables, CPU and memory, scale rules and health probes. Application-scope changes, such as ingress settings, secret values and registry credentials, apply to all revisions at once and do not create a new revision. If a question asks why changing a secret did not produce a new revision, this is the reason.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.