Deploy DAPR application to Azure Container Apps or AKS with automatic configuration
Deploys DAPR applications to Azure Container Apps or AKS with production-ready configuration.
/plugin marketplace add Sahib-Sawhney-WH/sahibs-claude-plugin-marketplace/plugin install dapr@sahib-claude-marketplaceDeploy your DAPR application to Azure with production-ready configuration.
When the user runs /dapr:deploy:
Select Deployment Target
Pre-Deployment Validation
Container Apps Deployment
# Create environment if needed
az containerapp env create \
--name {env-name} \
--resource-group {rg} \
--dapr-instrumentation-key {key}
# Deploy DAPR components
az containerapp env dapr-component set \
--name {env-name} \
--resource-group {rg} \
--dapr-component-name statestore \
--yaml ./components/statestore.yaml
# Deploy application
az containerapp create \
--name {app-name} \
--resource-group {rg} \
--environment {env-name} \
--image {image} \
--dapr-enabled \
--dapr-app-id {app-id} \
--dapr-app-port {port}
AKS Deployment
# Ensure DAPR is installed on cluster
dapr init -k
# Apply components
kubectl apply -f ./components/
# Deploy application
kubectl apply -f ./k8s/deployment.yaml
Post-Deployment
$ARGUMENTS - Target and options:
aca or container-apps - Deploy to Azure Container Appsaks or kubernetes - Deploy to AKS--rg {name} - Resource group name--env {name} - Container Apps environment name/dapr:deploy aca
/dapr:deploy aks --rg myapp-rg
/dapr:deploy container-apps --env production-env
az --version)az account show)For Container Apps:
For AKS:
az loginDeployment Complete!
=====================
Target: Azure Container Apps
App Name: order-service
App ID: order-service
Environment: production-env
Resource Group: myapp-rg
Endpoints:
Application: https://order-service.bluewater-123.eastus.azurecontainerapps.io
Health: https://order-service.bluewater-123.eastus.azurecontainerapps.io/health
DAPR Components:
✓ statestore (Azure Cosmos DB)
✓ pubsub (Azure Service Bus)
✓ secretstore (Azure Key Vault)
Next Steps:
- Monitor logs: az containerapp logs show -n order-service -g myapp-rg
- Scale app: az containerapp update -n order-service --min-replicas 2 --max-replicas 10
- Add custom domain: az containerapp hostname add ...