Deploying Dapr with Azure Container Apps
In this section, we will learn how to configure Dapr components in Azure Container Apps and how to deploy Dapr applications. These are our next steps:
- Configuring Dapr components in Azure Container Apps
- Exposing Azure Container Apps to external clients
- Observing Azure Container Apps
We start by configuring the components needed by the Dapr applications.
Configuring Dapr components in Azure Container Apps
In the components
folder, I have prepared all the components used by the Dapr applications: reservation-service
, reservationactor-service
, customization-service
, and order-service
.
Let’s observe the component in the components\component-pubsub.yaml
file, used by all microservices to communicate via the publish and subscribe (pub/sub) building block of Dapr:
name: commonpubsub type: pubsub.azure.servicebus version: v1 metadata: - name: connectionString secretRef: pubsub-servicebus-connectionstring...