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/spring-apps/basic-standard/how-to-setup-autoscale.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,20 +77,18 @@ You can also set Autoscale modes using the Azure CLI. The following commands cre
77
77
78
78
For information on the available metrics, see the [User metrics options](./concept-metrics.md#user-metrics-options) section of [Metrics for Azure Spring Apps](./concept-metrics.md).
79
79
80
-
## Set up Autoscale settings for Blue-green deployments
80
+
## Set up autoscale settings for blue-green deployments
81
81
82
-
If you have blue and green deployments of one application, follow these steps to setup autoscale settings scaling based on metrics:
82
+
Use the following steps to set metrics-based autoscale settings for a blue-green deployment rule:
83
83
84
-
1. Create separate autoscale rules for both deployments
85
-
Set up one rule for the blue deployment and another for the green deployment.
84
+
> [!IMPORTANT]
85
+
> Create separate autoscale rules for each deployment. Set up one rule for the blue deployment, and a separate rule for the green deployment.
86
86
87
-
1. Set **Deployment** dimension to one deployment only
88
-
In each rule, after selecting **App** dimension, add the **Deployment** dimension and set the value to either the blue or green deployment name, not "All values".
87
+
1. Select the **App** dimension.
88
+
1. Add the **Deployment** dimension, and set the value to either the blue or green deployment name, not **All values**.
89
+
1. Set the **Instance** dimension to **All values**. This ensures the rule applies to all instances within the selected deployment.
89
90
90
-
1. Set **Instance** dimension to "All values"
91
-
This ensures the rule applies to all instances within the selected deployment.
92
-
93
-
This setup allows each deployment scale based on its own metrics, avoiding conflicts or unexpected behavior during rollouts.
91
+
This setup allows each deployment scale to be based on its own metrics, avoiding conflicts or unexpected behavior during rollouts.
0 commit comments