Skip to content

Commit c3ce700

Browse files
authored
Promote metric settings in compute region autoscaler to GA (#10045)
1 parent 14a4129 commit c3ce700

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

mmv1/products/compute/RegionAutoscaler.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ properties:
140140
Defines operating mode for this policy.
141141
- !ruby/object:Api::Type::NestedObject
142142
name: 'scaleDownControl'
143-
min_version: beta
144143
description: |
145144
Defines scale down controls to reduce the risk of response latency
146145
and outages due to abrupt scale-in events
@@ -265,7 +264,6 @@ properties:
265264
required: true
266265
- !ruby/object:Api::Type::Double
267266
name: 'singleInstanceAssignment'
268-
min_version: beta
269267
description: |
270268
If scaling is based on a per-group metric value that represents the
271269
total amount of work to be done or resource usage, set this value to
@@ -341,7 +339,6 @@ properties:
341339
(if you are using gce_instance resource type). If multiple
342340
TimeSeries are returned upon the query execution, the autoscaler
343341
will sum their respective values to obtain its scaling value.
344-
min_version: beta
345342
- !ruby/object:Api::Type::NestedObject
346343
name: 'loadBalancingUtilization'
347344
description: |

mmv1/third_party/terraform/services/compute/resource_compute_region_autoscaler_test.go.erb

-4
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,12 @@ resource "google_compute_region_autoscaler" "foobar" {
217217
target = 0.5
218218
predictive_method = "OPTIMIZE_AVAILABILITY"
219219
}
220-
<% unless version == 'ga' -%>
221220
scale_down_control {
222221
max_scaled_down_replicas {
223222
percent = 80
224223
}
225224
time_window_sec = 300
226225
}
227-
<% end -%>
228226
}
229227
}
230228
`, autoscalerName)
@@ -269,14 +267,12 @@ resource "google_compute_region_autoscaler" "foobar" {
269267
cpu_utilization {
270268
target = 0.5
271269
}
272-
<% unless version == 'ga' -%>
273270
scale_down_control {
274271
max_scaled_down_replicas {
275272
percent = 80
276273
}
277274
time_window_sec = 300
278275
}
279-
<% end -%>
280276
scaling_schedules {
281277
name = "every-weekday-morning"
282278
description = "Increase to 2 every weekday at 7AM for 6 hours."

0 commit comments

Comments
 (0)