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
Copy file name to clipboardExpand all lines: articles/container-apps/tutorial-scaling.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ az containerapp up `
74
74
75
75
By setting `--ingress` to `external`, you make the container app available to public requests.
76
76
77
-
The `up` command returns the fully qualified domain name (FQDN) for the container app. Copy this FQDN to a text file. You'll use it in the [Send requests](#send-requests) section. Your FQDN looks like the following example:
77
+
The `up` command returns the fully qualified domain name (FQDN) for the container app. Copy this FQDN to a text file. You use it in the [Send requests](#send-requests) section. Your FQDN looks like the following example:
@@ -275,7 +275,7 @@ In the first shell, where you ran the `az containerapp logs show` command, the o
275
275
276
276
:::image type="content" source="media/scale-app/azure-container-apps-scale-replicas.png" alt-text="Screenshot of container app replicas.":::
277
277
278
-
You may need to select **Refresh** to see the new replicas.
278
+
You might need to select **Refresh** to see the new replicas.
279
279
280
280
1. In the navigation bar at the left, expand **Monitoring** and select **Metrics**.
281
281
1. In the *Metrics* page, set **Metric** to **Requests**.
@@ -308,7 +308,7 @@ After you send requests to your scale app, it might take a minute before the sca
308
308
309
309
CPU scaling allows your app to scale in or out depending on how much the CPU is being used.
310
310
311
-
For example, if you create a CPU scale rule with a utilization value of `50`, Azure Container Apps creates additional replicas of your container app when the average CPU utilization for all replicas reaches 50%.
311
+
For example, if you create a CPU scale rule with a utilization value of `50`, Azure Container Apps creates more replicas of your container app when the average CPU utilization for all replicas reaches 50%.
312
312
313
313
CPU scaling doesn't allow your container app to scale to zero. For more information about this trigger, see [KEDA CPU scale trigger](https://keda.sh/docs/scalers/cpu/).
314
314
@@ -317,7 +317,7 @@ Add a CPU scale rule to your container app by running the `az containerapp updat
317
317
> [!NOTE]
318
318
> When you use the Azure CLI to add a scale rule to a container app that already has a scale rule, the new scale rule replaces the old scale rule. To see how to add multiple scale rules, see [Multiple scale rules](#multiple-scale-rules).
319
319
320
-
Before running the following command, replace the `<PLACEHOLDERS>` with your values. For this tutorial, replace `<UTILIZATION>` with `1`. This causes your container app to scale when the average CPU utilization for all replicas reaches 1%. This value is for the purpose of demonstration only. The number of replicas is limited to 10 by the `--max-replicas 10` you specified when running `az containerapp update`.
320
+
Before running the following command, replace the `<PLACEHOLDERS>` with your values. For this tutorial, replace `<UTILIZATION>` with `1`. This causes your container app to scale when the average CPU utilization for all replicas reaches 1%. This value is for demonstration only. The number of replicas is limited to 10 by the `--max-replicas 10` you specified when running `az containerapp update`.
321
321
322
322
# [Bash](#tab/bash)
323
323
@@ -351,7 +351,7 @@ az containerapp update `
351
351
352
352
Memory scaling allows your app to scale in or out depending on how much memory is being used.
353
353
354
-
For example, if you create a memory scale rule with a utilization value of `50`, Azure Container Apps creates additional replicas of your container app when the average memory utilization for all replicas reaches 50%.
354
+
For example, if you create a memory scale rule with a utilization value of `50`, Azure Container Apps creates more replicas of your container app when the average memory utilization for all replicas reaches 50%.
355
355
356
356
Memory scaling doesn't allow your container app to scale to zero. For more information about this trigger, see [KEDA memory scale trigger](https://keda.sh/docs/scalers/memory/).
357
357
@@ -360,7 +360,7 @@ Add a memory scale rule to your container app by running the `az containerapp up
360
360
> [!NOTE]
361
361
> When you use the Azure CLI to add a scale rule to a container app that already has a scale rule, the new scale rule replaces the old scale rule. To see how to add multiple scale rules, see [Multiple scale rules](#multiple-scale-rules).
362
362
363
-
Before running the following command, replace the `<PLACEHOLDERS>` with your values. For this tutorial, replace `<UTILIZATION>` with `1`. This causes your container app to scale when the average memory utilization for all replicas reaches 1%. This value is for the purpose of demonstration only. The number of replicas is limited to 10 by the `--max-replicas 10` you specified when running `az containerapp update`.
363
+
Before running the following command, replace the `<PLACEHOLDERS>` with your values. For this tutorial, replace `<UTILIZATION>` with `1`. This causes your container app to scale when the average memory utilization for all replicas reaches 1%. This value is for demonstration only. The number of replicas is limited to 10 by the `--max-replicas 10` you specified when running `az containerapp update`.
364
364
365
365
# [Bash](#tab/bash)
366
366
@@ -416,7 +416,7 @@ To add multiple scale rules to your container app using the Azure CLI, you must
416
416
417
417
---
418
418
419
-
1. In the `properties` > `template` > `scale` > `rules` section of `app.yaml`, add the following. Replace the `<PLACEHOLDERS>` with your values.
419
+
1. In the `properties` > `template` > `scale` > `rules` section of `app.yaml`, add the following properties. Replace the `<PLACEHOLDERS>` with your values.
420
420
421
421
```yaml
422
422
...
@@ -469,7 +469,7 @@ To add multiple scale rules to your container app using the Azure CLI, you must
469
469
If you're not going to continue to use this application, run the following command to delete the resource group along with all the resources created in this tutorial.
470
470
471
471
>[!CAUTION]
472
-
> The following command deletes the specified resource group and all resources contained within it. If resources outside the scope of this tutorial exist in the specified resource group, they will also be deleted.
472
+
> The following command deletes the specified resource group and all resources contained within it. If resources outside the scope of this tutorial exist in the specified resource group, they'll also be deleted.
0 commit comments