Azure Container Apps supports versioning through revisions. Each revision represents a distinct version of your application and works similarly to deployment slots in Azure App Service. Whether you update environment variables, adjust compute settings, or deploy a new container image, every update creates a new revision. This design enables efficient tracking of changes, management of different versions, and control over which revisions handle external traffic—ideal for A/B testing or gradual feature rollouts. For example, you can update parameters such as environment variables, scaling settings, or container images using the Azure Container Apps update command.Documentation Index
Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
Use this file to discover all available pages before exploring further.

When planning updates, always consider the impact of generating new revisions on your operational workflow.
Managing Secrets
Managing secrets is essential for protecting sensitive data such as API keys and connection strings. In Azure Container Apps, secrets are defined at the application level and are accessible by all app revisions. This centralized approach enhances security by ensuring that sensitive data is not hardcoded into the application or its configuration files. When creating a Container App, you can define secrets using the--secrets parameter in the command line, ensuring that secrets are securely handled during deployment.

Configuring Revisions
To enable multiple revisions, first switch your app’s revision mode to multi-revision mode. This mode allows you to manage several revisions simultaneously by assigning labels, controlling traffic distribution, and monitoring individual replicas. For example, when using the Microsoft Azure portal, you might encounter an interface like this:
Detailed inspection may reveal configuration differences, such as a target port set to 80 and a service mesh link port set to 8080.
Updating Containers
When it comes to updating containers, you have two primary options: using thekubectl update command or the Azure CLI update command. Both methods offer various parameters that allow you to tailor your deployment. You can:
- Create a new revision
- Set a termination grace period
- Specify a new container image
- Configure scale sizes
- Add volumes
- Attach secret or service bindings

Further Revision Customizations
When creating a new revision, you can further customize various aspects of your container app, including:- Adding sidecar containers for extra processes
- Specifying a termination grace period
- Adjusting scaling options such as the minimum and maximum number of replicas




Managing Traffic Distribution
After creating new revisions, you can manage external traffic distribution between them. For example, you might allocate 50% of the traffic to a new demo revision while keeping 50% on the current active revision. This gradual rollout approach allows continuous monitoring and quick rollback if issues arise.