Skip to content

Commit 6032be6

Browse files
Merge pull request #273079 from v-jaswel/aca/v-jaswel_work_item_215597
[ACA] Update scale-app.md per work item 215597
2 parents 7bfe73a + b9a8d2c commit 6032be6

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

articles/container-apps/scale-app.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,35 +15,33 @@ zone_pivot_groups: arm-azure-cli-portal
1515

1616
Azure Container Apps manages automatic horizontal scaling through a set of declarative scaling rules. As a container app revision scales out, new instances of the revision are created on-demand. These instances are known as replicas.
1717

18-
Adding or editing scaling rules creates a new revision of your container app. A revision is an immutable snapshot of your container app. See revision [change types](./revisions.md#change-types) to review which types of changes trigger a new revision.
18+
Adding or editing scaling rules creates a new revision of your container app. A revision is an immutable snapshot of your container app. To learn which types of changes trigger a new revision, see revision [change types](./revisions.md#change-types).
1919

2020
[Event-driven Container Apps jobs](jobs.md#event-driven-jobs) use scaling rules to trigger executions based on events.
2121

2222
## Scale definition
2323

24-
Scaling is defined by the combination of limits, rules, and behavior.
24+
Scaling is the combination of limits, rules, and behavior.
2525

26-
- **Limits** are the minimum and maximum possible number of replicas per revision as your container app scales.
26+
- **Limits** define the minimum and maximum possible number of replicas per revision as your container app scales.
2727

2828
| Scale limit | Default value | Min value | Max value |
2929
|---|---|---|---|
3030
| Minimum number of replicas per revision | 0 | 0 | Maximum replicas configurable are 300 in Azure portal and 1,000 in Azure CLI. |
3131
| Maximum number of replicas per revision | 10 | 1 | Maximum replicas configurable are 300 in Azure portal and 1,000 in Azure CLI. |
3232

33-
For more information see [Quotas for Azure Container Apps](quotas.md).
34-
3533
- **Rules** are the criteria used by Container Apps to decide when to add or remove replicas.
3634

37-
[Scale rules](#scale-rules) are implemented as HTTP, TCP, or custom.
35+
[Scale rules](#scale-rules) are implemented as HTTP, TCP (Transmission Control Protocol), or custom.
3836

39-
- **Behavior** is how the rules and limits are combined together to determine scale decisions over time.
37+
- **Behavior** is the combination of rules and limits to determine scale decisions over time.
4038

41-
[Scale behavior](#scale-behavior) explains how scale decisions are calculated.
39+
[Scale behavior](#scale-behavior) explains how scale decisions are made.
4240

43-
As you define your scaling rules, keep in mind the following items:
41+
As you define your scaling rules, it's important to consider the following items:
4442

4543
- You aren't billed usage charges if your container app scales to zero.
46-
- Replicas that aren't processing, but remain in memory may be billed at a lower "idle" rate. For more information, see [Billing](./billing.md).
44+
- Replicas that aren't processing, but remain in memory might be billed at a lower "idle" rate. For more information, see [Billing](./billing.md).
4745
- If you want to ensure that an instance of your revision is always running, set the minimum number of replicas to 1 or higher.
4846

4947
## Scale rules
@@ -169,7 +167,7 @@ The `tcp` section defines a TCP scale rule.
169167

170168
| Scale property | Description | Default value | Min value | Max value |
171169
|---|---|---|---|---|
172-
| `concurrentConnections`| When the number of concurrent TCP connections exceeds this value, then another replica is added. Replicas will continue to be added up to the `maxReplicas` amount as the number of concurrent connections increase. | 10 | 1 | n/a |
170+
| `concurrentConnections`| When the number of concurrent TCP connections exceeds this value, then another replica is added. Replicas continue to be added up to the `maxReplicas` amount as the number of concurrent connections increase. | 10 | 1 | n/a |
173171

174172
```json
175173
{
@@ -206,7 +204,7 @@ Define a TCP scale rule using the `--scale-rule-tcp-concurrency` parameter in th
206204

207205
| CLI parameter | Description | Default value | Min value | Max value |
208206
|---|---|---|---|---|
209-
| `--scale-rule-tcp-concurrency`| When the number of concurrent TCP connections exceeds this value, then another replica is added. Replicas will continue to be added up to the `max-replicas` amount as the number of concurrent connections increase. | 10 | 1 | n/a |
207+
| `--scale-rule-tcp-concurrency`| When the number of concurrent TCP connections exceeds this value, then another replica is added. Replicas continue to be added up to the `max-replicas` amount as the number of concurrent connections increase. | 10 | 1 | n/a |
210208

211209
```azurecli-interactive
212210
az containerapp create \
@@ -298,7 +296,7 @@ The following procedure shows you how to convert a KEDA scaler to a Container Ap
298296

299297
Refer to this excerpt for context on how the below examples fit in the ARM template.
300298

301-
First, you'll define the type and metadata of the scale rule.
299+
First, you define the type and metadata of the scale rule.
302300

303301
1. From the KEDA scaler specification, find the `type` value.
304302

@@ -318,7 +316,7 @@ First, you'll define the type and metadata of the scale rule.
318316

319317
### Authentication
320318

321-
A KEDA scaler may support using secrets in a [TriggerAuthentication](https://keda.sh/docs/latest/concepts/authentication/) that is referenced by the `authenticationRef` property. You can map the TriggerAuthentication object to the Container Apps scale rule.
319+
A KEDA scaler supports using secrets in a [TriggerAuthentication](https://keda.sh/docs/latest/concepts/authentication/) that is referenced by the `authenticationRef` property. You can map the TriggerAuthentication object to the Container Apps scale rule.
322320

323321
> [!NOTE]
324322
> Container Apps scale rules only support secret references. Other authentication types such as pod identity are not supported.
@@ -361,13 +359,13 @@ A KEDA scaler may support using secrets in a [TriggerAuthentication](https://ked
361359

362360
1. In the CLI command, set the `--scale-rule-metadata` parameter to the metadata values.
363361

364-
You'll need to transform the values from a YAML format to a key/value pair for use on the command line. Separate each key/value pair with a space.
362+
You need to transform the values from a YAML format to a key/value pair for use on the command line. Separate each key/value pair with a space.
365363

366364
:::code language="bash" source="~/azure-docs-snippets-pr/container-apps/container-apps-azure-service-bus-cli.bash" highlight="11,12,13":::
367365

368366
### Authentication
369367

370-
A KEDA scaler may support using secrets in a [TriggerAuthentication](https://keda.sh/docs/latest/concepts/authentication/) that is referenced by the authenticationRef property. You can map the TriggerAuthentication object to the Container Apps scale rule.
368+
A KEDA scaler supports using secrets in a [TriggerAuthentication](https://keda.sh/docs/latest/concepts/authentication/) that is referenced by the authenticationRef property. You can map the TriggerAuthentication object to the Container Apps scale rule.
371369

372370
> [!NOTE]
373371
> Container Apps scale rules only support secret references. Other authentication types such as pod identity are not supported.
@@ -422,7 +420,7 @@ A KEDA scaler may support using secrets in a [TriggerAuthentication](https://ked
422420

423421
### Authentication
424422

425-
A KEDA scaler may support using secrets in a [TriggerAuthentication](https://keda.sh/docs/latest/concepts/authentication/) that is referenced by the authenticationRef property. You can map the TriggerAuthentication object to the Container Apps scale rule.
423+
A KEDA scaler supports using secrets in a [TriggerAuthentication](https://keda.sh/docs/latest/concepts/authentication/) that is referenced by the authenticationRef property. You can map the TriggerAuthentication object to the Container Apps scale rule.
426424

427425
> [!NOTE]
428426
> Container Apps scale rules only support secret references. Other authentication types such as pod identity are not supported.
@@ -492,7 +490,7 @@ For the following scale rule:
492490
]
493491
```
494492

495-
Starting with an empty queue, KEDA takes the following steps in a scale up scenario:
493+
As your app scales out, KEDA starts with an empty queue and performs the following steps:
496494

497495
1. Check `my-queue` every 30 seconds.
498496
1. If the queue length equals 0, go back to (1).

0 commit comments

Comments
 (0)