Skip to content

Commit df02845

Browse files
committed
acrolinx
Signed-off-by: Hannah Hunter <[email protected]>
1 parent ddbceb8 commit df02845

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/container-apps/dapr-keda-scaling.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ ms.date: 04/10/2023
1010

1111
# Scale Dapr components with KEDA scalers for Azure Container Apps
1212

13-
When scale rules are omitted on an Azure Container Apps resource, the container app is created with a default scale rule. If the resource receives no incoming traffic over a duration of five minutes, that default rule scales all replicas down to zero. This behavior can be problematic and unexpected when leveraging Dapr components, specifically pub/sub subscriptions and input bindings.
13+
When scale rules are omitted on an Azure Container Apps resource, the container app is created with a default scale rule. If the resource receives no incoming traffic over a duration of five minutes, that default rule scales all replicas down to zero. This behavior can be problematic and unexpected when applying Dapr components, specifically pub/sub subscriptions and input bindings.
1414

15-
Using KEDA scalers, you can scale your application and its Dapr sidecar when it has scaled to zero with inbound events and messages. However, configuring _both_ a Dapr component and a corresponding KEDA scaler is not intuitive.
15+
Using KEDA scalers, you can scale your application and its Dapr sidecar when it has scaled to zero with inbound events and messages. However, configuring _both_ a Dapr component and a corresponding KEDA scaler isn't intuitive.
1616

1717
todo: solution - if it's redundant or complex, then why?
1818

@@ -24,15 +24,15 @@ In this scenario:
2424

2525
Let’s look at the Bicep for:
2626
- The `checkout` and `order-processor` container apps
27-
- The Dapr Azure Serivce Bus component
27+
- The Dapr Azure Service Bus component
2828

2929
todo: need actual steps - so far it's more of a scenario concept, user isn't walking through any steps.
3030

3131
### Publisher container app
3232

33-
The `checkout` publisher is a headless services that you want to run indefinitely and never scale down to zero.
33+
The `checkout` publisher is a headless service that you want to run indefinitely and never scale down to zero.
3434

35-
Set the `minReplicas` to "1", which ensures the container app does not follow the default behavior.
35+
Set the `minReplicas` to "1", which ensures the container app doesn't follow the default behavior.
3636

3737
```bicep
3838
resource checkout 'Microsoft.App/containerApps@2022-03-01' = {
@@ -123,7 +123,7 @@ resource daprComponent 'daprComponents' = {
123123

124124
### Subscriber container app
125125

126-
In the `order-processor` subscriber, you'll add a custom scale rule on the resource for the type `azure-servicebus`. With this scale rule, KEDA can scale up the container app and its Dapr sidecar, allowing incoming messages to be processed again while order-processor is scaled to zero.
126+
In the `order-processor` subscriber, add a custom scale rule on the resource for the type `azure-servicebus`. With this scale rule, KEDA can scale up the container app and its Dapr sidecar, allowing incoming messages to be processed again while order-processor is scaled to zero.
127127

128128
```bicep
129129
resource orders 'Microsoft.App/containerApps@2022-03-01' = {

0 commit comments

Comments
 (0)