Skip to content

Commit 06efe55

Browse files
committed
revert
1 parent 5b3deae commit 06efe55

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

tests/e2e-autoscale/autoscale/00-install.yaml

+18-18
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ kind: OpenTelemetryCollector
99
metadata:
1010
name: simplest
1111
spec:
12-
# TODO: these tests use .Spec.MaxReplicas and .Spec.MinReplicas. These fields are
13-
# deprecated and moved to .Spec.Autoscaler. Fine to use these fields to test that old CRD is
14-
# still supported but should eventually be updated.
15-
# minReplicas: 1
16-
# maxReplicas: 2
17-
# autoscaler:
18-
# behavior:
19-
# scaleUp:
20-
# stabilizationWindowSeconds: 10
21-
# scaleDown:
22-
# stabilizationWindowSeconds: 15
12+
# TODO: these tests use .Spec.MaxReplicas and .Spec.MinReplicas. These fields are
13+
# deprecated and moved to .Spec.Autoscaler. Fine to use these fields to test that old CRD is
14+
# still supported but should eventually be updated.
15+
minReplicas: 1
16+
maxReplicas: 2
17+
autoscaler:
18+
behavior:
19+
scaleUp:
20+
stabilizationWindowSeconds: 10
21+
scaleDown:
22+
stabilizationWindowSeconds: 15
2323
resources:
2424
limits:
2525
cpu: 500m
@@ -51,13 +51,13 @@ kind: OpenTelemetryCollector
5151
metadata:
5252
name: simplest-set-utilization
5353
spec:
54-
# minReplicas: 1
55-
# maxReplicas: 2
56-
# autoscaler:
57-
# targetCPUUtilization: 99
58-
# behavior:
59-
# scaleUp:
60-
# stabilizationWindowSeconds: 300
54+
minReplicas: 1
55+
maxReplicas: 2
56+
autoscaler:
57+
targetCPUUtilization: 99
58+
behavior:
59+
scaleUp:
60+
stabilizationWindowSeconds: 300
6161
resources:
6262
limits:
6363
cpu: 250m

0 commit comments

Comments
 (0)