You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once you've built the Docker image, install the Dapr extension on your AKS cluster. Before you do this, make sure you've [installed or updated the `k8s-extension`][k8s-ext].
70
+
71
+
```sh
72
+
az k8s-extension create --cluster-type managedClusters \
73
+
--cluster-name <myAKSCluster> \
74
+
--resource-group <myResourceGroup> \
75
+
--name dapr \
76
+
--extension-type Microsoft.Dapr
77
+
```
58
78
59
79
## Deploy to AKS
60
80
81
+
Run the following commands to the cluster:
82
+
83
+
- Install the Redis state store component and the sample app
export SAMPLE_APP_URL=$(k get svc/workflows-sample -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
105
+
export DAPR_URL=$(k get svc/workflows-sample-dapr -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
106
+
```
107
+
61
108
## Run the workflow
62
109
63
-
## Clean up resources
110
+
Now that the application and Dapr have been deployed to the AKS cluster, you can now start and query workflow instances. Begin by making an API call to the sample app to restock items in the inventory:
111
+
112
+
```sh
113
+
curl -X GET $SAMPLE_APP_URL/stock/restock
114
+
```
115
+
116
+
Start the workflow:
117
+
118
+
```sh
119
+
curl -i -X POST $DAPR_URL/v1.0-alpha1/workflows/dapr/OrderProcessingWorkflow/1234/start \
0 commit comments